Fix T80794: assert naming a new shape key from Python
This commit is contained in:
@@ -397,6 +397,9 @@ static PointerRNA rna_Object_shape_key_add(
|
||||
RNA_pointer_create((ID *)BKE_key_from_object(ob), &RNA_ShapeKey, kb, &keyptr);
|
||||
WM_event_add_notifier(C, NC_OBJECT | ND_DRAW, ob);
|
||||
|
||||
DEG_id_tag_update(&ob->id, ID_RECALC_GEOMETRY);
|
||||
DEG_relations_tag_update(bmain);
|
||||
|
||||
return keyptr;
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user