From b3ae4e889872ca0b9ca76f1d17b2f0b961226729 Mon Sep 17 00:00:00 2001 From: Normand Briere <nbriere@noware.ca> Date: Mon, 05 Aug 2019 21:48:55 -0400 Subject: [PATCH] Fix physics UI --- BoundaryRep.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/BoundaryRep.java b/BoundaryRep.java index 30f230a..79ff6fe 100644 --- a/BoundaryRep.java +++ b/BoundaryRep.java @@ -1997,9 +1997,10 @@ if (v.vertexlinks == null) continue; - // Warning: a bit faster but dangerous - if (v.weights != null && v.weights[j] == 0) - // < 0.001 * v.totalweight) + // Warning: 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