diff options
author | Nivesh Rajbhandari | 2012-03-22 11:16:39 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-03-22 11:16:39 -0700 |
commit | bead8ce9e292f030a4b2fba6ad7fd38fb4fe5199 (patch) | |
tree | bb49957ed4d2bd96e97618b95d79fcd73d1fc147 /js/mediators | |
parent | 92854b266936f844370688da3b15d035a041e8c2 (diff) | |
download | ninja-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-x | js/mediators/element-mediator.js | 6 |
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 | }, |