Fix T56619: Transform crash w/ curve deform

This commit is contained in:
Campbell Barton 2018-08-31 11:09:26 +10:00
parent f436e0acab
commit e3c110e72e
Notes: blender-bot 2023-02-14 07:40:56 +01:00
Referenced by issue #56619, crash when trying to convert from curve to mesh
1 changed files with 5 additions and 0 deletions

View File

@ -1839,6 +1839,11 @@ static bool ob_parcurve(Depsgraph *depsgraph, Scene *UNUSED(scene), Object *ob,
}
BKE_displist_make_curveTypes(depsgraph, scene, par, 0);
}
#else
/* See: T56619 */
if (par->runtime.curve_cache == NULL) {
return false;
}
#endif
if (par->runtime.curve_cache->path == NULL) {