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:
2012-03-12 14:35:07 +00:00
parent 74b7bc1228
commit a527e3ea25
3 changed files with 32 additions and 2 deletions

View File

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