Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Hays <jason_hays22@mymail.eku.edu>2011-11-10 06:09:58 +0400
committerJason Hays <jason_hays22@mymail.eku.edu>2011-11-10 06:09:58 +0400
commit08cc1c6bb96084bcd9e70b19edf9048fffe1fd3d (patch)
tree5374fce021ec9884c3f5192094cec935f6949a10 /CMakeLists.txt
parentce15c0c943cb2ebf998ea77b15973a5118435be4 (diff)
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.
Diffstat (limited to 'CMakeLists.txt')
0 files changed, 0 insertions, 0 deletions