diff options
author | Nivesh Rajbhandari | 2012-04-02 14:58:56 -0700 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-04-02 14:58:56 -0700 |
commit | 3f30c5ae31f0079162befc1eec6241141cbc79ce (patch) | |
tree | 78e217658ec08e2cd4e052194c54472a9d46cc7c /js/lib | |
parent | 5377e963c4413640cd3c04e0406384df04144568 (diff) | |
download | ninja-3f30c5ae31f0079162befc1eec6241141cbc79ce.tar.gz |
IKNinja-1399 - [Eyedropper] Not sampling WebGL gradients after file open.
Need to set the isShape property in the elementModel on file open.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/lib')
-rwxr-xr-x | js/lib/NJUtils.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/js/lib/NJUtils.js b/js/lib/NJUtils.js index 904aa41e..18796da0 100755 --- a/js/lib/NJUtils.js +++ b/js/lib/NJUtils.js | |||
@@ -136,7 +136,8 @@ exports.NJUtils = Object.create(Object.prototype, { | |||
136 | controller: { value: ControllerFactory.getController(controller)}, | 136 | controller: { value: ControllerFactory.getController(controller)}, |
137 | pi: { value: pi}, | 137 | pi: { value: pi}, |
138 | props3D: { value: p3d}, | 138 | props3D: { value: p3d}, |
139 | shapeModel: { value: shapeProps} | 139 | shapeModel: { value: shapeProps}, |
140 | isShape: { value: isShape} | ||
140 | }); | 141 | }); |
141 | 142 | ||
142 | } | 143 | } |
@@ -168,6 +169,7 @@ exports.NJUtils = Object.create(Object.prototype, { | |||
168 | // TODO - Need more info about the shape | 169 | // TODO - Need more info about the shape |
169 | selection = "canvas"; | 170 | selection = "canvas"; |
170 | controller = "shape"; | 171 | controller = "shape"; |
172 | isShape = true; | ||
171 | } | 173 | } |
172 | else | 174 | else |
173 | { | 175 | { |