aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhwc4872012-02-01 15:57:20 -0800
committerhwc4872012-02-01 15:57:20 -0800
commit30bc466a0ac80f8303e223c19704b90457293cdc (patch)
tree7bdfc185347f853bdb4270501c3a8b66063dc9fb
parent11db5a63bda57c630eaf1d8baded9b79ca7ac1f2 (diff)
downloadninja-30bc466a0ac80f8303e223c19704b90457293cdc.tar.gz
Fixed plane orientations for view orientations other than front.
-rw-r--r--js/stage/stage.reel/stage.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/stage/stage.reel/stage.js b/js/stage/stage.reel/stage.js
index b72615db..9e2df5a2 100644
--- a/js/stage/stage.reel/stage.js
+++ b/js/stage/stage.reel/stage.js
@@ -814,12 +814,12 @@ exports.Stage = Montage.create(Component, {
814 switch(side) 814 switch(side)
815 { 815 {
816 case "top": 816 case "top":
817 plane[1] = 1; 817 plane = [0,1,0,0];
818 plane[3] = this.application.ninja.currentDocument.documentRoot.offsetHeight / 2.0; 818 plane[3] = this.application.ninja.currentDocument.documentRoot.offsetHeight / 2.0;
819 break; 819 break;
820 820
821 case "side": 821 case "side":
822 plane[0] = 1; 822 plane = [1,0,0,0];
823 plane[3] = this.application.ninja.currentDocument.documentRoot.offsetWidth / 2.0; 823 plane[3] = this.application.ninja.currentDocument.documentRoot.offsetWidth / 2.0;
824 break; 824 break;
825 825