From 0bda7699a66d5c0dc53f15a4182715a3397d67e9 Mon Sep 17 00:00:00 2001 From: Ryan Huffman Date: Wed, 22 Oct 2014 10:38:24 -0700 Subject: [PATCH] Disable properties menu with multi-selection --- examples/newEditEntities.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/newEditEntities.js b/examples/newEditEntities.js index 402ad94417..ae0d018b14 100644 --- a/examples/newEditEntities.js +++ b/examples/newEditEntities.js @@ -621,7 +621,7 @@ function handeMenuEvent(menuItem) { // good place to put the properties dialog editModelID = -1; - if (entitySelected) { + if (selectionManager.selections.length == 1) { print(" Edit Properties.... selectedEntityID="+ selectedEntityID); editModelID = selectedEntityID; } else {