Fix crash in T56064: Blender crashes on selecting text-object.
The root of the issue remains though, see T56172, this is just a quick bandaid to stop crashing on it, until we find a proper solution.
This commit is contained in:
parent
9560fe60e4
commit
2471b9c528
|
@ -1118,7 +1118,7 @@ makebreak:
|
|||
/* Note: Only OB_CURVE objects could have a path */
|
||||
if (cu->textoncurve && cu->textoncurve->type == OB_CURVE) {
|
||||
BLI_assert(cu->textoncurve->runtime.curve_cache != NULL);
|
||||
if (cu->textoncurve->runtime.curve_cache->path) {
|
||||
if (cu->textoncurve->runtime.curve_cache != NULL && cu->textoncurve->runtime.curve_cache->path != NULL) {
|
||||
float distfac, imat[4][4], imat3[3][3], cmat[3][3];
|
||||
float minx, maxx, miny, maxy;
|
||||
float timeofs, sizefac;
|
||||
|
|
Loading…
Reference in New Issue