Fix T101118, T101471: Crash with bevel weight in solidify modifier
Just a missing null check for the original edge weight.
This commit is contained in:
parent
688c4f7e51
commit
3059c0998a
Notes:
blender-bot
2023-02-14 02:45:41 +01:00
Referenced by issue #101471, Regression: Crash in Solidify Modifier with complex flat boundary mode Referenced by issue #101118, Regression: Crash in Solidify modifier when adjusting Bevel Convex slider
|
@ -2048,7 +2048,8 @@ Mesh *MOD_solidify_nonmanifold_modifyMesh(ModifierData *md,
|
|||
0.0f;
|
||||
}
|
||||
if (result_edge_bweight) {
|
||||
result_edge_bweight[insert] = orig_edge_bweight[(*l)->old_edge];
|
||||
result_edge_bweight[insert] = orig_edge_bweight ? orig_edge_bweight[(*l)->old_edge] :
|
||||
0.0f;
|
||||
}
|
||||
if (bevel_convex != 0.0f && (*l)->faces[1] != NULL) {
|
||||
result_edge_bweight[insert] = clamp_f(
|
||||
|
|
Loading…
Reference in New Issue