Send data changed notifier after object conversion.
Need this for refreshing "Object data" page.
This commit is contained in:
@@ -1479,7 +1479,7 @@ static int convert_exec(bContext *C, wmOperator *op)
|
||||
ED_base_object_activate(C, basact);
|
||||
BASACT= basact;
|
||||
} else if (BASACT->object->flag & OB_DONE) {
|
||||
WM_event_add_notifier(C, NC_OBJECT|ND_MODIFIER, BASACT->object);
|
||||
WM_event_add_notifier(C, NC_OBJECT|ND_MODIFIER|ND_DATA, BASACT->object);
|
||||
}
|
||||
|
||||
DAG_scene_sort(scene);
|
||||
|
||||
Reference in New Issue
Block a user