Normand Briere
2019-07-18 d7a17c35c443e2cb6c09eaa3cfeaf590a571faa1
Mocap.java
....@@ -261,6 +261,8 @@
261261
262262 // LA.matConcat(toParent, hip.get(0).toParent, toParent);
263263
264
+ CameraPane.CreateSelectedPoint();
265
+
264266 CameraPane.debugpointG.toParent[3][0] = poship.x;
265267 CameraPane.debugpointG.toParent[3][1] = poship.y;
266268 CameraPane.debugpointG.toParent[3][2] = poship.z;
....@@ -501,6 +503,7 @@
501503 centroid.z = matrix[3][2];
502504 // this.getCentroid(centroid, true);
503505
506
+ CameraPane.CreateSelectedPoint();
504507 CameraPane.debugpointG.name = "";
505508 CameraPane.debugpointG.toParent[3][0] = mocaporigin.x;
506509 CameraPane.debugpointG.toParent[3][1] = mocaporigin.y;
....@@ -648,8 +651,8 @@
648651 {
649652 super.ExtractBigData(o);
650653
651
- o.bvh = this.bvh;
652
- o.skeleton = this.skeleton;
654
+ o.savebvh = this.bvh;
655
+ o.saveskeleton = this.skeleton;
653656 this.bvh = null;
654657 this.skeleton = null;
655658 }
....@@ -658,8 +661,8 @@
658661 {
659662 super.RestoreBigData(o);
660663
661
- this.bvh = o.bvh;
662
- this.skeleton = o.skeleton;
664
+ this.bvh = o.savebvh;
665
+ this.skeleton = o.saveskeleton;
663666 }
664667
665668 boolean smoothed;
....@@ -3915,7 +3918,7 @@
39153918 // return;
39163919
39173920 if (//!restarted && /*display.restartframe &&*/
3918
- Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW))
3921
+ Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE))
39193922 {
39203923 //display.restartframe = false;
39213924 restarted = true;