Blender Git Commit Log
Git Commits -> Revision 9aea7dc
Revision 9aea7dc by Pablo Dobarro (master) May 26, 2020, 18:45 (GMT) |
Fix Pose Brush origin position with large brush size When the brush size is bigger than the entire mesh, fdata.tot_co can be 0, so the pose origin will default to (0,0,0), which does not make much sense. After this patch, the pose origin will be set to the farthest vertex from the pose origin, which at least should be in the surface of the mesh and in most cases in the direction the pose brush was already detecting the origin. Reviewed By: sergey Differential Revision: https://developer.blender.org/D7773 |
Commit Details:
Full Hash: 9aea7dc7c65b94aff0dda299c7269a252bf04b05
Parent Commit: 9b0f65c
Lines Changed: +14, -1
1 Modified Path:
/source/blender/editors/sculpt_paint/sculpt_pose.c (+14, -1) (Diff)