34 {
PAROBJECT,
"OBJECT", 0,
"Object",
"The layer is parented to an object"},
35 {
PARSKEL,
"ARMATURE", 0,
"Armature",
""},
36 {
PARBONE,
"BONE", 0,
"Bone",
"The layer is parented to a bone"},
46 "Display strokes using grease pencil layers to define order"},
47 {
GP_DRAWMODE_3D,
"3D", 0,
"3D Location",
"Display strokes using real 3D position in 3D space"},
56 "Frames in absolute range of the scene frame"},
61 "Frames in relative range of the Grease Pencil keyframes"},
69 ICON_KEYTYPE_KEYFRAME_VEC,
71 "Normal keyframe - e.g. for key poses"},
74 ICON_KEYTYPE_BREAKDOWN_VEC,
76 "A breakdown pose - e.g. for transitions between key poses"},
79 ICON_KEYTYPE_MOVING_HOLD_VEC,
81 "A keyframe that is part of a moving hold"},
84 ICON_KEYTYPE_EXTREME_VEC,
86 "An 'extreme' pose, or some other purpose as needed"},
89 ICON_KEYTYPE_JITTER_VEC,
91 "A filler or baked keyframe for keying on ones, or some other purpose as needed"},
96 {-1,
"ALL", 0,
"All",
"Include all Keyframe types"},
99 ICON_KEYTYPE_KEYFRAME_VEC,
101 "Normal keyframe - e.g. for key poses"},
104 ICON_KEYTYPE_BREAKDOWN_VEC,
106 "A breakdown pose - e.g. for transitions between key poses"},
109 ICON_KEYTYPE_MOVING_HOLD_VEC,
111 "A keyframe that is part of a moving hold"},
114 ICON_KEYTYPE_EXTREME_VEC,
116 "An 'extreme' pose, or some other purpose as needed"},
119 ICON_KEYTYPE_JITTER_VEC,
121 "A filler or baked keyframe for keying on ones, or some other purpose as needed"},
126 {-1,
"UP", 0,
"Up",
""},
127 {1,
"DOWN", 0,
"Down",
""},
171 if (
ptr->
type == &RNA_GPencilLayer) {
186 rna_GPencil_update(bmain,
scene,
ptr);
210 rna_GPencil_update(bmain,
scene,
ptr);
222 if (gps->editcurve !=
NULL) {
231 rna_GPencil_update(bmain,
scene,
ptr);
243 if (gps->editcurve !=
NULL) {
251 rna_GPencil_update(bmain,
scene,
ptr);
283 rna_GPencil_update(bmain,
scene,
ptr);
313 char name_esc[
sizeof(gpl->
info) * 2];
320 static int rna_GPencilLayer_active_frame_editable(
PointerRNA *
ptr,
const char **
UNUSED(r_info))
386 static void rna_GPencilLayer_parent_type_set(
PointerRNA *
ptr,
int value)
393 set_parent(gpl, par, value, gpl->
parsubstr);
398 static void rna_GPencilLayer_parent_bone_set(
PointerRNA *
ptr,
const char *value)
406 set_parent(gpl, par, gpl->
partype, value);
410 static char *rna_GPencilLayerMask_path(
const PointerRNA *
ptr)
416 char gpl_info_esc[
sizeof(gpl->
info) * 2];
417 char mask_name_esc[
sizeof(
mask->name) * 2];
422 return BLI_sprintfN(
"layers[\"%s\"].mask_layers[\"%s\"]", gpl_info_esc, mask_name_esc);
425 static int rna_GPencil_active_mask_index_get(
PointerRNA *
ptr)
431 static void rna_GPencil_active_mask_index_set(
PointerRNA *
ptr,
int value)
437 static void rna_GPencil_active_mask_index_range(
474 static bool rna_GPencilLayer_is_parented_get(
PointerRNA *
ptr)
512 printf(
"%s: Setting active layer to None is not allowed\n", __func__);
520 if (gl == value.
data) {
532 static int rna_GPencil_active_layer_index_get(
PointerRNA *
ptr)
540 static void rna_GPencil_active_layer_index_set(
PointerRNA *
ptr,
int value)
552 static void rna_GPencil_active_layer_index_range(
582 item_tmp.name = gpl->
info;
597 static void rna_GPencilLayer_info_set(
PointerRNA *
ptr,
const char *value)
602 char oldname[128] =
"";
624 static void rna_GPencilLayer_mask_info_set(
PointerRNA *
ptr,
const char *value)
628 char oldname[128] =
"";
646 if (
STREQ(mask_->name, oldname)) {
697 static void rna_GPencil_stroke_point_select_set(
PointerRNA *
ptr,
const bool value)
708 gps = rna_GPencil_stroke_point_find_stroke(gpd, pt,
NULL,
NULL);
723 static void rna_GPencil_stroke_point_add(
738 for (
int i = 0; i <
count; i++) {
760 static void rna_GPencil_stroke_point_pop(
ID *
id,
774 if (stroke->
totpoints <= index || index < 0) {
782 if (pt_dvert !=
NULL) {
789 if (pt_dvert !=
NULL) {
794 if (index < stroke->totpoints) {
795 memcpy(&stroke->
points[index],
798 if (pt_dvert !=
NULL) {
799 memcpy(&stroke->
dvert[index],
800 &pt_dvert[index + 1],
807 if (pt_dvert !=
NULL) {
819 static void rna_GPencil_stroke_point_update(
ID *
id,
bGPDstroke *stroke)
834 static float rna_GPencilStrokePoints_weight_get(
bGPDstroke *stroke,
836 int vertex_group_index,
860 static void rna_GPencilStrokePoints_weight_set(
891 static void rna_GPencil_stroke_remove(
ID *
id,
912 static void rna_GPencil_stroke_close(
ID *
id,
930 static void rna_GPencil_stroke_select_set(
PointerRNA *
ptr,
const bool value)
948 for (i = 0, pt = gps->
points; i < gps->totpoints; i++, pt++) {
958 static void rna_GPencil_curve_select_set(
PointerRNA *
ptr,
const bool value)
1034 static bGPDlayer *rna_GPencil_layer_new(
bGPdata *gpd,
const char *name,
bool setactive)
1057 static void rna_GPencil_layer_move(
bGPdata *gpd,
1070 const int direction =
type * -1;
1088 static void rna_GPencil_layer_mask_remove(
bGPDlayer *gpl,
1104 static void rna_GPencil_frame_clear(
bGPDframe *frame)
1111 static void rna_GPencil_layer_clear(
bGPDlayer *layer)
1118 static void rna_GPencil_clear(
bGPdata *gpd)
1130 static void rna_GpencilCurvePoint_BezTriple_handle1_get(
PointerRNA *
ptr,
float *values)
1136 static void rna_GpencilCurvePoint_BezTriple_handle1_set(
PointerRNA *
ptr,
const float *values)
1142 static bool rna_GpencilCurvePoint_BezTriple_handle1_select_get(
PointerRNA *
ptr)
1148 static void rna_GpencilCurvePoint_BezTriple_handle1_select_set(
PointerRNA *
ptr,
const bool value)
1154 static void rna_GpencilCurvePoint_BezTriple_handle2_get(
PointerRNA *
ptr,
float *values)
1160 static void rna_GpencilCurvePoint_BezTriple_handle2_set(
PointerRNA *
ptr,
const float *values)
1166 static bool rna_GpencilCurvePoint_BezTriple_handle2_select_get(
PointerRNA *
ptr)
1172 static void rna_GpencilCurvePoint_BezTriple_handle2_select_set(
PointerRNA *
ptr,
const bool value)
1178 static void rna_GpencilCurvePoint_BezTriple_ctrlpoint_get(
PointerRNA *
ptr,
float *values)
1184 static void rna_GpencilCurvePoint_BezTriple_ctrlpoint_set(
PointerRNA *
ptr,
const float *values)
1190 static bool rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_get(
PointerRNA *
ptr)
1196 static void rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_set(
PointerRNA *
ptr,
const bool value)
1202 static bool rna_GpencilCurvePoint_BezTriple_hide_get(
PointerRNA *
ptr)
1208 static void rna_GpencilCurvePoint_BezTriple_hide_set(
PointerRNA *
ptr,
const bool value)
1234 srna,
"Grease Pencil Stroke Point",
"Data point for freehand stroke curve");
1285 prop,
"Vertex Color",
"Color used to mix with point color to get final color");
1299 srna,
"Grease Pencil Stroke Points",
"Collection of grease pencil stroke points");
1305 func,
"count", 1, 0, INT_MAX,
"Number",
"Number of points to add to the stroke", 0, INT_MAX);
1313 "Pressure for newly created points",
1322 "Color intensity (alpha factor) for newly created points",
1329 RNA_def_int(func,
"index", -1, INT_MIN, INT_MAX,
"Index",
"point index", INT_MIN, INT_MAX);
1331 func =
RNA_def_function(srna,
"update",
"rna_GPencil_stroke_point_update");
1335 func =
RNA_def_function(srna,
"weight_get",
"rna_GPencilStrokePoints_weight_get");
1339 "vertex_group_index",
1343 "Vertex Group Index",
1344 "Index of Vertex Group in the array of groups",
1353 "Index of the Point in the array",
1357 func,
"weight", 0, -FLT_MAX, FLT_MAX,
"Weight",
"Point Weight", -FLT_MAX, FLT_MAX);
1360 func =
RNA_def_function(srna,
"weight_set",
"rna_GPencilStrokePoints_weight_set");
1364 "vertex_group_index",
1368 "Vertex Group Index",
1369 "Index of Vertex Group in the array of groups",
1378 "Index of the Point in the array",
1381 RNA_def_float(func,
"weight", 0, -FLT_MAX, FLT_MAX,
"Weight",
"Point Weight", -FLT_MAX, FLT_MAX);
1425 "rna_GpencilCurvePoint_BezTriple_handle1_select_get",
1426 "rna_GpencilCurvePoint_BezTriple_handle1_select_set");
1432 "rna_GpencilCurvePoint_BezTriple_handle2_select_get",
1433 "rna_GpencilCurvePoint_BezTriple_handle2_select_set");
1439 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_get",
1440 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_set");
1446 "rna_GpencilCurvePoint_BezTriple_hide_get",
1447 "rna_GpencilCurvePoint_BezTriple_hide_set");
1455 "rna_GpencilCurvePoint_BezTriple_handle1_get",
1456 "rna_GpencilCurvePoint_BezTriple_handle1_set",
1466 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_get",
1467 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_set",
1477 "rna_GpencilCurvePoint_BezTriple_handle2_get",
1478 "rna_GpencilCurvePoint_BezTriple_handle2_set",
1500 prop,
"Strength",
"Color intensity (alpha factor) of the grease pencil stroke point");
1509 prop,
"Point Index",
"Index of the corresponding grease pencil stroke point");
1564 srna,
"Vertex Group Element",
"Weight value of a vertex in a vertex group");
1587 {0,
"SCREEN", 0,
"Screen",
"Stroke is in screen-space"},
1594 "Stroke is in 2D-space (but with special 'image' scaling)"},
1744 prop,
"Vertex Fill Color",
"Color used to mix with fill color to get final color");
1767 parm =
RNA_def_pointer(func,
"stroke",
"GPencilStroke",
"",
"The newly created stroke");
1773 parm =
RNA_def_pointer(func,
"stroke",
"GPencilStroke",
"Stroke",
"The stroke to remove");
1780 parm =
RNA_def_pointer(func,
"stroke",
"GPencilStroke",
"Stroke",
"The stroke to close");
1795 srna,
"Grease Pencil Frame",
"Collection of related sketches on a particular frame");
1854 "The frame on which this sketch appears",
1859 parm =
RNA_def_pointer(func,
"frame",
"GPencilFrame",
"",
"The newly created frame");
1865 parm =
RNA_def_pointer(func,
"frame",
"GPencilFrame",
"Frame",
"The frame to remove");
1871 parm =
RNA_def_pointer(func,
"source",
"GPencilFrame",
"Source",
"The source frame");
1873 parm =
RNA_def_pointer(func,
"copy",
"GPencilFrame",
"",
"The newly copied frame");
1889 srna,
"Grease Pencil Mask Layers",
"Collection of grease pencil masking layers");
1894 "rna_GPencil_active_mask_index_get",
1895 "rna_GPencil_active_mask_index_set",
1896 "rna_GPencil_active_mask_index_range");
1901 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"Layer to add as mask");
1908 parm =
RNA_def_pointer(func,
"mask",
"GPencilLayerMask",
"",
"Mask to remove");
1951 static const float default_onion_color_b[] = {0.302f, 0.851f, 0.302f};
1952 static const float default_onion_color_a[] = {0.250f, 0.1f, 1.0f};
2001 prop,
"Custom Channel Color",
"Custom color for animation channel in Dopesheet");
2057 prop,
"Thickness Change",
"Thickness change to apply to current strokes (in pixels)");
2064 prop,
"Onion Skinning",
"Display onion skins before and after the current frame");
2071 prop,
"Onion Skinning",
"Display annotation onion skins before and after the current frame");
2079 prop,
"Frames Before",
"Maximum number of frames to show before current frame");
2087 prop,
"Frames After",
"Maximum number of frames to show after current frame");
2119 "Only include Layer in this View Layer render output (leave blank to include always)");
2124 prop,
"Use Masks in Render",
"Include the mask layers when rendering the view-layer");
2171 prop,
"Matrix Layer Inverse",
"Local Layer transformation inverse matrix");
2191 prop,
"Locked",
"Protect layer from further editing and/or frame changes");
2205 prop,
"Disallow Locked Materials Editing",
"Avoids editing locked materials in the layer");
2213 "The visibility of drawings on this layer is affected by the layers in its masks list");
2219 prop,
"Use Lights",
"Enable the use of lights on stroke and fill materials");
2226 prop,
"Solo Mode",
"In Draw Mode only display layers with keyframe in current frame");
2243 prop,
"Show Points",
"Show the points which make up the strokes (for debugging purposes)");
2265 prop,
NULL,
"rna_GPencilLayer_parent_type_set",
"rna_Object_parent_type_itemf");
2274 prop,
"Parent Bone",
"Name of parent bone in case of a bone parenting relation");
2314 func,
"set_active",
true,
"Set Active",
"Set the newly created layer to the active layer");
2315 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"The newly created layer");
2321 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"The layer to remove");
2328 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"The layer to move");
2338 prop,
"rna_GPencil_active_layer_get",
"rna_GPencil_active_layer_set",
NULL,
NULL);
2345 "rna_GPencil_active_layer_index_get",
2346 "rna_GPencil_active_layer_index_set",
2347 "rna_GPencil_active_layer_index_range");
2354 "rna_GPencil_active_layer_index_get",
2355 "rna_GPencil_active_layer_index_set",
2356 "rna_GPencil_active_layer_itemf");
2368 static const float default_grid_color[] = {0.5f, 0.5f, 0.5f};
2376 srna,
"Grid and Canvas Settings",
"Settings for grid and canvas in 3D viewport");
2398 prop,
"Grid Subdivisions",
"Number of subdivisions in each side of symmetry line");
2415 static float default_1[4] = {0.6f, 0.6f, 0.6f, 0.5f};
2416 static float onion_dft1[3] = {0.145098f, 0.419608f, 0.137255f};
2417 static float onion_dft2[3] = {0.125490f, 0.082353f, 0.529412f};
2420 {0,
"WORLDSPACE", 0,
"World Space",
"Set stroke thickness relative to the world space"},
2425 "Set stroke thickness relative to the screen space"},
2459 "Stroke Depth Order",
2460 "Defines how the strokes are ordered in 3D space (for objects not displayed 'In Front')");
2467 prop,
"Stroke Edit Mode",
"Edit Grease Pencil strokes instead of viewport data");
2481 prop,
"Stroke Sculpt Mode",
"Sculpt Grease Pencil strokes instead of viewport data");
2504 prop,
"Onion Skins",
"Show ghosts of the keyframes before and after the current frame");
2512 prop,
"Stroke Thickness",
"Set stroke thickness in screen space or world space");
2522 "Scale conversion factor for pixel size (use larger values for thicker lines)");
2534 "Number of segments generated between control points when editing strokes in curve mode");
2542 "Adaptive Resolution",
2543 "Set the resolution of each editcurve segment dynamically depending on "
2544 "the length of the segment. The resolution is the number of points "
2545 "generated per unit distance");
2570 "Edit strokes from multiple grease pencil keyframes at the same time "
2571 "(keyframes must be selected to be included)");
2584 "Automatically lock all layers except the active one to avoid accidental changes");
2603 "Maximum number of frames to show before current frame "
2604 "(0 = don't show any frames before current)");
2614 "Maximum number of frames to show after current frame "
2615 "(0 = don't show any frames after current)");
2649 "Always Show Ghosts",
2650 "Ghosts are shown in renders and animation playback. Useful for "
2651 "special effects (e.g. motion blur)");
2672 prop,
"Fade",
"Display onion keyframes with a fade in color transparency");
2679 prop,
"Show Start Frame",
"Display onion keyframes for looping animations");
2708 prop,
"Grid Settings",
"Settings for grid and canvas in the 3D viewport");
Blender kernel action and pose functionality.
struct bPoseChannel * BKE_pose_channel_find_name(const struct bPose *pose, const char *name)
void BKE_animdata_fix_paths_rename_all(struct ID *ref_id, const char *prefix, const char *oldName, const char *newName)
bool BKE_gpencil_free_strokes(struct bGPDframe *gpf)
void BKE_gpencil_stroke_select_index_set(struct bGPdata *gpd, struct bGPDstroke *gps)
struct bGPDframe * BKE_gpencil_frame_addnew(struct bGPDlayer *gpl, int cframe)
void BKE_gpencil_layer_active_set(struct bGPdata *gpd, struct bGPDlayer *active)
struct bGPDframe * BKE_gpencil_frame_duplicate(const struct bGPDframe *gpf_src, bool dup_strokes)
struct bGPDlayer * BKE_gpencil_layer_active_get(struct bGPdata *gpd)
void BKE_gpencil_stroke_select_index_reset(struct bGPDstroke *gps)
void BKE_gpencil_free_frames(struct bGPDlayer *gpl)
void BKE_gpencil_layer_mask_remove(struct bGPDlayer *gpl, struct bGPDlayer_Mask *mask)
struct bGPDlayer_Mask * BKE_gpencil_layer_mask_add(struct bGPDlayer *gpl, const char *name)
struct bGPDlayer * BKE_gpencil_layer_addnew(struct bGPdata *gpd, const char *name, bool setactive, bool add_to_header)
void BKE_gpencil_dvert_ensure(struct bGPDstroke *gps)
bool BKE_gpencil_layer_frame_delete(struct bGPDlayer *gpl, struct bGPDframe *gpf)
struct bGPDstroke * BKE_gpencil_stroke_new(int mat_idx, int totpoints, short thickness)
struct bGPDlayer * BKE_gpencil_layer_named_get(struct bGPdata *gpd, const char *name)
struct bGPDframe * BKE_gpencil_layer_frame_find(struct bGPDlayer *gpl, int cframe)
void BKE_gpencil_free_stroke(struct bGPDstroke *gps)
struct bGPDframe * BKE_gpencil_layer_frame_get(struct bGPDlayer *gpl, int cframe, eGP_GetFrame_Mode addnew)
void BKE_gpencil_layer_delete(struct bGPdata *gpd, struct bGPDlayer *gpl)
void BKE_gpencil_free_layers(struct ListBase *list)
void BKE_gpencil_layer_autolock_set(struct bGPdata *gpd, bool unlock)
void BKE_gpencil_stroke_sync_selection(struct bGPdata *gpd, struct bGPDstroke *gps)
void BKE_gpencil_strokes_selected_update_editcurve(struct bGPdata *gpd)
void BKE_gpencil_strokes_selected_sync_selection_editcurve(struct bGPdata *gpd)
void BKE_gpencil_stroke_geometry_update(struct bGPdata *gpd, struct bGPDstroke *gps)
bool BKE_gpencil_stroke_close(struct bGPDstroke *gps)
void BKE_gpencil_tag_light_update(struct bGPdata *gpd, struct bGPDlayer *gpl, struct bGPDframe *gpf, struct bGPDstroke *gps)
int BKE_icon_gplayer_color_ensure(struct bGPDlayer *gpl)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
void BKE_report(ReportList *reports, eReportType type, const char *message)
#define LISTBASE_FOREACH(type, var, list)
void BLI_addtail(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void BLI_remlink(struct ListBase *listbase, void *vlink) ATTR_NONNULL(1)
void void void bool BLI_listbase_link_move(ListBase *listbase, void *vlink, int step) ATTR_NONNULL()
int BLI_findindex(const struct ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_listbase_count(const struct ListBase *listbase) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
MINLINE int max_ii(int a, int b)
void mul_m4_m4m4(float R[4][4], const float A[4][4], const float B[4][4])
bool invert_m4_m4(float R[4][4], const float A[4][4])
void loc_eul_size_to_mat4(float R[4][4], const float loc[3], const float eul[3], const float size[3])
MINLINE void copy_v3_v3(float r[3], const float a[3])
size_t size_t char * BLI_sprintfN(const char *__restrict format,...) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1) ATTR_MALLOC ATTR_PRINTF_FORMAT(1
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
size_t size_t char size_t BLI_str_escape(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL(1
bool BLI_uniquename(struct ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t name_len)
void DEG_id_tag_update(struct ID *id, int flag)
void DEG_relations_tag_update(struct Main *bmain)
@ ID_RECALC_COPY_ON_WRITE
#define BEZT_SEL_ALL(bezt)
#define BEZT_DESEL_ALL(bezt)
@ GP_STROKE_NEEDS_CURVE_UPDATE
#define GP_DEFAULT_CURVE_RESOLUTION
@ GP_LAYER_DISABLE_MASKS_IN_VIEWLAYER
#define GP_DEFAULT_GRID_LINES
#define GP_DEFAULT_CURVE_ERROR
@ GP_DATA_SHOW_ONIONSKINS
@ GP_DATA_CURVE_ADAPTIVE_RESOLUTION
@ GP_DATA_STROKE_WEIGHTMODE
@ GP_DATA_STROKE_VERTEXMODE
@ GP_DATA_CURVE_EDIT_MODE
@ GP_DATA_STROKE_MULTIEDIT
@ GP_DATA_STROKE_PAINTMODE
@ GP_DATA_STROKE_SCULPTMODE
@ GP_DATA_AUTOLOCK_LAYERS
@ GP_DATA_STROKE_KEEPTHICKNESS
@ GP_DATA_STROKE_EDITMODE
#define GPENCIL_CURVE_EDIT_SESSIONS_ON(gpd)
@ eGplBlendMode_HardLight
Object is a sort of wrapper for general info.
_GL_VOID GLfloat value _GL_VOID_RET _GL_VOID const GLuint GLboolean *residences _GL_BOOL_RET _GL_VOID GLsizei GLfloat GLfloat GLfloat GLfloat const GLubyte *bitmap _GL_VOID_RET _GL_VOID GLenum type
Read Guarded memory(de)allocation.
#define RNA_POINTER_INVALIDATE(ptr)
#define RNA_TRANSLATION_PREC_DEFAULT
@ PROPOVERRIDE_OVERRIDABLE_LIBRARY
@ PROPOVERRIDE_NO_COMPARISON
#define ND_GPENCIL_EDITMODE
#define ND_SPACE_PROPERTIES
return(oflags[bm->toolflag_index].f &oflag) !=0
SyclQueue void void * src
void(* MEM_freeN)(void *vmemh)
void *(* MEM_recallocN_id)(void *vmemh, size_t len, const char *str)
void *(* MEM_callocN)(size_t len, const char *str)
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)
bool active
all scheduled work for the GPU.
PointerRNA rna_pointer_inherit_refine(PointerRNA *ptr, StructRNA *type, void *data)
void rna_def_animdata_common(StructRNA *srna)
PropertyRNA * RNA_def_float(StructOrFunctionRNA *cont_, const char *identifier, float default_value, float hardmin, float hardmax, const char *ui_name, const char *ui_description, float softmin, float softmax)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, bool default_value, const char *ui_name, const char *ui_description)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t bit)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
void RNA_def_property_float_default(PropertyRNA *prop, float value)
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_funcs(PropertyRNA *prop, const char *begin, const char *next, const char *end, const char *get, const char *length, const char *lookupint, const char *lookupstring, const char *assignint)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
void RNA_def_property_boolean_default(PropertyRNA *prop, bool value)
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[])
void RNA_def_property_int_default(PropertyRNA *prop, int value)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
const int rna_matrix_dimsize_4x4[]
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_enum_item_end(EnumPropertyItem **items, int *totitem)
void RNA_def_struct_name_property(struct StructRNA *srna, struct PropertyRNA *prop)
void RNA_def_function_flag(FunctionRNA *func, int flag)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_enum_item_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item)
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_struct_ui_icon(StructRNA *srna, int icon)
PropertyRNA * RNA_def_string(StructOrFunctionRNA *cont_, const char *identifier, const char *default_value, int maxlen, const char *ui_name, const char *ui_description)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_def_property_override_clear_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, int default_value, int hardmin, int hardmax, const char *ui_name, const char *ui_description, int softmin, int softmax)
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_enum_items_add_value(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item, int value)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
PropertyRNA * RNA_def_enum(StructOrFunctionRNA *cont_, const char *identifier, const EnumPropertyItem *items, int default_value, const char *ui_name, const char *ui_description)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_def_property_float_array_default(PropertyRNA *prop, const float *array)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void RNA_def_property_override_flag(PropertyRNA *prop, PropertyOverrideFlag flag)
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
static void rna_def_gpencil_stroke(BlenderRNA *brna)
static EnumPropertyItem rna_enum_gpencil_stroke_depth_order_items[]
static void rna_def_gpencil_layers_api(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_gpencil_mvert_group(BlenderRNA *brna)
static EnumPropertyItem rna_enum_gpencil_onion_modes_items[]
static void rna_def_gpencil_frames_api(BlenderRNA *brna, PropertyRNA *cprop)
static const EnumPropertyItem rna_enum_layer_blend_modes_items[]
static void rna_def_gpencil_grid(BlenderRNA *brna)
static const EnumPropertyItem parent_type_items[]
static void rna_def_gpencil_layers_mask_api(BlenderRNA *brna, PropertyRNA *cprop)
static const EnumPropertyItem rna_enum_gpencil_caps_modes_items[]
void RNA_def_gpencil(BlenderRNA *brna)
static void rna_def_gpencil_stroke_points_api(BlenderRNA *brna, PropertyRNA *cprop)
static const EnumPropertyItem rna_enum_gplayer_move_type_items[]
static void rna_def_gpencil_data(BlenderRNA *brna)
static void rna_def_gpencil_strokes_api(BlenderRNA *brna, PropertyRNA *cprop)
static void rna_def_gpencil_stroke_point(BlenderRNA *brna)
static void rna_def_gpencil_curve_point(BlenderRNA *brna)
static void rna_def_gpencil_triangle(BlenderRNA *brna)
static void rna_def_gpencil_layer(BlenderRNA *brna)
static const EnumPropertyItem rna_enum_keyframe_type_items[]
static const EnumPropertyItem rna_enum_onion_keyframe_type_items[]
static void rna_def_gpencil_curve(BlenderRNA *brna)
static void rna_def_gpencil_frame(BlenderRNA *brna)
static void rna_def_gpencil_layer_mask(BlenderRNA *brna)
bool rna_GPencil_datablocks_obdata_poll(struct PointerRNA *ptr, const struct PointerRNA value)
bool rna_GPencil_datablocks_annotations_poll(struct PointerRNA *ptr, const struct PointerRNA value)
const EnumPropertyItem DummyRNA_DEFAULT_items[]
const EnumPropertyItem DummyRNA_NULL_items[]
struct ToolSettings * toolsettings
bGPDcurve_point * curve_points
struct bGPDcurve * editcurve
struct MDeformVert * dvert
void WM_main_add_notifier(unsigned int type, void *reference)