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

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;