aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValerio Virgillito2012-02-09 11:56:40 -0800
committerValerio Virgillito2012-02-09 11:56:40 -0800
commite78f4312c194d9e8188075cf1fe87e4be22b24e4 (patch)
tree75d00be0a3159972ccb583dbdd719c36fad27e21
parentb7a9235b2374d6a22ea0eff0630da7cf475b5203 (diff)
downloadninja-e78f4312c194d9e8188075cf1fe87e4be22b24e4.tar.gz
adding oneway to the 3d bindings to fix a bug where the stage was getting selected.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
-rw-r--r--js/panels/properties/sections/three-d-view.reel/three-d-view.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/js/panels/properties/sections/three-d-view.reel/three-d-view.js b/js/panels/properties/sections/three-d-view.reel/three-d-view.js
index 96053490..0c4a9171 100644
--- a/js/panels/properties/sections/three-d-view.reel/three-d-view.js
+++ b/js/panels/properties/sections/three-d-view.reel/three-d-view.js
@@ -215,7 +215,8 @@ exports.ThreeD = Montage.create(Component, {
215 Object.defineBinding(this, "item", { 215 Object.defineBinding(this, "item", {
216 boundObject: this, 216 boundObject: this,
217 boundObjectPropertyPath: "application.ninja.selectedElements", 217 boundObjectPropertyPath: "application.ninja.selectedElements",
218 boundValueMutator: this._getSelectedItem 218 boundValueMutator: this._getSelectedItem,
219 oneway: true
219 }); 220 });
220 } 221 }
221 }, 222 },