[Bf-blender-cvs] [6f07673ce45] blender-v2.79b-release: Fix compilation error

Sergey Sharybin noreply at git.blender.org
Thu Mar 22 09:56:40 CET 2018


Commit: 6f07673ce457740558906f156691db84d4c89999
Author: Sergey Sharybin
Date:   Thu Mar 22 09:56:06 2018 +0100
Branches: blender-v2.79b-release
https://developer.blender.org/rB6f07673ce457740558906f156691db84d4c89999

Fix compilation error

Recent fix was assuming some cleanup is done.

===================================================================

M	source/blender/editors/armature/armature_edit.c

===================================================================

diff --git a/source/blender/editors/armature/armature_edit.c b/source/blender/editors/armature/armature_edit.c
index 605754b76db..9e762e00719 100644
--- a/source/blender/editors/armature/armature_edit.c
+++ b/source/blender/editors/armature/armature_edit.c
@@ -44,6 +44,7 @@
 #include "BLI_math.h"
 #include "BLI_ghash.h"
 
+#include "BKE_utildefines.h"
 #include "BKE_action.h"
 #include "BKE_armature.h"
 #include "BKE_constraint.h"
@@ -1456,7 +1457,7 @@ static int armature_dissolve_selected_exec(bContext *C, wmOperator *UNUSED(op))
 		if (ebone->flag & BONE_DONE) {
 			copy_v3_v3(ebone->parent->tail, ebone->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);
 			changed = true;



More information about the Bf-blender-cvs mailing list