From 0603ead972cf4823d8a45bc32b1f0a39ac77bca1 Mon Sep 17 00:00:00 2001 From: Atlante45 Date: Fri, 4 Dec 2015 20:59:21 -0800 Subject: [PATCH] Have panels collapsed by default --- examples/utilities/tools/renderEngineDebug.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/examples/utilities/tools/renderEngineDebug.js b/examples/utilities/tools/renderEngineDebug.js index c37c104498..60686912e8 100755 --- a/examples/utilities/tools/renderEngineDebug.js +++ b/examples/utilities/tools/renderEngineDebug.js @@ -156,3 +156,9 @@ function scriptEnding() { Scene.setEngineDeferredDebugSize({ x: 0.0, y: -1.0, z: 1.0, w: 1.0 }); // Reset to default size } Script.scriptEnding.connect(scriptEnding); + + +// Collapse items +panel.mousePressEvent({ x: panel.x, y: panel.items["Overlays"].y}); +panel.mousePressEvent({ x: panel.x, y: panel.items["Transparents"].y}); +panel.mousePressEvent({ x: panel.x, y: panel.items["Opaques"].y});