Normand Briere
2019-06-24 c67da2e5d8655704601d6d06e8bc60aabe212253
Mocap.java
....@@ -644,6 +644,24 @@
644644 // transient // aout 2013
645645 Object3D skeleton;
646646
647
+ void ExtractBigData(Object3D o)
648
+ {
649
+ super.ExtractBigData(o);
650
+
651
+ o.bvh = this.bvh;
652
+ o.skeleton = this.skeleton;
653
+ this.bvh = null;
654
+ this.skeleton = null;
655
+ }
656
+
657
+ void RestoreBigData(Object3D o)
658
+ {
659
+ super.RestoreBigData(o);
660
+
661
+ this.bvh = o.bvh;
662
+ this.skeleton = o.skeleton;
663
+ }
664
+
647665 boolean smoothed;
648666
649667 //boolean touched;
....@@ -3897,7 +3915,7 @@
38973915 // return;
38983916
38993917 if (//!restarted && /*display.restartframe &&*/
3900
- Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW))
3918
+ Globals.isLIVE() && live && (display.DrawMode() == iCameraPane.SHADOW || !Globals.RENDERSHADOW || !Globals.COMPUTESHADOWWHENLIVE))
39013919 {
39023920 //display.restartframe = false;
39033921 restarted = true;