Commit: 61e2d15bfe52302719de6eabaa086b3ac230c57c Author: Joseph Eagar Date: Sun Nov 28 18:50:42 2021 -0800 Branches: sculpt-dev https://developer.blender.org/rB61e2d15bfe52302719de6eabaa086b3ac230c57c
Sculpt-dev: fix memory corruption =================================================================== M source/blender/editors/sculpt_paint/sculpt.c =================================================================== diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 0e690f004ab..edd7dc1a377 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -6069,6 +6069,7 @@ static void SCULPT_run_command( ss->cache->channels_final = channels_final; ss->cache->brush = brush; + sd->paint.brush_eval = NULL; MEM_SAFE_FREE(nodes); } _______________________________________________ Bf-blender-cvs mailing list [email protected] List details, subscription details or unsubscribe: https://lists.blender.org/mailman/listinfo/bf-blender-cvs
