Fix #110283: crash when loading curve simulation cache

The array of curve types must be updated eagerly.

Pull Request: https://projects.blender.org/blender/blender/pulls/110284
This commit is contained in:
Iliya Katueshenock 2023-07-20 12:26:24 +02:00 committed by Jacques Lucke
parent 9e5793dbbb
commit 557cb0dce8
1 changed files with 2 additions and 0 deletions

View File

@ -448,6 +448,8 @@ static Curves *try_load_curves(const DictionaryValue &io_geometry,
return cancel();
}
curves.update_curve_types();
return curves_id;
}