use a better method for finding the precision to use for float buttons, about 4x...
authorCampbell Barton <ideasman42@gmail.com>
Thu, 9 Jun 2011 07:40:30 +0000 (07:40 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Thu, 9 Jun 2011 07:40:30 +0000 (07:40 +0000)
commit152b06dc825c9b674b56e469af1028a3f8e58d7f
treed0edf4420192173ff4e5f9246168acbb6604fb31
parent252f7c9af845c22b5f0a39aa3e14e8823dd7ebd2
use a better method for finding the precision to use for float buttons, about 4x faster to calculate and will show for eg, 0.0108 rather than 0.01, but 0.0100001 still displays as 0.01.
source/blender/editors/interface/interface.c