Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesdna/DNA_brush_defaults.h
| Show First 20 Lines • Show All 66 Lines • ▼ Show 20 Lines | \ | ||||
| .smooth_stroke_radius = 75, \ | .smooth_stroke_radius = 75, \ | ||||
| .smooth_stroke_factor = 0.9f, \ | .smooth_stroke_factor = 0.9f, \ | ||||
| \ | \ | ||||
| /* Time delay between dots of paint or sculpting when doing airbrush mode. */ \ | /* Time delay between dots of paint or sculpting when doing airbrush mode. */ \ | ||||
| .rate = 0.1f, \ | .rate = 0.1f, \ | ||||
| \ | \ | ||||
| .jitter = 0.0f, \ | .jitter = 0.0f, \ | ||||
| \ | \ | ||||
| /* Dash */ \ | |||||
| .dash_ratio = 1.0f, \ | |||||
| .dash_samples = 20, \ | |||||
| \ | |||||
| .texture_sample_bias = 0, /* value to added to texture samples */ \ | .texture_sample_bias = 0, /* value to added to texture samples */ \ | ||||
| .texture_overlay_alpha = 33, \ | .texture_overlay_alpha = 33, \ | ||||
| .mask_overlay_alpha = 33, \ | .mask_overlay_alpha = 33, \ | ||||
| .cursor_overlay_alpha = 33, \ | .cursor_overlay_alpha = 33, \ | ||||
| .overlay_flags = 0, \ | .overlay_flags = 0, \ | ||||
| \ | \ | ||||
| /* brush appearance */ \ | /* brush appearance */ \ | ||||
| \ | \ | ||||
| /* add mode color is light red */ \ | /* add mode color is light red */ \ | ||||
| .add_col = {1.0, 0.39, 0.39}, \ | .add_col = {1.0, 0.39, 0.39}, \ | ||||
| \ | \ | ||||
| /* subtract mode color is light blue */ \ | /* subtract mode color is light blue */ \ | ||||
| .sub_col = {0.39, 0.39, 1.0}, \ | .sub_col = {0.39, 0.39, 1.0}, \ | ||||
| \ | \ | ||||
| .stencil_pos = {256, 256}, \ | .stencil_pos = {256, 256}, \ | ||||
| .stencil_dimension = {256, 256}, \ | .stencil_dimension = {256, 256}, \ | ||||
| \ | \ | ||||
| /* sculpting defaults to the draw tool for new brushes */ \ | /* sculpting defaults to the draw tool for new brushes */ \ | ||||
| .sculpt_tool = SCULPT_TOOL_DRAW, \ | .sculpt_tool = SCULPT_TOOL_DRAW, \ | ||||
| .pose_smooth_iterations = 4, \ | |||||
| \ | \ | ||||
| /* A kernel radius of 1 has almost no effect (T63233). */ \ | /* A kernel radius of 1 has almost no effect (T63233). */ \ | ||||
| .blur_kernel_radius = 2, \ | .blur_kernel_radius = 2, \ | ||||
| \ | \ | ||||
| .mtex = _DNA_DEFAULT_MTex, \ | .mtex = _DNA_DEFAULT_MTex, \ | ||||
| .mask_mtex = _DNA_DEFAULT_MTex, \ | .mask_mtex = _DNA_DEFAULT_MTex, \ | ||||
| } | } | ||||
| /** \} */ | /** \} */ | ||||
| /* clang-format on */ | /* clang-format on */ | ||||
| #endif /* __DNA_BRUSH_DEFAULTS_H__ */ | #endif /* __DNA_BRUSH_DEFAULTS_H__ */ | ||||