|
Blender V4.3
|
#include <cstdlib>#include "BLI_utildefines.h"#include "RNA_access.hh"#include "RNA_define.hh"#include "RNA_enum_types.hh"#include "rna_internal.hh"#include "DNA_ID.h"#include "DNA_brush_types.h"#include "DNA_gpencil_legacy_types.h"#include "DNA_scene_types.h"#include "DNA_screen_types.h"#include "DNA_space_types.h"#include "BKE_brush.hh"#include "BKE_layer.hh"#include "BKE_material.h"#include "BKE_paint.hh"#include "ED_image.hh"#include "WM_api.hh"#include "WM_types.hh"#include "bmesh.hh"Go to the source code of this file.
Functions | |
| static void | rna_def_paint_curve (BlenderRNA *brna) |
| static void | rna_def_paint (BlenderRNA *brna) |
| static void | rna_def_sculpt (BlenderRNA *brna) |
| static void | rna_def_uv_sculpt (BlenderRNA *brna) |
| static void | rna_def_gp_paint (BlenderRNA *brna) |
| static void | rna_def_gp_vertexpaint (BlenderRNA *brna) |
| static void | rna_def_gp_sculptpaint (BlenderRNA *brna) |
| static void | rna_def_gp_weightpaint (BlenderRNA *brna) |
| static void | rna_def_vertex_paint (BlenderRNA *brna) |
| static void | rna_def_paint_mode (BlenderRNA *brna) |
| static void | rna_def_image_paint (BlenderRNA *brna) |
| static void | rna_def_particle_edit (BlenderRNA *brna) |
| static void | rna_def_gpencil_guides (BlenderRNA *brna) |
| static void | rna_def_gpencil_sculpt (BlenderRNA *brna) |
| static void | rna_def_curves_sculpt (BlenderRNA *brna) |
| void | RNA_def_sculpt_paint (BlenderRNA *brna) |
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 1631 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_path_func(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 972 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_path_func(), RNA_def_struct_ui_text(), and rna_enum_gpencil_paint_mode.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 999 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_path_func(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 990 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_path_func(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1008 of file rna_sculpt_paint.cc.
References RNA_def_struct(), RNA_def_struct_path_func(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1432 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 1525 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_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_gpencil_lock_axis_items.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1067 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_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL, PROP_POINTER, PROP_UNSIGNED, 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_path_func(), RNA_def_struct_sdna(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 540 of file rna_sculpt_paint.cc.
References FLT_MAX, NA_SELECTED, NC_BRUSH, NC_SCENE, ND_TOOLSETTINGS, 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_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_XYZ_LENGTH, 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 531 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 1044 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_path_func(), RNA_def_struct_sdna(), RNA_def_struct_ui_text(), and rna_enum_canvas_source_items.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1236 of file rna_sculpt_paint.cc.
References 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_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), 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, and SCE_SELECT_POINT.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 669 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, PROP_XYZ, 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_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, and EnumPropertyItem::value.
Referenced by RNA_def_sculpt_paint().
| void RNA_def_sculpt_paint | ( | BlenderRNA * | brna | ) |
Definition at line 1640 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_uv_sculpt(), rna_def_vertex_paint(), and RNA_define_animate_sdna().
|
static |
Definition at line 939 of file rna_sculpt_paint.cc.
References NC_SCENE, ND_TOOLSETTINGS, PROP_ENUM, PROP_FACTOR, PROP_FLOAT, PROP_INT, PROP_NONE, PROP_PIXEL, 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_ui_range(), RNA_def_property_ui_text(), RNA_def_property_update(), RNA_def_struct(), RNA_def_struct_path_func(), RNA_def_struct_ui_text(), and rna_enum_brush_curve_preset_items.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1018 of file rna_sculpt_paint.cc.
References NC_SCENE, ND_TOOLSETTINGS, PROP_BOOLEAN, PROP_INT, PROP_NONE, PROP_XYZ, RNA_def_property(), RNA_def_property_boolean_sdna(), RNA_def_property_int_default(), RNA_def_property_int_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(), RNA_def_struct_ui_text(), and VP_FLAG_VGROUP_RESTRICT.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 90 of file rna_sculpt_paint.cc.
Referenced by rna_def_paint_mode().
|
static |
Definition at line 50 of file rna_sculpt_paint.cc.
Referenced by rna_def_gpencil_sculpt().
|
static |
Definition at line 75 of file rna_sculpt_paint.cc.
Referenced by rna_def_gp_paint().
| const EnumPropertyItem rna_enum_particle_edit_hair_brush_items[] |
Definition at line 38 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 97 of file rna_sculpt_paint.cc.
Referenced by MESH_OT_symmetrize(), MESH_OT_symmetry_snap(), and rna_def_sculpt().