From afd30e5e3a770d3ce08f7913a6d952967084b9ea Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Thu, 13 Oct 2022 09:37:12 -0500 Subject: Fix: Crash updating draw cache of original curves data Error in c67e5628d22f8348492 which mistook clearing the pointer for clearing the values in the struct. --- source/blender/draw/intern/draw_cache_impl_curves.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/draw') diff --git a/source/blender/draw/intern/draw_cache_impl_curves.cc b/source/blender/draw/intern/draw_cache_impl_curves.cc index e6a422b6a11..329bc4a4700 100644 --- a/source/blender/draw/intern/draw_cache_impl_curves.cc +++ b/source/blender/draw/intern/draw_cache_impl_curves.cc @@ -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; -- cgit v1.2.3