Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2012-11-06 05:14:03 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-11-06 05:14:03 +0400
commitdbd414deedd6b176c0dd266814b7baaef9f187b8 (patch)
treec5f177ecef05a007b9df012e599b37e51f2a4f1d /source
parenta9fb70754f5dc5e5a0deaf0b5b8e99de8f78938e (diff)
bugfix: nodes.new('FRAME') not working
reported on irc by Peter Casseta
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_nodetree.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/rna_nodetree.c b/source/blender/makesrna/intern/rna_nodetree.c
index ece5c82f747..312469340a7 100644
--- a/source/blender/makesrna/intern/rna_nodetree.c
+++ b/source/blender/makesrna/intern/rna_nodetree.c
@@ -1275,6 +1275,14 @@ static void alloc_node_type_items(EnumPropertyItem *items, int category)
item++;
+ item->value = NODE_FRAME;
+ item->identifier = "FRAME";
+ item->icon = 0;
+ item->name = "Frame";
+ item->description = "";
+
+ item++;
+
/* NOTE!, increase 'count' when adding items here */
memset(item, 0, sizeof(EnumPropertyItem));