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. --- BoundaryRep.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/BoundaryRep.java b/BoundaryRep.java index 797e9f7..30f230a 100644 --- a/BoundaryRep.java +++ b/BoundaryRep.java @@ -1997,7 +1997,9 @@ if (v.vertexlinks == null) continue; - if (v.weights != null && v.weights[j] < 0.001 * v.totalweight) // == 0) + // Warning: a bit faster but dangerous + if (v.weights != null && v.weights[j] == 0) + // < 0.001 * v.totalweight) { //testweight += v.weights[j-1]; continue; -- Gitblit v1.6.2