resolve some issues with curve resolution calculaction
authorCampbell Barton <ideasman42@gmail.com>
Sat, 4 Aug 2012 20:17:22 +0000 (20:17 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 4 Aug 2012 20:17:22 +0000 (20:17 +0000)
commit2044b62370f3e26037699577824201fb684578a1
tree013fe43267a73cec6ea2ffe0a340186ce66c7c7a
parent3d204744147c136a2d57ca3ba52e424b50ea48c2
resolve some issues with curve resolution calculaction
- resolution could become so high that it would wrap around  to a negative number, now check for small numbers before doing float division.
- resolution was being calculated in some cases when it already met the clamp value - now this is skipped.
source/blender/blenkernel/BKE_mask.h
source/blender/blenkernel/intern/mask.c
source/blender/blenkernel/intern/mask_rasterize.c
source/blender/editors/mask/mask_add.c