Fix #30496: Bugs and crashes about "make links modifers" function.
Was missed check for if modifier is available for particular object type which ended up with unpredictable results when modifier which isn't supported yet for some object type as linked to that object type.
This commit is contained in:
@@ -67,6 +67,8 @@ void update_base_layer(struct Scene *scene, struct Object *ob);
|
||||
void free_object(struct Object *ob);
|
||||
void object_free_display(struct Object *ob);
|
||||
|
||||
int object_support_modifier_type(struct Object *ob, int modifier_type);
|
||||
|
||||
void object_link_modifiers(struct Object *ob, struct Object *from);
|
||||
void object_free_modifiers(struct Object *ob);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user