Fix: Crash updating draw cache of original curves data
Error in c67e5628d2
which mistook clearing
the pointer for clearing the values in the struct.
This commit is contained in:
parent
d292d635ea
commit
afd30e5e3a
Notes:
blender-bot
2023-02-14 00:20:15 +01:00
Referenced by commit 1452b44352
, DRW: PointCloud: Fix memset writting non-trivial type std::mutex
|
@ -78,7 +78,7 @@ static void curves_batch_cache_init(Curves &curves)
|
|||
curves.batch_cache = cache;
|
||||
}
|
||||
else {
|
||||
cache = {};
|
||||
cache->curves_cache = {};
|
||||
}
|
||||
|
||||
cache->is_dirty = false;
|
||||
|
|
Loading…
Reference in New Issue