diff options
author | Jose Antonio Marquez | 2012-02-02 18:04:37 -0800 |
---|---|---|
committer | Jose Antonio Marquez | 2012-02-02 18:04:37 -0800 |
commit | 7959d2ecc6e8b1799307de1ceab1112b8ab58e8d (patch) | |
tree | ce4e32578e1af4d49b8375933a6b7edd0a095b0f /js/models | |
parent | 83ac41dd75ec551cdb03252e0bf3081182517d05 (diff) | |
parent | c630ead20487c3948fa36448d3e7d5f7b5cba782 (diff) | |
download | ninja-7959d2ecc6e8b1799307de1ceab1112b8ab58e8d.tar.gz |
Merge branch 'refs/heads/NinjaInternal' into Color
Conflicts:
js/controllers/elements/shapes-controller.js
js/data/pi/pi-data.js
js/panels/properties/content.reel/content.js
Diffstat (limited to 'js/models')
-rw-r--r-- | js/models/properties-3d.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/models/properties-3d.js b/js/models/properties-3d.js index 6d65bc91..cf4a045f 100644 --- a/js/models/properties-3d.js +++ b/js/models/properties-3d.js | |||
@@ -22,7 +22,7 @@ exports.Properties3D = Montage.create(Component, { | |||
22 | _world : {value : null, enumerable:true}, // keep a referenceto the GLWorld (if any) | 22 | _world : {value : null, enumerable:true}, // keep a referenceto the GLWorld (if any) |
23 | 23 | ||
24 | // Keep track of 3d properties | 24 | // Keep track of 3d properties |
25 | matrix3d : {value : [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1], enumerable: true}, | 25 | matrix3d : {value : null, enumerable: true}, |
26 | 26 | ||
27 | xAngle : {value : 0, enumerable: true}, | 27 | xAngle : {value : 0, enumerable: true}, |
28 | yAngle : {value : 0, enumerable: true}, | 28 | yAngle : {value : 0, enumerable: true}, |
@@ -33,9 +33,11 @@ exports.Properties3D = Montage.create(Component, { | |||
33 | z3D : {value : 0, enumerable: true}, | 33 | z3D : {value : 0, enumerable: true}, |
34 | 34 | ||
35 | //TODO - not sure if this should be part of the tool or stage or a utility | 35 | //TODO - not sure if this should be part of the tool or stage or a utility |
36 | perspectiveDist : { value : 1400, enumerable: true}, | 36 | perspectiveDist : { value : null, enumerable: true}, |
37 | perspectiveMode : { value : null, enumerable: true}, | 37 | perspectiveMode : { value : null, enumerable: true}, |
38 | 38 | ||
39 | elementPlane : { value : null, enumerable: true}, | ||
40 | |||
39 | init : { | 41 | init : { |
40 | value : function(elt) { | 42 | value : function(elt) { |
41 | 43 | ||