Fix T60068: missing viewport update when renaming objects in outliner.

Differential Revision: https://developer.blender.org/D4155
This commit is contained in:
Sebastian Parborg
2019-01-04 14:21:35 +01:00
committed by Brecht Van Lommel
parent 2c21e3e35f
commit f2ebb7bb79

View 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: