Page Menu
Home
Search
Configure Global Search
Log In
Differential
D2889
Diff 11446
source/blender/draw/engines/gpencil/gpencil_cache_utils.c
Changeset View
Don't pass gp_cache_used as a pointer if you don't change it. I was really confused by this.
IMO you should return the new tGPencilObjectCache instance and realloc the original cache by passing **cache instead of *cache. Because this function is called alloc but returns the whole cache.
You should also increment the size here.