Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_curves_types.h
| Show First 20 Lines • Show All 149 Lines • ▼ Show 20 Lines | typedef struct Curves { | ||||
| /* Draw Cache. */ | /* Draw Cache. */ | ||||
| void *batch_cache; | void *batch_cache; | ||||
| } Curves; | } Curves; | ||||
| /** #Curves.flag */ | /** #Curves.flag */ | ||||
| enum { | enum { | ||||
| HA_DS_EXPAND = (1 << 0), | HA_DS_EXPAND = (1 << 0), | ||||
| CV_SCULPT_SELECTION_ENABLED = (1 << 1), | CV_SCULPT_SELECTION_ENABLED = (1 << 1), | ||||
| CV_SCULPT_COLLISION_ENABLED = (1 << 2), | |||||
| }; | }; | ||||
| /** #Curves.symmetry */ | /** #Curves.symmetry */ | ||||
| typedef enum eCurvesSymmetryType { | typedef enum eCurvesSymmetryType { | ||||
| CURVES_SYMMETRY_X = 1 << 0, | CURVES_SYMMETRY_X = 1 << 0, | ||||
| CURVES_SYMMETRY_Y = 1 << 1, | CURVES_SYMMETRY_Y = 1 << 1, | ||||
| CURVES_SYMMETRY_Z = 1 << 2, | CURVES_SYMMETRY_Z = 1 << 2, | ||||
| } eCurvesSymmetryType; | } eCurvesSymmetryType; | ||||
| ENUM_OPERATORS(eCurvesSymmetryType, CURVES_SYMMETRY_Z) | ENUM_OPERATORS(eCurvesSymmetryType, CURVES_SYMMETRY_Z) | ||||
| /* Only one material supported currently. */ | /* Only one material supported currently. */ | ||||
| #define CURVES_MATERIAL_NR 1 | #define CURVES_MATERIAL_NR 1 | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||