From 475f8cbdbd96fdbf8f5b216ffebb31a51f25c2f9 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Mon, 29 Jul 2019 20:08:48 -0400
Subject: [PATCH] Save skybox.

---
 Object3D.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/Object3D.java b/Object3D.java
index 95b3484..1e36e28 100644
--- a/Object3D.java
+++ b/Object3D.java
@@ -29,6 +29,9 @@
     Object3D saveskeleton;
     //
     
+    String skyboxname;
+    String skyboxext;
+    
     byte[] versions[];
     int versionindex = -1;    
         
@@ -5907,7 +5910,7 @@
             support = support;
         
         //boolean usecalllists = IsStatic() && GetBRep() != null && (!CameraPane.SUPPORT || support == null || !link2master); // !(this instanceof cSpring) && !(this instanceof BezierPatch);
-        boolean usecalllists = !IsLive(); // IsStatic() && GetBRep() != null && (!CameraPane.SUPPORT || support == null) && !link2master; // !(this instanceof cSpring) && !(this instanceof BezierPatch);
+        boolean usecalllists = false; //!IsLive(); // IsStatic() && GetBRep() != null && (!CameraPane.SUPPORT || support == null) && !link2master; // !(this instanceof cSpring) && !(this instanceof BezierPatch);
         
         if (!usecalllists && bRep != null && bRep.displaylist > 0)
         {

--
Gitblit v1.6.2