[Bf-blender-cvs] [065630e717c] blender2.8: Outliner: Update buttons editor when renaming collection
Dalai Felinto
noreply at git.blender.org
Mon Feb 19 14:52:16 CET 2018
Commit: 065630e717ca22309d2f83133200b2be710123ff
Author: Dalai Felinto
Date: Mon Feb 19 10:48:05 2018 -0300
Branches: blender2.8
https://developer.blender.org/rB065630e717ca22309d2f83133200b2be710123ff
Outliner: Update buttons editor when renaming collection
Reported by Pablo Vazquez (venomgfx) outside phabricator.
===================================================================
M source/blender/editors/space_outliner/outliner_draw.c
===================================================================
diff --git a/source/blender/editors/space_outliner/outliner_draw.c b/source/blender/editors/space_outliner/outliner_draw.c
index 065bffec54d..e85f8fdc377 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -410,6 +410,7 @@ static void namebutton_cb(bContext *C, void *tsep, char *oldname)
{
SceneCollection *sc = outliner_scene_collection_from_tree_element(te);
BKE_collection_rename(scene, sc, te->name);
+ WM_event_add_notifier(C, NC_SCENE | ND_LAYER, scene);
break;
}
}
More information about the Bf-blender-cvs
mailing list