Blender Git Commit Log

Git Commits -> Revision c9de656

Revision c9de656 by Pablo Dobarro (master)
December 15, 2020, 19:22 (GMT)
Fix T83201: Cloth brush performance regression

The if statement of the dynamic area mode branch should be an else if.
When using local mode, this was running both the local and global code.

I moved this code to sculpt_cloth and refactored it to use a switch case
to prevent this from happening again.

Reviewed By: mont29

Maniphest Tasks: T83201

Differential Revision: https://developer.blender.org/D9762

Commit Details:

Full Hash: c9de65679bb0905e7f689b83931c9be9a8abfa02
Parent Commit: 26e9c21
Lines Changed: +42, -26

3 Modified Paths:

/source/blender/editors/sculpt_paint/sculpt.c (+1, -26) (Diff)
/source/blender/editors/sculpt_paint/sculpt_cloth.c (+37, -0) (Diff)
/source/blender/editors/sculpt_paint/sculpt_intern.h (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021