Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_scene_types.h
| Show First 20 Lines • Show All 1,119 Lines • ▼ Show 20 Lines | typedef struct GP_Sculpt_Settings { | ||||
| struct CurveMapping *cur_primitive; | struct CurveMapping *cur_primitive; | ||||
| /** Guides used for paint tools */ | /** Guides used for paint tools */ | ||||
| struct GP_Sculpt_Guide guide; | struct GP_Sculpt_Guide guide; | ||||
| } GP_Sculpt_Settings; | } GP_Sculpt_Settings; | ||||
| /* GP_Sculpt_Settings.flag */ | /* GP_Sculpt_Settings.flag */ | ||||
| typedef enum eGP_Sculpt_SettingsFlag { | typedef enum eGP_Sculpt_SettingsFlag { | ||||
| /* only affect selected points */ | /* only affect selected points */ | ||||
| GP_SCULPT_SETT_FLAG_SELECT_MASK = (1 << 0), | GP_SCULPT_SETT_FLAG_DEPRECATED = (1 << 0), | ||||
| /* apply brush to position */ | /* apply brush to position */ | ||||
| GP_SCULPT_SETT_FLAG_APPLY_POSITION = (1 << 1), | GP_SCULPT_SETT_FLAG_APPLY_POSITION = (1 << 1), | ||||
| /* apply brush to strength */ | /* apply brush to strength */ | ||||
| GP_SCULPT_SETT_FLAG_APPLY_STRENGTH = (1 << 2), | GP_SCULPT_SETT_FLAG_APPLY_STRENGTH = (1 << 2), | ||||
| /* apply brush to thickness */ | /* apply brush to thickness */ | ||||
| GP_SCULPT_SETT_FLAG_APPLY_THICKNESS = (1 << 3), | GP_SCULPT_SETT_FLAG_APPLY_THICKNESS = (1 << 3), | ||||
| /* apply brush to thickness */ | /* apply brush to thickness */ | ||||
| GP_SCULPT_SETT_FLAG_WEIGHT_MODE = (1 << 4), | GP_SCULPT_SETT_FLAG_WEIGHT_MODE = (1 << 4), | ||||
| /* enable falloff for multiframe editing */ | /* enable falloff for multiframe editing */ | ||||
| GP_SCULPT_SETT_FLAG_FRAME_FALLOFF = (1 << 5), | GP_SCULPT_SETT_FLAG_FRAME_FALLOFF = (1 << 5), | ||||
| /* apply brush to uv data */ | /* apply brush to uv data */ | ||||
| GP_SCULPT_SETT_FLAG_APPLY_UV = (1 << 6), | GP_SCULPT_SETT_FLAG_APPLY_UV = (1 << 6), | ||||
| /* apply primitive curve */ | /* apply primitive curve */ | ||||
| GP_SCULPT_SETT_FLAG_PRIMITIVE_CURVE = (1 << 7), | GP_SCULPT_SETT_FLAG_PRIMITIVE_CURVE = (1 << 7), | ||||
| } eGP_Sculpt_SettingsFlag; | } eGP_Sculpt_SettingsFlag; | ||||
| /* GP_Sculpt_Settings.gpencil_selectmode_sculpt */ | |||||
| typedef enum eGP_Sculpt_SelectMaskFlag { | |||||
| /* only affect selected points */ | |||||
| GP_SCULPT_MASK_SELECTMODE_POINT = (1 << 0), | |||||
| /* only affect selected strokes */ | |||||
| GP_SCULPT_MASK_SELECTMODE_STROKE = (1 << 1), | |||||
| /* only affect selected segmenst */ | |||||
| GP_SCULPT_MASK_SELECTMODE_SEGMENT = (1 << 2), | |||||
| } eGP_Sculpt_SelectMaskFlag; | |||||
| /* Settings for GP Interpolation Operators */ | /* Settings for GP Interpolation Operators */ | ||||
| typedef struct GP_Interpolate_Settings { | typedef struct GP_Interpolate_Settings { | ||||
| /** #eGP_Interpolate_SettingsFlag. */ | /** #eGP_Interpolate_SettingsFlag. */ | ||||
| short flag; | short flag; | ||||
| /** #eGP_Interpolate_Type - Interpolation Mode. */ | /** #eGP_Interpolate_Type - Interpolation Mode. */ | ||||
| char type; | char type; | ||||
| /** #eBezTriple_Easing - Easing mode (if easing equation used). */ | /** #eBezTriple_Easing - Easing mode (if easing equation used). */ | ||||
| ▲ Show 20 Lines • Show All 254 Lines • ▼ Show 20 Lines | typedef struct ToolSettings { | ||||
| char gpencil_ima_align; | char gpencil_ima_align; | ||||
| /* Annotations */ | /* Annotations */ | ||||
| /** Stroke placement settings - 3D View. */ | /** Stroke placement settings - 3D View. */ | ||||
| char annotate_v3d_align; | char annotate_v3d_align; | ||||
| /** Default stroke thickness for annotation strokes. */ | /** Default stroke thickness for annotation strokes. */ | ||||
| short annotate_thickness; | short annotate_thickness; | ||||
| /** Stroke selection mode. */ | /** Stroke selection mode for Edit. */ | ||||
| short gpencil_selectmode; | char gpencil_selectmode_edit; | ||||
| /** Stroke selection mode for Sculpt. */ | |||||
| char gpencil_selectmode_sculpt; | |||||
| /* Grease Pencil Sculpt */ | /* Grease Pencil Sculpt */ | ||||
| struct GP_Sculpt_Settings gp_sculpt; | struct GP_Sculpt_Settings gp_sculpt; | ||||
| /* Grease Pencil Interpolation Tool(s) */ | /* Grease Pencil Interpolation Tool(s) */ | ||||
| struct GP_Interpolate_Settings gp_interpolate; | struct GP_Interpolate_Settings gp_interpolate; | ||||
| /* Image Paint (8 bytes aligned please!) */ | /* Image Paint (8 bytes aligned please!) */ | ||||
| ▲ Show 20 Lines • Show All 980 Lines • Show Last 20 Lines | |||||