aboutsummaryrefslogtreecommitdiff
path: root/js/mediators
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-03-22 11:16:39 -0700
committerNivesh Rajbhandari2012-03-22 11:16:39 -0700
commitbead8ce9e292f030a4b2fba6ad7fd38fb4fe5199 (patch)
treebb49957ed4d2bd96e97618b95d79fcd73d1fc147 /js/mediators
parent92854b266936f844370688da3b15d035a041e8c2 (diff)
downloadninja-bead8ce9e292f030a4b2fba6ad7fd38fb4fe5199.tar.gz
IKNINJA-758 - The rotation value of the stage is not updated in the properties panel.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/mediators')
-rwxr-xr-xjs/mediators/element-mediator.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/js/mediators/element-mediator.js b/js/mediators/element-mediator.js
index eac0ca54..a2440fb4 100755
--- a/js/mediators/element-mediator.js
+++ b/js/mediators/element-mediator.js
@@ -673,17 +673,17 @@ exports.ElementMediator = Montage.create(NJComponent, {
673 }, 673 },
674 674
675 setMatrix: { 675 setMatrix: {
676 value: function(el, mat, isChanging) { 676 value: function(el, mat, isChanging, source) {
677 var dist = el.elementModel.controller["getPerspectiveDist"](el); 677 var dist = el.elementModel.controller["getPerspectiveDist"](el);
678 el.elementModel.controller["set3DProperties"](el, [{mat:mat, dist:dist}], 0, !isChanging); 678 el.elementModel.controller["set3DProperties"](el, [{mat:mat, dist:dist}], 0, !isChanging);
679 679
680 if(isChanging) 680 if(isChanging)
681 { 681 {
682 NJevent("elementChanging", {type : "setMatrix", source: null, data: {"els": [el], "prop": "matrix", "value": mat}, redraw: null}); 682 NJevent("elementChanging", {type : "setMatrix", source: source, data: {"els": [el], "prop": "matrix", "value": mat}, redraw: null});
683 } 683 }
684 else 684 else
685 { 685 {
686 NJevent("elementChange", {type : "setMatrix", source: null, data: {"els": [el], "prop": "matrix", "value": mat}, redraw: null}); 686 NJevent("elementChange", {type : "setMatrix", source: source, data: {"els": [el], "prop": "matrix", "value": mat}, redraw: null});
687 } 687 }
688 } 688 }
689 }, 689 },