diff options
author | Eric Guzman | 2012-02-08 14:41:56 -0800 |
---|---|---|
committer | Eric Guzman | 2012-02-08 14:41:56 -0800 |
commit | 637db74743ac1397ade7edec3da3ae1c1cdaa82a (patch) | |
tree | bc16578a5368098956d39f16ddd48737a9bb355c /js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js | |
parent | 40622aa97d31837254996b718b0a6feca2bcd0ce (diff) | |
parent | ab12be4e9a0d9fee4450795077b0107983b5682e (diff) | |
download | ninja-637db74743ac1397ade7edec3da3ae1c1cdaa82a.tar.gz |
Merge branch 'refs/heads/master' into StylesControllerUpdates
Diffstat (limited to 'js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js')
-rw-r--r-- | js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js index 61ea808a..e3ffc359 100644 --- a/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js +++ b/js/components/tools-properties/ink-bottle-properties.reel/ink-bottle-properties.js | |||
@@ -14,7 +14,11 @@ exports.InkBottleProperties = Montage.create(ToolProperties, { | |||
14 | 14 | ||
15 | _subPrepare: { | 15 | _subPrepare: { |
16 | value: function() { | 16 | value: function() { |
17 | ShapesController.DisplayMaterials(this._strokeMaterial); | 17 | Object.defineBinding(this._strokeMaterial, "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); |