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:
Hans Goudey 2022-10-13 09:37:12 -05:00
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
1 changed files with 1 additions and 1 deletions

View File

@ -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;