[Bf-blender-cvs] [de836ded787] soc-2019-bevel-profiles: Fix branch build error on windows.\n Increase max bmesh operator slots

Hans Goudey noreply at git.blender.org
Wed Jun 5 04:31:08 CEST 2019


Commit: de836ded787d0f11d000afa790c337ab4f1bc196
Author: Hans Goudey
Date:   Tue Jun 4 18:31:20 2019 -0400
Branches: soc-2019-bevel-profiles
https://developer.blender.org/rBde836ded787d0f11d000afa790c337ab4f1bc196

Fix branch build error on windows.\n Increase max bmesh operator slots

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

M	source/blender/bmesh/intern/bmesh_operator_api.h

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

diff --git a/source/blender/bmesh/intern/bmesh_operator_api.h b/source/blender/bmesh/intern/bmesh_operator_api.h
index 3b543835586..d4d87229569 100644
--- a/source/blender/bmesh/intern/bmesh_operator_api.h
+++ b/source/blender/bmesh/intern/bmesh_operator_api.h
@@ -294,8 +294,8 @@ typedef struct BMOpSlot {
   BLI_assert(((slot >= (op)->slots_in) && (slot < &(op)->slots_in[BMO_OP_MAX_SLOTS])) || \
              ((slot >= (op)->slots_out) && (slot < &(op)->slots_out[BMO_OP_MAX_SLOTS])))
 
-/* way more than probably needed, compiler complains if limit hit */
-#define BMO_OP_MAX_SLOTS 20
+/* Limit hit and, so expanded for bevel operator, compler complains if limit hit */
+#define BMO_OP_MAX_SLOTS 21
 
 /* BMOpDefine->type_flag */
 typedef enum {



More information about the Bf-blender-cvs mailing list