forked from blender/blender
Cleanup: Reduce use and scope of templates in vertex paint #2
@ -4323,7 +4323,7 @@ void SCULPT_cache_free(StrokeCache *cache)
|
||||
MEM_SAFE_FREE(cache->detail_directions);
|
||||
MEM_SAFE_FREE(cache->prev_displacement);
|
||||
MEM_SAFE_FREE(cache->limit_surface_co);
|
||||
MEM_SAFE_FREE(cache->prev_colors_vpaint);
|
||||
cache->prev_colors_vpaint = {};
|
||||
|
||||
if (cache->pose_ik_chain) {
|
||||
SCULPT_pose_ik_chain_free(cache->pose_ik_chain);
|
||||
|
@ -555,7 +555,7 @@ struct StrokeCache {
|
||||
float mouse_event[2];
|
||||
|
||||
float (*prev_colors)[4];
|
||||
void *prev_colors_vpaint;
|
||||
GArray<> prev_colors_vpaint;
|
||||
|
||||
/* Multires Displacement Smear. */
|
||||
float (*prev_displacement)[3];
|
||||
|
Loading…
Reference in New Issue
Block a user