Normand Briere
2019-07-21 5a546232b84ce65d8779d29e9171e7e2df013614
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;
....@@ -643,6 +646,24 @@
643646
644647 // transient // aout 2013
645648 Object3D skeleton;
649
+
650
+ void ExtractBigData(Object3D o)
651
+ {
652
+ super.ExtractBigData(o);
653
+
654
+ o.savebvh = this.bvh;
655
+ o.saveskeleton = this.skeleton;
656
+ this.bvh = null;
657
+ this.skeleton = null;
658
+ }
659
+
660
+ void RestoreBigData(Object3D o)
661
+ {
662
+ super.RestoreBigData(o);
663
+
664
+ this.bvh = o.savebvh;
665
+ this.skeleton = o.saveskeleton;
666
+ }
646667
647668 boolean smoothed;
648669
....@@ -3897,7 +3918,7 @@
38973918 // return;
38983919
38993920 if (//!restarted && /*display.restartframe &&*/
3900
- Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW))
3921
+ Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE))
39013922 {
39023923 //display.restartframe = false;
39033924 restarted = true;