Cleanup: remove/comment unused defines
This commit is contained in:
parent
ae086deaa5
commit
8cae7a0dcc
|
@ -45,9 +45,6 @@
|
|||
|
||||
#include "CCGSubSurf.h"
|
||||
|
||||
/* assumes MLoop's are laid out 4 for each poly, in order */
|
||||
#define USE_LOOP_LAYOUT_FAST
|
||||
|
||||
static CCGDerivedMesh *getCCGDerivedMesh(CCGSubSurf *ss,
|
||||
int drawInteriorEdges,
|
||||
int useSubsurfUv,
|
||||
|
|
|
@ -223,11 +223,6 @@ static PanelType *fmodifier_subpanel_register(ARegionType *region_type,
|
|||
/** \name General UI Callbacks and Drawing
|
||||
* \{ */
|
||||
|
||||
/* XXX! -------------------------------- */
|
||||
/* Temporary definition for limits of float number buttons
|
||||
* (FLT_MAX tends to infinity with old system). */
|
||||
#define UI_FLT_MAX 10000.0f
|
||||
|
||||
#define B_REDR 1
|
||||
#define B_FMODIFIER_REDRAW 20
|
||||
|
||||
|
|
|
@ -38,7 +38,6 @@
|
|||
/* own includes */
|
||||
#include "../gizmo_library_intern.h"
|
||||
|
||||
#define GIZMO_RESIZER_SIZE 10.0f
|
||||
#define GIZMO_MARGIN_OFFSET_SCALE 1.5f
|
||||
|
||||
static void gizmo_calc_matrix_final_no_offset(const wmGizmo *gz,
|
||||
|
|
|
@ -57,10 +57,6 @@ struct wmTimer;
|
|||
#define UI_MENU_SCROLL_MOUSE (UI_MENU_SCROLL_ARROW + 2 * UI_DPI_FAC)
|
||||
#define UI_MENU_SCROLL_PAD (4 * UI_DPI_FAC)
|
||||
|
||||
/* panel limits */
|
||||
#define UI_PANEL_MINX 100
|
||||
#define UI_PANEL_MINY 70
|
||||
|
||||
/** Popover width (multiplied by #U.widget_unit) */
|
||||
#define UI_POPOVER_WIDTH_UNITS 10
|
||||
|
||||
|
|
|
@ -38,10 +38,6 @@
|
|||
|
||||
#include "view3d_intern.h"
|
||||
|
||||
#define B_SEL_VERT 110
|
||||
#define B_SEL_EDGE 111
|
||||
#define B_SEL_FACE 112
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Toggle Matcap Flip Operator
|
||||
* \{ */
|
||||
|
|
|
@ -650,7 +650,6 @@ typedef enum eBrushCurvesSculptDensityMode {
|
|||
} eBrushCurvesSculptDensityMode;
|
||||
|
||||
#define MAX_BRUSH_PIXEL_RADIUS 500
|
||||
#define GP_MAX_BRUSH_PIXEL_RADIUS 1000
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
|
@ -306,12 +306,12 @@ typedef struct Ipo {
|
|||
#define WO_MISTSTA 10
|
||||
#define WO_MISTHI 11
|
||||
|
||||
/* Stars are deprecated */
|
||||
#define WO_STAR_R 12
|
||||
#define WO_STAR_G 13
|
||||
#define WO_STAR_B 14
|
||||
#define WO_STARDIST 15
|
||||
#define WO_STARSIZE 16
|
||||
/* Stars are deprecated & unused. */
|
||||
// #define WO_STAR_R 12
|
||||
// #define WO_STAR_G 13
|
||||
// #define WO_STAR_B 14
|
||||
// #define WO_STARDIST 15
|
||||
// #define WO_STARSIZE 16
|
||||
|
||||
/* ********** Light (ID_LA) ********** */
|
||||
|
||||
|
|
|
@ -27,8 +27,8 @@ extern "C" {
|
|||
#define CLOTH_FORCE_SPRING_STRUCTURAL
|
||||
#define CLOTH_FORCE_SPRING_SHEAR
|
||||
#define CLOTH_FORCE_SPRING_BEND
|
||||
#define CLOTH_FORCE_SPRING_GOAL
|
||||
#define CLOTH_FORCE_EFFECTORS
|
||||
// #define CLOTH_FORCE_SPRING_GOAL /* UNUSED. */
|
||||
// #define CLOTH_FORCE_EFFECTORS /* UNUSED. */
|
||||
|
||||
//#define IMPLICIT_PRINT_SOLVER_INPUT_OUTPUT
|
||||
|
||||
|
|
Loading…
Reference in New Issue