From a69bb4474a3264a9a7a7f8b8d8154ea771f167c8 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Fri, 28 Jun 2019 23:44:22 -0400 Subject: [PATCH] Fix ungroup. --- 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