From 678d82e9ce165b7da412f333fb7b55ea53575921 Mon Sep 17 00:00:00 2001 From: Lionel Ringenbach Date: Sat, 21 May 2016 18:14:38 +0200 Subject: [PATCH] Added updateDisplay on GUI object --- src/dat/gui/GUI.js | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/dat/gui/GUI.js b/src/dat/gui/GUI.js index b0f61d3..2a28d86 100644 --- a/src/dat/gui/GUI.js +++ b/src/dat/gui/GUI.js @@ -790,6 +790,15 @@ define([ this.__listening.push(controller); if (init) updateDisplays(this.__listening); + }, + + updateDisplay: function() { + for (var c in this.__controllers) { + this.__controllers[c].updateDisplay(); + } + for (var f in this.__folders) { + this.__folders[f].updateDisplay(); + } } }