fix for annoyance found when looking into bug [#25226].
authorCampbell Barton <ideasman42@gmail.com>
Wed, 15 Dec 2010 07:15:51 +0000 (07:15 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Wed, 15 Dec 2010 07:15:51 +0000 (07:15 +0000)
commitdbd3081895b6b03c8b321803e0fe2900b7577beb
treec4e281d7eed80f1e723d519e03bb193185395925
parent46ce8cdf58bdbab4074558fcbd550a3bcf55dde3
fix for annoyance found when looking into bug [#25226].

Changing the edge crease median value often wouldn't result in the median value entered because of clamping from 0-1.
Now the median crease is applied by scaling the values up/down.

also add some simple checks to speed up updates,
- don't move verts or recalculate normals if only crease changes.
- don't apply crease changes if location is being edited.
source/blender/editors/space_view3d/view3d_buttons.c