Blender Git Commit Log

Git Commits -> Revision 08cc1c6

Revision 08cc1c6 by Jason Hays (master)
November 10, 2011, 02:09 (GMT)
While reviewing this part of the code for a Blender Proceedings article, I noticed that the lock enforcer was taking several improper steps to redistribute evenly with multi-paint.

Beforehand, a few problems were in view: some of the indexing was changed towards the end to use the more efficient stack structure, but needed to use the correct def group indices.

Also, the designated selected group would use its own value to acquire the standard to base change distributed to the others.

Lastly, the total_change was used rather than -left_overs in the formula to compute the new designated weight within the means of the locks' allowed changes.


Now, while maintaining the ratios of the selection, it correctly returns left over change that could not be redistributed to the unlocked groups.

Commit Details:

Full Hash: 08cc1c6bb96084bcd9e70b19edf9048fffe1fd3d
SVN Revision: 41711
Parent Commit: ce15c0c
Lines Changed: +15, -11

1 Modified Path:

/source/blender/editors/sculpt_paint/paint_vertex.c (+15, -11) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021