diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-16 11:57:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-16 11:57:58 +0300 |
commit | 45042f6a035dd8f2c21512af567a10db0b052a3c (patch) | |
tree | 5f3f19171a4def575f6a3d89aca3fcb817658162 /source/blender/editors/armature/armature_edit.c | |
parent | 735653cda86c88c4768bf0456afd8112044704fd (diff) |
Fix uninitialized cursor w/ setting object origin
Diffstat (limited to 'source/blender/editors/armature/armature_edit.c')
-rw-r--r-- | source/blender/editors/armature/armature_edit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c index c262cbdd556..845730faadd 100644 --- a/source/blender/editors/armature/armature_edit.c +++ b/source/blender/editors/armature/armature_edit.c @@ -141,7 +141,7 @@ void ED_armature_transform(Main *bmain, bArmature *arm, float mat[4][4], const b /* exported for use in editors/object/ */ /* 0 == do center, 1 == center new, 2 == center cursor */ -void ED_armature_origin_set(Main *bmain, Object *ob, float cursor[3], int centermode, int around) +void ED_armature_origin_set(Main *bmain, Object *ob, const float cursor[3], int centermode, int around) { const bool is_editmode = BKE_object_is_in_editmode(ob); EditBone *ebone; |