Page MenuHome

Wrong lattice vertex weights
Closed, ResolvedPublic


Create a simple lattice.
Set one of its vertices to, let's say, Weight=1 (from the Transform panel).
Extend the selection to another vertex. Now, the median weight is 0.5.
Increase that median weight to 0.8.
What happens is that, instead of adding to the median, it adds +0.3 to each vertex, that is, the first will be 1.3 (beyond the maximum!) and the other 0.3.





Event Timeline

Yeah, code about this weight is indeed wrong (affects also curves, btw)… Fixing it using similar code to the one used for mesh’s crease and bevel weight is trivial (see attached patch), but I think we should rather make a small handy func to compute those factors – else, we end up repeating nearly the same (quite long) code four times :/

Will see this tomorrow!

Done in new patch… Also greatly simplified UI code for transform edit!

Fixed in svn44599.

Thanks for reporting. :)

Bastien Montagne (mont29) closed this task as Resolved.Mar 2 2012, 11:32 AM