From 26b24f5b623e709a88e91e9bce0864f9d5e8f084 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 24 Jun 2019 23:09:17 -0400 Subject: [PATCH] Fix full screen layout --- Mocap.java | 21 ++++++++++++++++++++- 1 files changed, 20 insertions(+), 1 deletions(-) diff --git a/Mocap.java b/Mocap.java index 246c834..545c82e 100644 --- a/Mocap.java +++ b/Mocap.java @@ -501,6 +501,7 @@ centroid.z = matrix[3][2]; // this.getCentroid(centroid, true); + CameraPane.CreateSelectedPoint(); CameraPane.debugpointG.name = ""; CameraPane.debugpointG.toParent[3][0] = mocaporigin.x; CameraPane.debugpointG.toParent[3][1] = mocaporigin.y; @@ -643,6 +644,24 @@ // transient // aout 2013 Object3D skeleton; + + void ExtractBigData(Object3D o) + { + super.ExtractBigData(o); + + o.bvh = this.bvh; + o.skeleton = this.skeleton; + this.bvh = null; + this.skeleton = null; + } + + void RestoreBigData(Object3D o) + { + super.RestoreBigData(o); + + this.bvh = o.bvh; + this.skeleton = o.skeleton; + } boolean smoothed; @@ -3897,7 +3916,7 @@ // return; if (//!restarted && /*display.restartframe &&*/ - Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW)) + Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE)) { //display.restartframe = false; restarted = true; -- Gitblit v1.6.2