[Bf-blender-cvs] [f2ebb7bb793] master: Fix T60068: missing viewport update when renaming objects in outliner.
Sebastian Parborg
noreply at git.blender.org
Fri Jan 4 14:45:50 CET 2019
Commit: f2ebb7bb793308a9d222f67ef93fe2a2c014d414
Author: Sebastian Parborg
Date: Fri Jan 4 14:21:35 2019 +0100
Branches: master
https://developer.blender.org/rBf2ebb7bb793308a9d222f67ef93fe2a2c014d414
Fix T60068: missing viewport update when renaming objects in outliner.
Differential Revision: https://developer.blender.org/D4155
===================================================================
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 2df7df9ac43..463eb1b33b4 100644
--- a/source/blender/editors/space_outliner/outliner_draw.c
+++ b/source/blender/editors/space_outliner/outliner_draw.c
@@ -341,6 +341,7 @@ static void namebutton_cb(bContext *C, void *tsep, char *oldname)
if (ob->type == OB_MBALL) {
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
}
+ DEG_id_tag_update(&ob->id, ID_RECALC_COPY_ON_WRITE);
WM_event_add_notifier(C, NC_ID | NA_RENAME, NULL); break;
}
default:
More information about the Bf-blender-cvs
mailing list