diff options
author | Nivesh Rajbhandari | 2012-02-06 14:03:40 -0800 |
---|---|---|
committer | Nivesh Rajbhandari | 2012-02-06 14:18:58 -0800 |
commit | f94b0c5ada403379b3ff8a900c2a2aabcecce49e (patch) | |
tree | 07d28ffb913e0a06e70d0792dcd1b2a87f7b7a83 /js/controllers/elements | |
parent | 5737864d1d55d96e3cc3c1bc9b38ec58303b3981 (diff) | |
download | ninja-f94b0c5ada403379b3ff8a900c2a2aabcecce49e.tar.gz |
Add enabled property for ComboBox to support enabling/disabling materials dropdowns in the PI.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/controllers/elements')
-rw-r--r-- | js/controllers/elements/shapes-controller.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/controllers/elements/shapes-controller.js b/js/controllers/elements/shapes-controller.js index 22ba66b3..74c88084 100644 --- a/js/controllers/elements/shapes-controller.js +++ b/js/controllers/elements/shapes-controller.js | |||
@@ -57,8 +57,9 @@ exports.ShapesController = Montage.create(CanvasController, { | |||
57 | el.elementModel.shapeModel.GLGeomObj.buildBuffers(); | 57 | el.elementModel.shapeModel.GLGeomObj.buildBuffers(); |
58 | break; | 58 | break; |
59 | case "useWebGl": | 59 | case "useWebGl": |
60 | this.toggleWebGlMode(el, value); | 60 | // this.toggleWebGlMode(el, value); |
61 | el.elementModel.shapeModel.GLGeomObj.buildBuffers(); | 61 | // el.elementModel.shapeModel.GLGeomObj.buildBuffers(); |
62 | el.elementModel.shapeModel.useWebGl = value; | ||
62 | break; | 63 | break; |
63 | default: | 64 | default: |
64 | CanvasController.setProperty(el, p, value); | 65 | CanvasController.setProperty(el, p, value); |