[Bf-blender-cvs] [2929cfe5ded] master: Cleanup: remove unused defines

Campbell Barton noreply at git.blender.org
Mon Jul 5 08:45:25 CEST 2021


Commit: 2929cfe5ded3c127d6d9d5996cd591878bb5cb58
Author: Campbell Barton
Date:   Mon Jul 5 12:49:04 2021 +1000
Branches: master
https://developer.blender.org/rB2929cfe5ded3c127d6d9d5996cd591878bb5cb58

Cleanup: remove unused defines

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

M	source/blender/editors/include/UI_interface.h
M	source/blender/makesdna/DNA_constraint_types.h

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

diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h
index 0ba214e7bf3..7a8c14d0a35 100644
--- a/source/blender/editors/include/UI_interface.h
+++ b/source/blender/editors/include/UI_interface.h
@@ -129,12 +129,6 @@ enum {
   UI_DIR_ALL = UI_DIR_UP | UI_DIR_DOWN | UI_DIR_LEFT | UI_DIR_RIGHT,
 };
 
-#if 0
-/* uiBlock->autofill (not yet used) */
-#  define UI_BLOCK_COLLUMNS 1
-#  define UI_BLOCK_ROWS 2
-#endif
-
 /** #uiBlock.flag (controls) */
 enum {
   UI_BLOCK_LOOP = 1 << 0,
diff --git a/source/blender/makesdna/DNA_constraint_types.h b/source/blender/makesdna/DNA_constraint_types.h
index 6531933af23..34f50b23c77 100644
--- a/source/blender/makesdna/DNA_constraint_types.h
+++ b/source/blender/makesdna/DNA_constraint_types.h
@@ -1196,13 +1196,6 @@ typedef enum eStretchTo_Flags {
   STRETCHTOCON_USE_BULGE_MAX = (1 << 1),
 } eStretchTo_Flags;
 
-/* important: these defines need to match up with PHY_DynamicTypes headerfile */
-#define CONSTRAINT_RB_BALL 1
-#define CONSTRAINT_RB_HINGE 2
-#define CONSTRAINT_RB_CONETWIST 4
-#define CONSTRAINT_RB_VEHICLE 11
-#define CONSTRAINT_RB_GENERIC6DOF 12
-
 #ifdef __cplusplus
 }
 #endif



More information about the Bf-blender-cvs mailing list