Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_brush_types.h
| Show First 20 Lines • Show All 138 Lines • ▼ Show 20 Lines | |||||
| typedef struct BrushCurvesSculptSettings { | typedef struct BrushCurvesSculptSettings { | ||||
| /** Number of curves added by the add brush. */ | /** Number of curves added by the add brush. */ | ||||
| int add_amount; | int add_amount; | ||||
| /* eBrushCurvesSculptFlag. */ | /* eBrushCurvesSculptFlag. */ | ||||
| uint32_t flag; | uint32_t flag; | ||||
| /** When shrinking curves, they shouldn't become shorter than this length. */ | /** When shrinking curves, they shouldn't become shorter than this length. */ | ||||
| float minimum_length; | float minimum_length; | ||||
| /** Length of newly added curves when it is not interpolated from other curves. */ | |||||
| float curve_length; | |||||
| } BrushCurvesSculptSettings; | } BrushCurvesSculptSettings; | ||||
| typedef struct Brush { | typedef struct Brush { | ||||
| ID id; | ID id; | ||||
| struct BrushClone clone; | struct BrushClone clone; | ||||
| /** Falloff curve. */ | /** Falloff curve. */ | ||||
| struct CurveMapping *curve; | struct CurveMapping *curve; | ||||
| ▲ Show 20 Lines • Show All 265 Lines • Show Last 20 Lines | |||||