Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_surfacedeform.c
| Show First 20 Lines • Show All 1,029 Lines • ▼ Show 20 Lines | else if (data.success == MOD_SDEF_BIND_RESULT_CONCAVE_ERR) { | ||||
| freeData((ModifierData *)smd); | freeData((ModifierData *)smd); | ||||
| } | } | ||||
| else if (data.success == MOD_SDEF_BIND_RESULT_OVERLAP_ERR) { | else if (data.success == MOD_SDEF_BIND_RESULT_OVERLAP_ERR) { | ||||
| modifier_setError((ModifierData *)smd, "Target contains overlapping verts"); | modifier_setError((ModifierData *)smd, "Target contains overlapping verts"); | ||||
| freeData((ModifierData *)smd); | freeData((ModifierData *)smd); | ||||
| } | } | ||||
| else if (data.success == MOD_SDEF_BIND_RESULT_GENERIC_ERR) { | else if (data.success == MOD_SDEF_BIND_RESULT_GENERIC_ERR) { | ||||
| /* I know this message is vague, but I could not think of a way | /* I know this message is vague, but I could not think of a way | ||||
| * to explain this whith a reasonably sized message. | * to explain this with a reasonably sized message. | ||||
| * Though it shouldn't really matter all that much, | * Though it shouldn't really matter all that much, | ||||
| * because this is very unlikely to occur */ | * because this is very unlikely to occur */ | ||||
| modifier_setError((ModifierData *)smd, "Target contains invalid polygons"); | modifier_setError((ModifierData *)smd, "Target contains invalid polygons"); | ||||
| freeData((ModifierData *)smd); | freeData((ModifierData *)smd); | ||||
| } | } | ||||
| freeAdjacencyMap(vert_edges, adj_array, edge_polys); | freeAdjacencyMap(vert_edges, adj_array, edge_polys); | ||||
| free_bvhtree_from_mesh(&treeData); | free_bvhtree_from_mesh(&treeData); | ||||
| ▲ Show 20 Lines • Show All 196 Lines • Show Last 20 Lines | |||||