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>2018-02-19 16:48:05 +0300
committerDalai Felinto <dfelinto@gmail.com>2018-02-19 16:48:07 +0300
commit065630e717ca22309d2f83133200b2be710123ff (patch)
tree8533dc6c3a3b15e270aa23c292d825db9c86485a /source
parent30d0194585464631b7e75879f977355a1b125add (diff)
Outliner: Update buttons editor when renaming collection
Reported by Pablo Vazquez (venomgfx) outside phabricator.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_outliner/outliner_draw.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}