Fix T60068: missing viewport update when renaming objects in outliner.
authorSebastian Parborg <zeddb>
Fri, 4 Jan 2019 13:21:35 +0000 (14:21 +0100)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Fri, 4 Jan 2019 13:45:16 +0000 (14:45 +0100)
Differential Revision: https://developer.blender.org/D4155

source/blender/editors/space_outliner/outliner_draw.c

index 2df7df9..463eb1b 100644 (file)
@@ -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: