Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-05-06 13:20:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-05-06 13:20:03 +0400
commit35380cdcad60a30d51a6fb6ae4e9f3606067aa5b (patch)
tree26e3404579e51ba236022353d0108615b6b851ee /source/blender/blenlib/intern/math_vector.c
parent7fddd7f013f15590b75e20f00c47f29ae1d47eb7 (diff)
Fix for uninitialized unit_use_radians variable with inset and bevel
Diffstat (limited to 'source/blender/blenlib/intern/math_vector.c')
-rw-r--r--source/blender/blenlib/intern/math_vector.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_vector.c b/source/blender/blenlib/intern/math_vector.c
index cfe33dd534a..7d3829f04d3 100644
--- a/source/blender/blenlib/intern/math_vector.c
+++ b/source/blender/blenlib/intern/math_vector.c
@@ -992,6 +992,15 @@ void fill_vn_i(int *array_tar, const int size, const int val)
}
}
+void fill_vn_short(short *array_tar, const int size, const short val)
+{
+ short *tar = array_tar + (size - 1);
+ int i = size;
+ while (i--) {
+ *(tar--) = val;
+ }
+}
+
void fill_vn_ushort(unsigned short *array_tar, const int size, const unsigned short val)
{
unsigned short *tar = array_tar + (size - 1);