Changeset View
Changeset View
Standalone View
Standalone View
source/blender/modifiers/intern/MOD_weighted_normal.c
| Show First 20 Lines • Show All 654 Lines • ▼ Show 20 Lines | case MOD_WEIGHTEDNORMAL_MODE_FACE_ANGLE: | ||||
| wn_face_with_angle(wnmd, &wn_data); | wn_face_with_angle(wnmd, &wn_data); | ||||
| break; | break; | ||||
| } | } | ||||
| MEM_SAFE_FREE(wn_data.loop_to_poly); | MEM_SAFE_FREE(wn_data.loop_to_poly); | ||||
| MEM_SAFE_FREE(wn_data.mode_pair); | MEM_SAFE_FREE(wn_data.mode_pair); | ||||
| MEM_SAFE_FREE(wn_data.items_data); | MEM_SAFE_FREE(wn_data.items_data); | ||||
| result->runtime.is_original = false; | result->runtime.is_original_bmesh = false; | ||||
| return result; | return result; | ||||
| } | } | ||||
| static void initData(ModifierData *md) | static void initData(ModifierData *md) | ||||
| { | { | ||||
| WeightedNormalModifierData *wnmd = (WeightedNormalModifierData *)md; | WeightedNormalModifierData *wnmd = (WeightedNormalModifierData *)md; | ||||
| ▲ Show 20 Lines • Show All 89 Lines • Show Last 20 Lines | |||||