diff options
author | hwc487 | 2012-02-07 14:42:51 -0800 |
---|---|---|
committer | hwc487 | 2012-02-07 14:42:51 -0800 |
commit | 6173fe8440152b1e4c63834a6b4dc7573d532339 (patch) | |
tree | d23449204ae7f23cb9bab09836d126e90c30484b /js/components/tools-properties/fill-properties.reel/fill-properties.js | |
parent | 2d4da18a778471b02e188ad668752e331ee76127 (diff) | |
parent | aec849d91e4b697d496b9ede28b5d89cf2283781 (diff) | |
download | ninja-6173fe8440152b1e4c63834a6b4dc7573d532339.tar.gz |
Merge branch 'ToolFixes' of github.com:mqg734/ninja-internal into working
Conflicts:
js/helper-classes/RDGE/GLRectangle.js
js/helper-classes/RDGE/GLWorld.js
js/helper-classes/RDGE/MaterialsLibrary.js
Diffstat (limited to 'js/components/tools-properties/fill-properties.reel/fill-properties.js')
-rw-r--r-- | js/components/tools-properties/fill-properties.reel/fill-properties.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/components/tools-properties/fill-properties.reel/fill-properties.js b/js/components/tools-properties/fill-properties.reel/fill-properties.js index 3b77d72e..61b667d7 100644 --- a/js/components/tools-properties/fill-properties.reel/fill-properties.js +++ b/js/components/tools-properties/fill-properties.reel/fill-properties.js | |||
@@ -14,7 +14,11 @@ exports.FillProperties = Montage.create(ToolProperties, { | |||
14 | 14 | ||
15 | _subPrepare: { | 15 | _subPrepare: { |
16 | value: function() { | 16 | value: function() { |
17 | ShapesController.DisplayMaterials(this._fillMaterial); | 17 | Object.defineBinding(this._fillMaterial, "items", { |
18 | boundObject: this.application.ninja.appModel, | ||
19 | boundObjectPropertyPath: "materials", | ||
20 | oneway: false | ||
21 | }); | ||
18 | 22 | ||
19 | this.handleChange(null); | 23 | this.handleChange(null); |
20 | this._useWebGL.addEventListener("change", this, false); | 24 | this._useWebGL.addEventListener("change", this, false); |