Fix #102930: crash loading a GP file with hook custom curve #118525

Merged
Philipp Oeser merged 1 commits from lichtwerk/blender:102930 into blender-v4.1-release 2024-02-20 18:09:51 +01:00
1 changed files with 1 additions and 0 deletions

View File

@ -963,6 +963,7 @@ void BKE_gpencil_modifier_blend_read_data(BlendDataReader *reader, ListBase *lb,
BLO_read_data_address(reader, &hmd->curfalloff);
if (hmd->curfalloff) {
BKE_curvemapping_blend_read(reader, hmd->curfalloff);
BKE_curvemapping_init(hmd->curfalloff);
}
}
else if (md->type == eGpencilModifierType_Noise) {