Fixed bug #14510 - wave modifier crash
CDDM_apply_vert_coords needs a CDDerivedMesh, but it was getting a CCGDerivedMesh from the preceding Subsurf modifier. This fix just makes a CDDerivedMesh copy of the supplied DerivedMesh rather than using it directly.
This commit is contained in:
parent
732d886e0a
commit
12c128ac04
@ -4920,7 +4920,7 @@ static void waveModifier_deformVertsEM(
|
||||
|
||||
if(!wmd->texture && !wmd->defgrp_name[0] && !(wmd->flag & MOD_WAVE_NORM))
|
||||
dm = derivedData;
|
||||
else if(derivedData) dm = derivedData;
|
||||
else if(derivedData) dm = CDDM_copy(derivedData);
|
||||
else dm = CDDM_from_editmesh(editData, ob->data);
|
||||
|
||||
if(wmd->flag & MOD_WAVE_NORM) {
|
||||
|
Loading…
Reference in New Issue
Block a user