From f868664f7e7626f651e6ade9c9f6863851ef43b7 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Wed, 06 Nov 2019 23:12:57 -0500
Subject: [PATCH] Dangerous "reset".

---
 Object3D.java |   14 ++++++++------
 1 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/Object3D.java b/Object3D.java
index 54f9cd8..f3f692a 100644
--- a/Object3D.java
+++ b/Object3D.java
@@ -5711,8 +5711,9 @@
     {
     }
 //    transient int displaylist = 0; // -1;
-    transient boolean touched = true;
-    transient boolean softtouched = true;
+    transient boolean reset = false; // Recalculate
+    transient boolean touched = true; // call list only
+    transient boolean softtouched = true; // aucune idee
 
     void Touch()
     {
@@ -5765,6 +5766,7 @@
     {
         //System.out.println("HardTouch " + this); // new Exception().printStackTrace();
         //new Exception().printStackTrace();
+        reset = true;
         touched = true;
         CameraPane.touched = true;
     //if (parent != null)
@@ -6624,7 +6626,7 @@
                     }
                 }
                 
-                assert (!(this instanceof Composite));
+        // Bezier surface:        assert (!(this instanceof Composite));
                 {
 // CRASH MOCAP!!                   for (int i = 0; i < size(); i++)
 //                    {
@@ -6905,11 +6907,11 @@
 
             if (display.DrawMode() == iCameraPane.SELECTION && dontselect)
                 return;
-
-            if (hide)
-                return;
         }
         
+        if (hide)
+            return;
+            
         if (scriptnode != null)
         {
             scriptnode.DrawNode(display, root, selected);

--
Gitblit v1.6.2