aboutsummaryrefslogtreecommitdiff
path: root/js/panels/objects/object.reel/object.js
diff options
context:
space:
mode:
authorEric Guzman2012-06-20 11:40:17 -0700
committerEric Guzman2012-06-20 11:40:17 -0700
commite9783135c3a6c95b7ccc3a6e45f40a030a2a067c (patch)
treeeedb2330b7ef04008690073f36fdc70348f2aa6c /js/panels/objects/object.reel/object.js
parent5b303f858ab78877f26f61e87230b010460ee03b (diff)
downloadninja-e9783135c3a6c95b7ccc3a6e45f40a030a2a067c.tar.gz
Objects Tray - Use label instead of identifier for object name
Diffstat (limited to 'js/panels/objects/object.reel/object.js')
-rw-r--r--js/panels/objects/object.reel/object.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/js/panels/objects/object.reel/object.js b/js/panels/objects/object.reel/object.js
index b8bf1b1e..6f8f5c92 100644
--- a/js/panels/objects/object.reel/object.js
+++ b/js/panels/objects/object.reel/object.js
@@ -48,8 +48,6 @@ exports.Object = Montage.create(Component, {
48 48
49 this._identifier = value; 49 this._identifier = value;
50 50
51 this.label = value;
52
53 this.needsDraw = true; 51 this.needsDraw = true;
54 } 52 }
55 53
@@ -67,8 +65,8 @@ exports.Object = Montage.create(Component, {
67 65
68 this._montageMetaData = data; 66 this._montageMetaData = data;
69 67
70 if(!this.identifier && data.label) { 68 if(data.label) {
71 this.label = data.label; 69 this.name = data.label;
72 this.needsDraw = true; 70 this.needsDraw = true;
73 } 71 }
74 } 72 }