Skip to content
Snippets Groups Projects
Commit 6f07673c authored by Sergey Sharybin's avatar Sergey Sharybin
Browse files

Fix compilation error

Recent fix was assuming some cleanup is done.
parent 150dee26
Branches
Tags
No related merge requests found
...@@ -44,6 +44,7 @@ ...@@ -44,6 +44,7 @@
#include "BLI_math.h" #include "BLI_math.h"
#include "BLI_ghash.h" #include "BLI_ghash.h"
#include "BKE_utildefines.h"
#include "BKE_action.h" #include "BKE_action.h"
#include "BKE_armature.h" #include "BKE_armature.h"
#include "BKE_constraint.h" #include "BKE_constraint.h"
...@@ -1456,7 +1457,7 @@ static int armature_dissolve_selected_exec(bContext *C, wmOperator *UNUSED(op)) ...@@ -1456,7 +1457,7 @@ static int armature_dissolve_selected_exec(bContext *C, wmOperator *UNUSED(op))
if (ebone->flag & BONE_DONE) { if (ebone->flag & BONE_DONE) {
copy_v3_v3(ebone->parent->tail, ebone->tail); copy_v3_v3(ebone->parent->tail, ebone->tail);
ebone->parent->rad_tail = ebone->rad_tail; ebone->parent->rad_tail = ebone->rad_tail;
SET_FLAG_FROM_TEST(ebone->parent->flag, ebone->flag & BONE_TIPSEL, BONE_TIPSEL); BKE_BIT_TEST_SET(ebone->parent->flag, ebone->flag & BONE_TIPSEL, BONE_TIPSEL);
ED_armature_edit_bone_remove_ex(arm, ebone, false); ED_armature_edit_bone_remove_ex(arm, ebone, false);
changed = true; changed = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment