From cbe4e90105d07d7d3fecabffaa01342403aa2ae3 Mon Sep 17 00:00:00 2001
From: Normand Briere <nbriere@noware.ca>
Date: Thu, 19 Sep 2019 20:54:00 -0400
Subject: [PATCH] Better navigation.

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

diff --git a/Object3D.java b/Object3D.java
index 3b928eb..24c90ab 100644
--- a/Object3D.java
+++ b/Object3D.java
@@ -8869,7 +8869,7 @@
         double diry = ray.viewDirection.y;
         double dirz = ray.viewDirection.z;
         
-        if (this.fromParent != null)
+        if (this.fromParent != null && !(this instanceof TextureNode))
         {
             eye.x = eyex;
             eye.y = eyey;
@@ -8894,7 +8894,7 @@
         
         boolean touch = false;
         
-        if (bRep != null)
+        if (bRep != null && link2support)
         {
             if (bbox == null)
             {

--
Gitblit v1.6.2