|
Blender V5.0
|
#include <cstdlib>#include "BLI_math_base.h"#include "BLT_translation.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "rna_internal.hh"#include "DNA_brush_types.h"#include "DNA_scene_types.h"#include "BKE_paint.hh"#include "WM_api.hh"#include "WM_types.hh"#include "bmesh.hh"Go to the source code of this file.
Variables | |
| const EnumPropertyItem | rna_enum_particle_edit_hair_brush_items [] |
| static const EnumPropertyItem | rna_enum_gpencil_lock_axis_items [] |
| static const EnumPropertyItem | rna_enum_gpencil_paint_mode [] |
| static const EnumPropertyItem | rna_enum_canvas_source_items [] |
| const EnumPropertyItem | rna_enum_symmetrize_direction_items [] |
|
static |
Definition at line 1963 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1290 of file rna_sculpt_paint.cc.
References NC_SCENE, ND_TOOLSETTINGS, PROP_ANIMATABLE, PROP_ENUM, PROP_NONE, RNA_def_property(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), rna_enum_gpencil_paint_mode, and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1319 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1309 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1329 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1763 of file rna_sculpt_paint.cc.
References FLT_MAX, GP_GUIDE_CIRCULAR, GP_GUIDE_GRID, GP_GUIDE_ISO, GP_GUIDE_PARALLEL, GP_GUIDE_RADIAL, GP_GUIDE_REF_CURSOR, GP_GUIDE_REF_CUSTOM, GP_GUIDE_REF_OBJECT, M_PI, NC_SCENE, ND_TOOLSETTINGS, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FLOAT, PROP_ID_SELF_CHECK, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_default(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1856 of file rna_sculpt_paint.cc.
References GP_SCULPT_SETT_FLAG_AUTOMASK_LAYER_ACTIVE, GP_SCULPT_SETT_FLAG_AUTOMASK_LAYER_STROKE, GP_SCULPT_SETT_FLAG_AUTOMASK_MATERIAL_ACTIVE, GP_SCULPT_SETT_FLAG_AUTOMASK_MATERIAL_STROKE, GP_SCULPT_SETT_FLAG_AUTOMASK_STROKE, GP_SCULPT_SETT_FLAG_FRAME_FALLOFF, GP_SCULPT_SETT_FLAG_PRIMITIVE_CURVE, GP_SCULPT_SETT_FLAG_SCALE_THICKNESS, NC_GPENCIL, NC_SCENE, ND_DATA, ND_TOOLSETTINGS, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_ENUM, PROP_FLOAT, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_gpencil_lock_axis_items, and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1382 of file rna_sculpt_paint.cc.
References IMAGEPAINT_INTERP_CLOSEST, IMAGEPAINT_INTERP_LINEAR, IMAGEPAINT_MISSING_MATERIAL, IMAGEPAINT_MISSING_STENCIL, IMAGEPAINT_MISSING_TEX, IMAGEPAINT_MISSING_UVS, IMAGEPAINT_MODE_IMAGE, IMAGEPAINT_MODE_MATERIAL, IMAGEPAINT_PROJECT_BACKFACE, IMAGEPAINT_PROJECT_FLAT, IMAGEPAINT_PROJECT_LAYER_CLONE, IMAGEPAINT_PROJECT_LAYER_STENCIL, IMAGEPAINT_PROJECT_LAYER_STENCIL_INV, IMAGEPAINT_PROJECT_XRAY, NC_SCENE, ND_TOOLSETTINGS, PROP_BOOLEAN, PROP_COLOR_GAMMA, PROP_CONTEXT_UPDATE, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL, PROP_POINTER, PROP_UNSIGNED, PROP_XYZ, RNA_def_boolean(), RNA_def_function(), RNA_def_function_return(), RNA_def_function_ui_description(), RNA_def_int_array(), RNA_def_property(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_subtype(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 644 of file rna_sculpt_paint.cc.
References FLT_MAX, NA_SELECTED, NC_BRUSH, NC_SCENE, ND_TOOLSETTINGS, PAINT_CURVE_SHOW_JITTER, PAINT_CURVE_SHOW_SIZE, PAINT_CURVE_SHOW_STRENGTH, PAINT_FAST_NAVIGATE, PAINT_SCULPT_DELAY_UPDATES, PAINT_SHOW_BRUSH, PAINT_SHOW_BRUSH_ON_SURFACE, PAINT_SYMM_X, PAINT_SYMM_Y, PAINT_SYMM_Z, PAINT_SYMMETRY_FEATHER, PAINT_TILE_X, PAINT_TILE_Y, PAINT_TILE_Z, PAINT_USE_CAVITY_MASK, PROP_BOOLEAN, PROP_EDITABLE, PROP_FLOAT, PROP_ID_REFCOUNT, PROP_NEVER_NULL, PROP_NEVER_UNLINK, PROP_NONE, PROP_POINTER, PROP_XYZ_LENGTH, rna_def_paint_curve_visibility_flag(), RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 622 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_ui_icon(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 631 of file rna_sculpt_paint.cc.
References flag, NC_SCENE, ND_TOOLSETTINGS, PROP_BOOLEAN, PROP_NONE, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_ui_text(), and RNA_def_property_update().
Referenced by rna_def_paint().
|
static |
Definition at line 1358 of file rna_sculpt_paint.cc.
References PROP_CONTEXT_UPDATE, PROP_EDITABLE, PROP_ENUM, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_canvas_source_items, and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1564 of file rna_sculpt_paint.cc.
References BLT_I18NCONTEXT_AMOUNT, BLT_I18NCONTEXT_OPERATOR_DEFAULT, MAX_BRUSH_PIXEL_RADIUS, NC_OBJECT, NC_SCENE, ND_DRAW, ND_TOOLSETTINGS, PE_AUTO_VELOCITY, PE_BRUSH_DATA_PUFF_VOLUME, PE_DEFLECT_EMITTER, PE_DRAW_PART, PE_FADE_TIME, PE_INTERPOLATE_ADDED, PE_KEEP_LENGTHS, PE_LOCK_FIRST, PE_TYPE_CLOTH, PE_TYPE_PARTICLES, PE_TYPE_SOFTBODY, PROP_BOOLEAN, PROP_CONTEXT_UPDATE, PROP_DISTANCE, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL, PROP_POINTER, RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_enum_sdna(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_sdna(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_translation_context(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), rna_enum_particle_edit_hair_brush_items, SCE_SELECT_END, SCE_SELECT_PATH, SCE_SELECT_POINT, and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 991 of file rna_sculpt_paint.cc.
References AUTOMASKING_BOUNDARY_EDGES_MAX_PROPAGATION_STEPS, BRUSH_AUTOMASKING_BRUSH_NORMAL, BRUSH_AUTOMASKING_CAVITY_INVERTED, BRUSH_AUTOMASKING_CAVITY_NORMAL, BRUSH_AUTOMASKING_VIEW_NORMAL, BRUSH_AUTOMASKING_VIEW_OCCLUSION, EnumPropertyItem::description, FLT_MAX, EnumPropertyItem::identifier, M_PI, EnumPropertyItem::name, NC_OBJECT, NC_SCENE, ND_DRAW, ND_TOOLSETTINGS, PROP_ANGLE, PROP_ANIMATABLE, PROP_BOOLEAN, PROP_CONTEXT_UPDATE, PROP_EDITABLE, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PERCENTAGE, PROP_PIXEL, PROP_POINTER, PROP_SCALE_CUBIC, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_boolean_funcs(), RNA_def_property_boolean_sdna(), RNA_def_property_clear_flag(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_float_default(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_int_sdna(), RNA_def_property_pointer_sdna(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_ui_range(), RNA_def_property_ui_scale_type(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), rna_enum_brush_automasking_flag_items, rna_enum_symmetrize_direction_items, SCULPT_DYNTOPO_COLLAPSE, SCULPT_DYNTOPO_DETAIL_BRUSH, SCULPT_DYNTOPO_DETAIL_CONSTANT, SCULPT_DYNTOPO_DETAIL_MANUAL, SCULPT_DYNTOPO_SUBDIVIDE, SCULPT_LOCK_X, SCULPT_LOCK_Y, SCULPT_LOCK_Z, SCULPT_ONLY_DEFORM, SCULPT_TRANSFORM_MODE_ALL_VERTICES, SCULPT_TRANSFORM_MODE_RADIUS_ELASTIC, STRUCT_UNDO, and EnumPropertyItem::value.
Referenced by RNA_def_sculpt_paint().
| void RNA_def_sculpt_paint | ( | BlenderRNA * | brna | ) |
Definition at line 1973 of file rna_sculpt_paint.cc.
References rna_def_curves_sculpt(), rna_def_gp_paint(), rna_def_gp_sculptpaint(), rna_def_gp_vertexpaint(), rna_def_gp_weightpaint(), rna_def_gpencil_guides(), rna_def_gpencil_sculpt(), rna_def_image_paint(), rna_def_paint(), rna_def_paint_curve(), rna_def_paint_mode(), rna_def_particle_edit(), rna_def_sculpt(), rna_def_unified_paint_settings(), rna_def_uv_sculpt(), rna_def_vertex_paint(), and RNA_define_animate_sdna().
|
static |
Definition at line 787 of file rna_sculpt_paint.cc.
References BRUSH_COLOR_JITTER_USE_HUE_AT_STROKE, BRUSH_COLOR_JITTER_USE_HUE_RAND_PRESS, BRUSH_COLOR_JITTER_USE_SAT_AT_STROKE, BRUSH_COLOR_JITTER_USE_SAT_RAND_PRESS, BRUSH_COLOR_JITTER_USE_VAL_AT_STROKE, BRUSH_COLOR_JITTER_USE_VAL_RAND_PRESS, FLT_MAX, MAX_BRUSH_PIXEL_DIAMETER, NC_SCENE, ND_TOOLSETTINGS, PAINT_MAX_INPUT_SAMPLES, PROP_BOOLEAN, PROP_COLOR, PROP_CONTEXT_UPDATE, PROP_DISTANCE_DIAMETER, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL_DIAMETER, PROP_UNSIGNED, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_float_funcs(), RNA_def_property_float_sdna(), RNA_def_property_int_funcs(), RNA_def_property_int_sdna(), RNA_def_property_range(), RNA_def_property_ui_icon(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), STRUCT_UNDO, UNIFIED_PAINT_ALPHA, UNIFIED_PAINT_BRUSH_LOCK_SIZE, UNIFIED_PAINT_COLOR, UNIFIED_PAINT_COLOR_JITTER, UNIFIED_PAINT_INPUT_SAMPLES, UNIFIED_PAINT_SIZE, and UNIFIED_PAINT_WEIGHT.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1254 of file rna_sculpt_paint.cc.
References BLT_I18NCONTEXT_AMOUNT, BLT_I18NCONTEXT_ID_CURVE_LEGACY, MAX_BRUSH_PIXEL_DIAMETER, NC_SCENE, ND_TOOLSETTINGS, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL_DIAMETER, PROP_POINTER, RNA_def_property(), RNA_def_property_enum_funcs(), RNA_def_property_enum_items(), RNA_def_property_pointer_funcs(), RNA_def_property_range(), RNA_def_property_struct_type(), RNA_def_property_translation_context(), RNA_def_property_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), rna_enum_brush_curve_preset_items, and STRUCT_UNDO.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1340 of file rna_sculpt_paint.cc.
References NC_SCENE, ND_TOOLSETTINGS, PROP_BOOLEAN, PROP_NONE, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_clear_flag(), RNA_def_struct_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), STRUCT_UNDO, and VP_FLAG_VGROUP_RESTRICT.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 82 of file rna_sculpt_paint.cc.
Referenced by rna_def_paint_mode().
|
static |
Definition at line 42 of file rna_sculpt_paint.cc.
Referenced by rna_def_gpencil_sculpt().
|
static |
Definition at line 67 of file rna_sculpt_paint.cc.
Referenced by rna_def_gp_paint().
| const EnumPropertyItem rna_enum_particle_edit_hair_brush_items[] |
Definition at line 30 of file rna_sculpt_paint.cc.
Referenced by rna_def_particle_edit(), toolsystem_brush_activate_from_toolref_for_object_particle(), and WM_toolsystem_ref_sync_from_context().
| const EnumPropertyItem rna_enum_symmetrize_direction_items[] |
Definition at line 89 of file rna_sculpt_paint.cc.
Referenced by MESH_OT_symmetrize(), MESH_OT_symmetry_snap(), and rna_def_sculpt().