From b3ae4e889872ca0b9ca76f1d17b2f0b961226729 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 05 Aug 2019 21:48:55 -0400 Subject: [PATCH] Fix physics UI --- Mocap.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/Mocap.java b/Mocap.java index 438e46a..aa11165 100644 --- a/Mocap.java +++ b/Mocap.java @@ -261,6 +261,8 @@ // LA.matConcat(toParent, hip.get(0).toParent, toParent); + CameraPane.CreateSelectedPoint(); + CameraPane.debugpointG.toParent[3][0] = poship.x; CameraPane.debugpointG.toParent[3][1] = poship.y; CameraPane.debugpointG.toParent[3][2] = poship.z; @@ -501,6 +503,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; @@ -648,8 +651,8 @@ { super.ExtractBigData(o); - o.bvh = this.bvh; - o.skeleton = this.skeleton; + o.savebvh = this.bvh; + o.saveskeleton = this.skeleton; this.bvh = null; this.skeleton = null; } @@ -658,8 +661,8 @@ { super.RestoreBigData(o); - this.bvh = o.bvh; - this.skeleton = o.skeleton; + this.bvh = o.savebvh; + this.skeleton = o.saveskeleton; } boolean smoothed; -- Gitblit v1.6.2