Send data changed notifier after object conversion.

Need this for refreshing "Object data" page.
This commit is contained in:
Sergey Sharybin
2010-03-11 06:12:53 +00:00
parent 271256ad33
commit ed30bb4881

View File

@@ -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);