Normand Briere
2019-06-27 1807e7752960ac229cddd34b100e92cadbac9459
Mocap.java
....@@ -501,6 +501,7 @@
501501 centroid.z = matrix[3][2];
502502 // this.getCentroid(centroid, true);
503503
504
+ CameraPane.CreateSelectedPoint();
504505 CameraPane.debugpointG.name = "";
505506 CameraPane.debugpointG.toParent[3][0] = mocaporigin.x;
506507 CameraPane.debugpointG.toParent[3][1] = mocaporigin.y;
....@@ -643,6 +644,24 @@
643644
644645 // transient // aout 2013
645646 Object3D skeleton;
647
+
648
+ void ExtractBigData(Object3D o)
649
+ {
650
+ super.ExtractBigData(o);
651
+
652
+ o.bvh = this.bvh;
653
+ o.skeleton = this.skeleton;
654
+ this.bvh = null;
655
+ this.skeleton = null;
656
+ }
657
+
658
+ void RestoreBigData(Object3D o)
659
+ {
660
+ super.RestoreBigData(o);
661
+
662
+ this.bvh = o.bvh;
663
+ this.skeleton = o.skeleton;
664
+ }
646665
647666 boolean smoothed;
648667
....@@ -3897,7 +3916,7 @@
38973916 // return;
38983917
38993918 if (//!restarted && /*display.restartframe &&*/
3900
- Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW))
3919
+ Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE))
39013920 {
39023921 //display.restartframe = false;
39033922 restarted = true;