Page Menu
Home
Search
Configure Global Search
Log In
Files
F18071
fix29139.patch
Public
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Authored By
Sergey Sharybin (sergey)
Nov 13 2013, 4:05 PM
Size
1 KB
Subscribers
None
fix29139.patch
View Options
Index: source/blender/editors/space_node/drawnode.c
===================================================================
--- source/blender/editors/space_node/drawnode.c (revision 41519)
+++ source/blender/editors/space_node/drawnode.c (working copy)
@@ -842,6 +842,13 @@ static void node_draw_group(const bContext *C, ARegion *ar, SpaceNode *snode, bN
}
}
+void node_uifunc_group(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
+{
+ PointerRNA node_treeptr= RNA_pointer_get(ptr, "node_tree");
+
+ uiItemR(layout, &node_treeptr, "name", 0, "Node Tree Name", ICON_NODETREE);
+}
+
static void node_common_buts_whileloop(uiLayout *layout, bContext *UNUSED(C), PointerRNA *ptr)
{
uiItemR(layout, ptr, "max_iterations", 0, NULL, 0);
@@ -867,7 +874,7 @@ static void node_common_set_butfunc(bNodeType *ntype)
{
switch(ntype->type) {
case NODE_GROUP:
-// ntype->uifunc= node_common_buts_group;
+ ntype->uifunc= node_uifunc_group;
ntype->drawfunc= node_draw_group;
ntype->drawupdatefunc= node_update_group;
break;
File Metadata
Details
Mime Type
text/x-diff
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
30/0d/5f394097ababbd15e58782664d28
Event Timeline
Log In to Comment