From a5580a47d246c1272b10adba68070f6e13da5e41 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Tue, 16 Jul 2019 21:08:38 -0400
Subject: [PATCH] Replace/restore buttons.

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

diff --git a/Object3D.java b/Object3D.java
index 750acd4..b3a45b6 100644
--- a/Object3D.java
+++ b/Object3D.java
@@ -29,6 +29,9 @@
     Object3D saveskeleton;
     //
     
+    byte[] versions[] = new byte[100][];
+    int versionindex = -1;    
+        
     ScriptNode scriptnode;
 
         void InitOthers()
@@ -215,6 +218,7 @@
 //            o.transientrep = this.bRep.support;
 //            o.bRep.support = null;
 //        }
+        o.selection = this.selection;
         
         if (this.support != null)
         {
@@ -268,6 +272,8 @@
         {
             this.support.bRep = o.transientrep;
         }
+        
+        this.selection = o.selection;
 // July 2019        if (this.bRep != null)
 //            this.bRep.support = o.transientrep;
     //    this.support = o.support;

--
Gitblit v1.6.2