From c99d954f5e2bffa601c599142371cfeb45630f40 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Thu, 01 Aug 2019 00:11:39 -0400 Subject: [PATCH] Hue UI. --- Object3D.java | 13 ++++++++----- 1 files changed, 8 insertions(+), 5 deletions(-) diff --git a/Object3D.java b/Object3D.java index 95b3484..c74c81c 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) { @@ -7490,7 +7493,7 @@ hitSomething = hitScale; double scale = 0.005f * clickInfo.camera.Distance(); - double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32; + double hScale = (double) (clickInfo.x - centerPt.x) / 32; double sign = 1; if (hScale < 0) { @@ -7502,7 +7505,7 @@ //hScale = 0.01; } - double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32; + double vScale = (double) (clickInfo.y - centerPt.y) / 32; sign = 1; if (vScale < 0) { @@ -7717,7 +7720,7 @@ break; case hitScale: // scale - double hScale = (double) (clickInfo.x /*- centerPt.x*/) / 32; + double hScale = (double) (clickInfo.x - centerPt.x) / 32; double sign = 1; if (hScale < 0) { @@ -7729,7 +7732,7 @@ //hScale = 0.01; } - double vScale = (double) (clickInfo.y /*- centerPt.y*/) / 32; + double vScale = (double) (clickInfo.y - centerPt.y) / 32; sign = 1; if (vScale < 0) { -- Gitblit v1.6.2