Fix T60068: missing viewport update when renaming objects in outliner.
Differential Revision: https://developer.blender.org/D4155
This commit is contained in:
parent
2c21e3e35f
commit
f2ebb7bb79
Notes:
blender-bot
2023-02-14 09:38:57 +01:00
Referenced by issue #60068, Viewport shows old cached object names
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue