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 --- RandomNode.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/RandomNode.java b/RandomNode.java index d2f6489..7d0d7b3 100644 --- a/RandomNode.java +++ b/RandomNode.java @@ -5,7 +5,7 @@ RandomNode() { - this("Random"); + this("Switch"); } RandomNode(String name) @@ -27,7 +27,7 @@ public int size() { - if (CameraPane.RANDOM) + if (CameraPane.SWITCH) { if (super.size() > 0) return 1; @@ -59,7 +59,7 @@ public Object3D reserve(int i) { - if (!CameraPane.RANDOM) + if (!CameraPane.SWITCH) return super.reserve(i); //assert(rnd == -1); @@ -95,7 +95,7 @@ //(int)(Math.random()*super.size()); //globalcount++; - gcount += GrafreeD.mix3(rnd+12345,firstchoice*12345,gcount); + gcount += Grafreed.mix3(rnd+12345,firstchoice*12345,gcount); gcount &= 0x7fffffff; @@ -126,7 +126,7 @@ public void release(int i) { - if (!CameraPane.RANDOM) + if (!CameraPane.SWITCH) { super.release(i); return; -- Gitblit v1.6.2