diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-03-06 01:01:42 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-03-06 01:01:42 +0300 |
commit | 1d21d6ca9a32d68e8b2457b60d416ee370a2009e (patch) | |
tree | 2c6e02d069017563e6faf378f78d5b331f7e0d44 /source/blender/blenlib/BLI_math_vector.h | |
parent | 0d9cb646248c11f052a6523e49269eb097c1d659 (diff) |
reproject
- use render mesh settings rather then view settings.
- fixed bug with brush size being overwritten and allowing non mesh objects to be projected onto.
- made the paint loop less messy & minor cleanup
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_vector.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h index fc2d257707a..c77f76a6674 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -147,8 +147,8 @@ void print_v2(char *str, float a[2]); void print_v3(char *str, float a[3]); void print_v4(char *str, float a[4]); -MINLINE void normal_short_to_float_v3(float r[3], short n[3]); -MINLINE void normal_float_to_short_v3(short r[3], float n[3]); +MINLINE void normal_short_to_float_v3(float r[3], const short n[3]); +MINLINE void normal_float_to_short_v3(short r[3], const float n[3]); void minmax_v3_v3v3(float r[3], float min[3], float max[3]); |