Blender
V3.3
|
#include <stdlib.h>
#include "BLI_math.h"
#include "BLI_utildefines.h"
#include "RNA_define.h"
#include "RNA_enum_types.h"
#include "rna_internal.h"
#include "DNA_ID.h"
#include "DNA_brush_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "DNA_space_types.h"
#include "BKE_brush.h"
#include "BKE_material.h"
#include "BKE_paint.h"
#include "ED_image.h"
#include "WM_api.h"
#include "WM_types.h"
#include "bmesh.h"
Go to the source code of this file.
Functions | |
static void | rna_def_paint_curve (BlenderRNA *brna) |
static void | rna_def_paint_tool_slot (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 1586 of file rna_sculpt_paint.c.
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 951 of file rna_sculpt_paint.c.
References NC_SCENE, ND_TOOLSETTINGS, NULL, 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 978 of file rna_sculpt_paint.c.
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 969 of file rna_sculpt_paint.c.
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 987 of file rna_sculpt_paint.c.
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 1411 of file rna_sculpt_paint.c.
References 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, NULL, 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 1504 of file rna_sculpt_paint.c.
References GP_SCULPT_FLAG_INVERT, 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, NULL, PROP_ANIMATABLE, PROP_BOOLEAN, prop_direction_items, 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(), rna_enum_gpencil_lock_axis_items, and UNUSED_VARS.
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1046 of file rna_sculpt_paint.c.
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, NULL, 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 616 of file rna_sculpt_paint.c.
References NC_SCENE, ND_TOOLSETTINGS, NULL, PAINT_FAST_NAVIGATE, PAINT_MAX_INPUT_SAMPLES, 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_COLLECTION, PROP_EDITABLE, PROP_FLOAT, PROP_INT, PROP_NEVER_NULL, PROP_NONE, PROP_POINTER, PROP_UNSIGNED, PROP_XYZ_LENGTH, RNA_def_property(), RNA_def_property_array(), RNA_def_property_boolean_sdna(), RNA_def_property_collection_funcs(), RNA_def_property_collection_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(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 593 of file rna_sculpt_paint.c.
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 1023 of file rna_sculpt_paint.c.
References NULL, 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 602 of file rna_sculpt_paint.c.
References NULL, PROP_EDITABLE, PROP_NONE, PROP_POINTER, RNA_def_property(), RNA_def_property_flag(), RNA_def_property_pointer_funcs(), RNA_def_property_ui_text(), RNA_def_struct(), and RNA_def_struct_ui_text().
Referenced by RNA_def_sculpt_paint().
|
static |
Definition at line 1215 of file rna_sculpt_paint.c.
References MAX_BRUSH_PIXEL_RADIUS, NC_OBJECT, NC_SCENE, ND_DRAW, ND_TOOLSETTINGS, NULL, 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 732 of file rna_sculpt_paint.c.
References BRUSH_AUTOMASKING_BOUNDARY_EDGES, BRUSH_AUTOMASKING_BOUNDARY_FACE_SETS, BRUSH_AUTOMASKING_FACE_SETS, BRUSH_AUTOMASKING_TOPOLOGY, NC_OBJECT, NC_SCENE, ND_DRAW, ND_TOOLSETTINGS, NULL, 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_XYZ, RNA_def_property(), RNA_def_property_boolean_negative_sdna(), RNA_def_property_boolean_sdna(), RNA_def_property_enum_bitflag_sdna(), RNA_def_property_enum_items(), RNA_def_property_flag(), RNA_def_property_float_sdna(), RNA_def_property_int_default(), RNA_def_property_int_sdna(), RNA_def_property_range(), 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_symmetrize_direction_items, SCULPT_DYNTOPO_COLLAPSE, SCULPT_DYNTOPO_DETAIL_BRUSH, SCULPT_DYNTOPO_DETAIL_CONSTANT, SCULPT_DYNTOPO_DETAIL_MANUAL, SCULPT_DYNTOPO_SMOOTH_SHADING, SCULPT_DYNTOPO_SUBDIVIDE, SCULPT_HIDE_FACE_SETS, SCULPT_HIDE_MASK, SCULPT_LOCK_X, SCULPT_LOCK_Y, SCULPT_LOCK_Z, SCULPT_ONLY_DEFORM, SCULPT_TRANSFORM_MODE_ALL_VERTICES, and SCULPT_TRANSFORM_MODE_RADIUS_ELASTIC.
Referenced by RNA_def_sculpt_paint().
void RNA_def_sculpt_paint | ( | BlenderRNA * | brna | ) |
Definition at line 1595 of file rna_sculpt_paint.c.
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_paint_tool_slot(), rna_def_particle_edit(), rna_def_sculpt(), rna_def_uv_sculpt(), rna_def_vertex_paint(), and RNA_define_animate_sdna().
|
static |
Definition at line 942 of file rna_sculpt_paint.c.
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 997 of file rna_sculpt_paint.c.
References NC_SCENE, ND_TOOLSETTINGS, NULL, 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 87 of file rna_sculpt_paint.c.
Referenced by rna_def_paint_mode().
|
static |
Definition at line 47 of file rna_sculpt_paint.c.
Referenced by rna_def_gpencil_sculpt().
|
static |
Definition at line 72 of file rna_sculpt_paint.c.
Referenced by rna_def_gp_paint().
const EnumPropertyItem rna_enum_particle_edit_hair_brush_items[] |
Definition at line 35 of file rna_sculpt_paint.c.
Referenced by rna_def_particle_edit(), toolsystem_ref_link(), and WM_toolsystem_ref_sync_from_context().
const EnumPropertyItem rna_enum_symmetrize_direction_items[] |
Definition at line 94 of file rna_sculpt_paint.c.
Referenced by MESH_OT_symmetrize(), MESH_OT_symmetry_snap(), and rna_def_sculpt().