ensure functions are not used within FTOCHAR macro since they run 2-3 times.
authorCampbell Barton <ideasman42@gmail.com>
Sat, 14 Jan 2012 10:33:16 +0000 (10:33 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 14 Jan 2012 10:33:16 +0000 (10:33 +0000)
commitd14ac69c8c2340575cd453bd4cf473692de69f54
tree749abed0ea2bdb0affdbcd70bcb0ee609d2d5ad9
parent0863575816d281d4a7ffad351a8213367b6a938d
ensure functions are not used within FTOCHAR macro since they run 2-3 times.

brushes were doing curve lookups within this macro for example.
source/blender/blenkernel/BKE_brush.h
source/blender/blenkernel/intern/brush.c
source/blender/blenkernel/intern/dynamicpaint.c
source/blender/blenlib/BLI_math_color.h
source/blender/blenlib/intern/math_color.c
source/blender/editors/sculpt_paint/paint_image.c