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/data | |
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/data')
-rw-r--r-- | js/data/pi/pi-data.js | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/js/data/pi/pi-data.js b/js/data/pi/pi-data.js index 8ccf17cc..10b33a0e 100644 --- a/js/data/pi/pi-data.js +++ b/js/data/pi/pi-data.js | |||
@@ -384,7 +384,9 @@ exports.PiData = Montage.create( Montage, { | |||
384 | prop: "strokeMaterial", | 384 | prop: "strokeMaterial", |
385 | label: "Stroke", | 385 | label: "Stroke", |
386 | labelField: "_name", | 386 | labelField: "_name", |
387 | dataField: "_name", | ||
387 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, | 388 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, |
389 | enabled: { boundObject: "this.controls", boundProperty: "useWebGl" }, | ||
388 | divider : true | 390 | divider : true |
389 | } | 391 | } |
390 | ], | 392 | ], |
@@ -395,7 +397,9 @@ exports.PiData = Montage.create( Montage, { | |||
395 | prop: "fillMaterial", | 397 | prop: "fillMaterial", |
396 | label: "Fill", | 398 | label: "Fill", |
397 | labelField: "_name", | 399 | labelField: "_name", |
398 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } | 400 | dataField: "_name", |
401 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, | ||
402 | enabled: { boundObject: "this.controls", boundProperty: "useWebGl" } | ||
399 | } | 403 | } |
400 | ] | 404 | ] |
401 | ] | 405 | ] |
@@ -458,7 +462,9 @@ exports.PiData = Montage.create( Montage, { | |||
458 | id: "stroke", | 462 | id: "stroke", |
459 | label: "Stroke", | 463 | label: "Stroke", |
460 | labelField: "_name", | 464 | labelField: "_name", |
461 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } | 465 | dataField: "_name", |
466 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, | ||
467 | enabled: { boundObject: "this.controls", boundProperty: "useWebGl" } | ||
462 | } | 468 | } |
463 | ] | 469 | ] |
464 | ] | 470 | ] |
@@ -541,8 +547,10 @@ exports.PiData = Montage.create( Montage, { | |||
541 | id: "strokeMaterial", | 547 | id: "strokeMaterial", |
542 | prop: "strokeMaterial", | 548 | prop: "strokeMaterial", |
543 | label: "Stroke", | 549 | label: "Stroke", |
544 | labelFunction: function(item) { return item.getName(); }, | 550 | labelField: "_name", |
551 | dataField: "_name", | ||
545 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, | 552 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, |
553 | enabled: { boundObject: "this.controls", boundProperty: "useWebGl" }, | ||
546 | divider : true | 554 | divider : true |
547 | } | 555 | } |
548 | ], | 556 | ], |
@@ -553,7 +561,9 @@ exports.PiData = Montage.create( Montage, { | |||
553 | prop: "fillMaterial", | 561 | prop: "fillMaterial", |
554 | label: "Fill", | 562 | label: "Fill", |
555 | labelField: "_name", | 563 | labelField: "_name", |
556 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" } | 564 | dataField: "_name", |
565 | items : { boundObject: "this.application.ninja.appModel", boundProperty: "materials" }, | ||
566 | enabled: { boundObject: "this.controls", boundProperty: "useWebGl" } | ||
557 | } | 567 | } |
558 | ] | 568 | ] |
559 | ] | 569 | ] |