mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Fix T39166: Disappearing text objects
This is a failure of viewport direct displist creation caused by existing curve_cache pointer which empty content. Made it so if the curve isn't evaluated it's curve_cache is NULL. This is just-another-regression to be ported to the release.
This commit is contained in:
parent
1f3655d224
commit
d908c90d6d
1 changed files with 4 additions and 0 deletions
|
|
@ -331,6 +331,10 @@ void BKE_object_free_derived_caches(Object *ob)
|
|||
free_path(ob->curve_cache->path);
|
||||
ob->curve_cache->path = NULL;
|
||||
}
|
||||
|
||||
/* Signal for viewport to run DAG workarounds. */
|
||||
MEM_freeN(ob->curve_cache);
|
||||
ob->curve_cache = NULL;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue