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 |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/Mocap.java b/Mocap.java
index 545c82e..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;        
@@ -649,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;
     }
@@ -659,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