diff options
author | Sebastian Parborg <zeddb> | 2019-01-04 16:21:35 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-01-04 16:45:16 +0300 |
commit | f2ebb7bb793308a9d222f67ef93fe2a2c014d414 (patch) | |
tree | a826d3149b332084e9abaeb57e2495fffa268fdc /source/blender/editors/space_outliner | |
parent | 2c21e3e35f304afdc1a320fb8ccef91e0119dfc8 (diff) |
Fix T60068: missing viewport update when renaming objects in outliner.
Differential Revision: https://developer.blender.org/D4155
Diffstat (limited to 'source/blender/editors/space_outliner')
-rw-r--r-- | source/blender/editors/space_outliner/outliner_draw.c | 1 |
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 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: |