diff options
author | Dalai Felinto <dfelinto@gmail.com> | 2012-11-06 05:14:03 +0400 |
---|---|---|
committer | Dalai Felinto <dfelinto@gmail.com> | 2012-11-06 05:14:03 +0400 |
commit | dbd414deedd6b176c0dd266814b7baaef9f187b8 (patch) | |
tree | c5f177ecef05a007b9df012e599b37e51f2a4f1d /source | |
parent | a9fb70754f5dc5e5a0deaf0b5b8e99de8f78938e (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.c | 8 |
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)); |