48 {
PAROBJECT,
"OBJECT", 0,
"Object",
"The layer is parented to an object"},
49 {
PARSKEL,
"ARMATURE", 0,
"Armature",
""},
50 {
PARBONE,
"BONE", 0,
"Bone",
"The layer is parented to a bone"},
60 "Display strokes using grease pencil layers to define order"},
61 {
GP_DRAWMODE_3D,
"3D", 0,
"3D Location",
"Display strokes using real 3D position in 3D space"},
70 "Frames in absolute range of the scene frame"},
75 "Frames in relative range of the Grease Pencil keyframes"},
83 ICON_KEYTYPE_KEYFRAME_VEC,
85 "Normal keyframe - e.g. for key poses"},
88 ICON_KEYTYPE_BREAKDOWN_VEC,
90 "A breakdown pose - e.g. for transitions between key poses"},
93 ICON_KEYTYPE_MOVING_HOLD_VEC,
95 "A keyframe that is part of a moving hold"},
98 ICON_KEYTYPE_EXTREME_VEC,
100 "An 'extreme' pose, or some other purpose as needed"},
103 ICON_KEYTYPE_JITTER_VEC,
105 "A filler or baked keyframe for keying on ones, or some other purpose as needed"},
110 {-1,
"ALL", 0,
"All",
"Include all Keyframe types"},
113 ICON_KEYTYPE_KEYFRAME_VEC,
115 "Normal keyframe - e.g. for key poses"},
118 ICON_KEYTYPE_BREAKDOWN_VEC,
120 "A breakdown pose - e.g. for transitions between key poses"},
123 ICON_KEYTYPE_MOVING_HOLD_VEC,
125 "A keyframe that is part of a moving hold"},
128 ICON_KEYTYPE_EXTREME_VEC,
130 "An 'extreme' pose, or some other purpose as needed"},
133 ICON_KEYTYPE_JITTER_VEC,
135 "A filler or baked keyframe for keying on ones, or some other purpose as needed"},
140 {-1,
"UP", 0,
"Up",
""},
141 {1,
"DOWN", 0,
"Down",
""},
193 rna_GPencil_update(bmain,
scene,
ptr);
217 rna_GPencil_update(bmain,
scene,
ptr);
229 if (gps->editcurve !=
NULL) {
238 rna_GPencil_update(bmain,
scene,
ptr);
250 if (gps->editcurve !=
NULL) {
258 rna_GPencil_update(bmain,
scene,
ptr);
290 rna_GPencil_update(bmain,
scene,
ptr);
320 char name_esc[
sizeof(gpl->
info) * 2];
327 static int rna_GPencilLayer_active_frame_editable(
PointerRNA *
ptr,
const char **
UNUSED(r_info))
387 static void rna_GPencilLayer_parent_type_set(
PointerRNA *
ptr,
int value)
394 set_parent(gpl, par, value, gpl->
parsubstr);
399 static void rna_GPencilLayer_parent_bone_set(
PointerRNA *
ptr,
const char *value)
407 set_parent(gpl, par, gpl->
partype, value);
417 char gpl_info_esc[
sizeof(gpl->
info) * 2];
418 char mask_name_esc[
sizeof(
mask->name) * 2];
423 return BLI_sprintfN(
"layers[\"%s\"].mask_layers[\"%s\"]", gpl_info_esc, mask_name_esc);
426 static int rna_GPencil_active_mask_index_get(
PointerRNA *
ptr)
432 static void rna_GPencil_active_mask_index_set(
PointerRNA *
ptr,
int value)
438 static void rna_GPencil_active_mask_index_range(
475 static bool rna_GPencilLayer_is_parented_get(
PointerRNA *
ptr)
513 printf(
"%s: Setting active layer to None is not allowed\n", __func__);
521 if (gl == value.
data) {
533 static int rna_GPencil_active_layer_index_get(
PointerRNA *
ptr)
541 static void rna_GPencil_active_layer_index_set(
PointerRNA *
ptr,
int value)
553 static void rna_GPencil_active_layer_index_range(
583 item_tmp.name = gpl->
info;
598 static void rna_GPencilLayer_info_set(
PointerRNA *
ptr,
const char *value)
603 char oldname[128] =
"";
625 static void rna_GPencilLayer_mask_info_set(
PointerRNA *
ptr,
const char *value)
629 char oldname[128] =
"";
647 if (
STREQ(mask_->name, oldname)) {
698 static void rna_GPencil_stroke_point_select_set(
PointerRNA *
ptr,
const bool value)
709 gps = rna_GPencil_stroke_point_find_stroke(gpd, pt,
NULL,
NULL);
724 static void rna_GPencil_stroke_point_add(
739 for (
int i = 0; i <
count; i++) {
761 static void rna_GPencil_stroke_point_pop(
ID *
id,
775 if (stroke->
totpoints <= index || index < 0) {
783 if (pt_dvert !=
NULL) {
790 if (pt_dvert !=
NULL) {
795 if (index < stroke->totpoints) {
796 memcpy(&stroke->
points[index],
799 if (pt_dvert !=
NULL) {
800 memcpy(&stroke->
dvert[index],
801 &pt_dvert[index + 1],
808 if (pt_dvert !=
NULL) {
820 static void rna_GPencil_stroke_point_update(
ID *
id,
bGPDstroke *stroke)
835 static float rna_GPencilStrokePoints_weight_get(
bGPDstroke *stroke,
837 int vertex_group_index,
846 if (stroke->
totpoints <= point_index || point_index < 0) {
852 if ((pt_dvert) && (pt_dvert->
totweight <= vertex_group_index || vertex_group_index < 0)) {
865 static void rna_GPencilStrokePoints_weight_set(
876 if (stroke->
totpoints <= point_index || point_index < 0) {
896 static void rna_GPencil_stroke_remove(
ID *
id,
917 static void rna_GPencil_stroke_close(
ID *
id,
935 static void rna_GPencil_stroke_select_set(
PointerRNA *
ptr,
const bool value)
953 for (i = 0, pt = gps->
points; i < gps->totpoints; i++, pt++) {
963 static void rna_GPencil_curve_select_set(
PointerRNA *
ptr,
const bool value)
1039 static bGPDlayer *rna_GPencil_layer_new(
bGPdata *gpd,
const char *name,
bool setactive)
1062 static void rna_GPencil_layer_move(
bGPdata *gpd,
1075 const int direction =
type * -1;
1093 static void rna_GPencil_layer_mask_remove(
bGPDlayer *gpl,
1109 static void rna_GPencil_frame_clear(
bGPDframe *frame)
1116 static void rna_GPencil_layer_clear(
bGPDlayer *layer)
1123 static void rna_GPencil_clear(
bGPdata *gpd)
1135 static void rna_GpencilCurvePoint_BezTriple_handle1_get(
PointerRNA *
ptr,
float *values)
1141 static void rna_GpencilCurvePoint_BezTriple_handle1_set(
PointerRNA *
ptr,
const float *values)
1147 static bool rna_GpencilCurvePoint_BezTriple_handle1_select_get(
PointerRNA *
ptr)
1153 static void rna_GpencilCurvePoint_BezTriple_handle1_select_set(
PointerRNA *
ptr,
const bool value)
1159 static void rna_GpencilCurvePoint_BezTriple_handle2_get(
PointerRNA *
ptr,
float *values)
1165 static void rna_GpencilCurvePoint_BezTriple_handle2_set(
PointerRNA *
ptr,
const float *values)
1171 static bool rna_GpencilCurvePoint_BezTriple_handle2_select_get(
PointerRNA *
ptr)
1177 static void rna_GpencilCurvePoint_BezTriple_handle2_select_set(
PointerRNA *
ptr,
const bool value)
1183 static void rna_GpencilCurvePoint_BezTriple_ctrlpoint_get(
PointerRNA *
ptr,
float *values)
1189 static void rna_GpencilCurvePoint_BezTriple_ctrlpoint_set(
PointerRNA *
ptr,
const float *values)
1195 static bool rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_get(
PointerRNA *
ptr)
1201 static void rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_set(
PointerRNA *
ptr,
const bool value)
1207 static bool rna_GpencilCurvePoint_BezTriple_hide_get(
PointerRNA *
ptr)
1213 static void rna_GpencilCurvePoint_BezTriple_hide_set(
PointerRNA *
ptr,
const bool value)
1239 srna,
"Grease Pencil Stroke Point",
"Data point for freehand stroke curve");
1290 prop,
"Vertex Color",
"Color used to mix with point color to get final color");
1304 srna,
"Grease Pencil Stroke Points",
"Collection of grease pencil stroke points");
1310 func,
"count", 1, 0, INT_MAX,
"Number",
"Number of points to add to the stroke", 0, INT_MAX);
1318 "Pressure for newly created points",
1327 "Color intensity (alpha factor) for newly created points",
1334 RNA_def_int(func,
"index", -1, INT_MIN, INT_MAX,
"Index",
"point index", INT_MIN, INT_MAX);
1336 func =
RNA_def_function(srna,
"update",
"rna_GPencil_stroke_point_update");
1340 func =
RNA_def_function(srna,
"weight_get",
"rna_GPencilStrokePoints_weight_get");
1344 "vertex_group_index",
1348 "Vertex Group Index",
1349 "Index of Vertex Group in the array of groups",
1358 "Index of the Point in the array",
1362 func,
"weight", 0, -FLT_MAX, FLT_MAX,
"Weight",
"Point Weight", -FLT_MAX, FLT_MAX);
1365 func =
RNA_def_function(srna,
"weight_set",
"rna_GPencilStrokePoints_weight_set");
1369 "vertex_group_index",
1373 "Vertex Group Index",
1374 "Index of Vertex Group in the array of groups",
1383 "Index of the Point in the array",
1386 RNA_def_float(func,
"weight", 0, -FLT_MAX, FLT_MAX,
"Weight",
"Point Weight", -FLT_MAX, FLT_MAX);
1430 "rna_GpencilCurvePoint_BezTriple_handle1_select_get",
1431 "rna_GpencilCurvePoint_BezTriple_handle1_select_set");
1437 "rna_GpencilCurvePoint_BezTriple_handle2_select_get",
1438 "rna_GpencilCurvePoint_BezTriple_handle2_select_set");
1444 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_get",
1445 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_select_set");
1451 "rna_GpencilCurvePoint_BezTriple_hide_get",
1452 "rna_GpencilCurvePoint_BezTriple_hide_set");
1460 "rna_GpencilCurvePoint_BezTriple_handle1_get",
1461 "rna_GpencilCurvePoint_BezTriple_handle1_set",
1471 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_get",
1472 "rna_GpencilCurvePoint_BezTriple_ctrlpoint_set",
1482 "rna_GpencilCurvePoint_BezTriple_handle2_get",
1483 "rna_GpencilCurvePoint_BezTriple_handle2_set",
1505 prop,
"Strength",
"Color intensity (alpha factor) of the grease pencil stroke point");
1514 prop,
"Point Index",
"Index of the corresponding grease pencil stroke point");
1569 srna,
"Vertex Group Element",
"Weight value of a vertex in a vertex group");
1592 {0,
"SCREEN", 0,
"Screen",
"Stroke is in screen-space"},
1599 "Stroke is in 2D-space (but with special 'image' scaling)"},
1749 prop,
"Vertex Fill Color",
"Color used to mix with fill color to get final color");
1772 parm =
RNA_def_pointer(func,
"stroke",
"GPencilStroke",
"",
"The newly created stroke");
1778 parm =
RNA_def_pointer(func,
"stroke",
"GPencilStroke",
"Stroke",
"The stroke to remove");
1785 parm =
RNA_def_pointer(func,
"stroke",
"GPencilStroke",
"Stroke",
"The stroke to close");
1800 srna,
"Grease Pencil Frame",
"Collection of related sketches on a particular frame");
1859 "The frame on which this sketch appears",
1864 parm =
RNA_def_pointer(func,
"frame",
"GPencilFrame",
"",
"The newly created frame");
1870 parm =
RNA_def_pointer(func,
"frame",
"GPencilFrame",
"Frame",
"The frame to remove");
1876 parm =
RNA_def_pointer(func,
"source",
"GPencilFrame",
"Source",
"The source frame");
1878 parm =
RNA_def_pointer(func,
"copy",
"GPencilFrame",
"",
"The newly copied frame");
1894 srna,
"Grease Pencil Mask Layers",
"Collection of grease pencil masking layers");
1899 "rna_GPencil_active_mask_index_get",
1900 "rna_GPencil_active_mask_index_set",
1901 "rna_GPencil_active_mask_index_range");
1906 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"Layer to add as mask");
1913 parm =
RNA_def_pointer(func,
"mask",
"GPencilLayerMask",
"",
"Mask to remove");
1956 static const float default_onion_color_b[] = {0.302f, 0.851f, 0.302f};
1957 static const float default_onion_color_a[] = {0.250f, 0.1f, 1.0f};
2006 prop,
"Custom Channel Color",
"Custom color for animation channel in Dopesheet");
2054 prop,
"Thickness Change",
"Thickness change to apply to current strokes (in pixels)");
2061 prop,
"Onion Skinning",
"Display onion skins before and after the current frame");
2068 prop,
"Onion Skinning",
"Display annotation onion skins before and after the current frame");
2076 prop,
"Frames Before",
"Maximum number of frames to show before current frame");
2084 prop,
"Frames After",
"Maximum number of frames to show after current frame");
2116 "Only include Layer in this View Layer render output (leave blank to include always)");
2162 prop,
"Matrix Layer Inverse",
"Local Layer transformation inverse matrix");
2182 prop,
"Locked",
"Protect layer from further editing and/or frame changes");
2196 prop,
"Disallow Locked Materials Editing",
"Avoids editing locked materials in the layer");
2204 "The visibility of drawings on this layer is affected by the layers in its masks list");
2210 prop,
"Use Lights",
"Enable the use of lights on stroke and fill materials");
2217 prop,
"Solo Mode",
"In Paint mode display only layers with keyframe in current frame");
2234 prop,
"Show Points",
"Show the points which make up the strokes (for debugging purposes)");
2256 prop,
NULL,
"rna_GPencilLayer_parent_type_set",
"rna_Object_parent_type_itemf");
2265 prop,
"Parent Bone",
"Name of parent bone in case of a bone parenting relation");
2305 func,
"set_active",
true,
"Set Active",
"Set the newly created layer to the active layer");
2306 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"The newly created layer");
2312 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"The layer to remove");
2319 parm =
RNA_def_pointer(func,
"layer",
"GPencilLayer",
"",
"The layer to move");
2329 prop,
"rna_GPencil_active_layer_get",
"rna_GPencil_active_layer_set",
NULL,
NULL);
2336 "rna_GPencil_active_layer_index_get",
2337 "rna_GPencil_active_layer_index_set",
2338 "rna_GPencil_active_layer_index_range");
2345 "rna_GPencil_active_layer_index_get",
2346 "rna_GPencil_active_layer_index_set",
2347 "rna_GPencil_active_layer_itemf");
2359 static const float default_grid_color[] = {0.5f, 0.5f, 0.5f};
2367 srna,
"Grid and Canvas Settings",
"Settings for grid and canvas in 3D viewport");
2389 prop,
"Grid Subdivisions",
"Number of subdivisions in each side of symmetry line");
2406 static float default_1[4] = {0.6f, 0.6f, 0.6f, 0.5f};
2407 static float onion_dft1[3] = {0.145098f, 0.419608f, 0.137255f};
2408 static float onion_dft2[3] = {0.125490f, 0.082353f, 0.529412f};
2411 {0,
"WORLDSPACE", 0,
"World Space",
"Set stroke thickness relative to the world space"},
2416 "Set stroke thickness relative to the screen space"},
2450 "Stroke Depth Order",
2451 "Defines how the strokes are ordered in 3D space (for objects not displayed 'In Front')");
2458 prop,
"Stroke Edit Mode",
"Edit Grease Pencil strokes instead of viewport data");
2472 prop,
"Stroke Sculpt Mode",
"Sculpt Grease Pencil strokes instead of viewport data");
2495 prop,
"Onion Skins",
"Show ghosts of the keyframes before and after the current frame");
2503 prop,
"Stroke Thickness",
"Set stroke thickness in screen space or world space");
2513 "Scale conversion factor for pixel size (use larger values for thicker lines)");
2525 "Number of segments generated between control points when editing strokes in curve mode");
2533 "Adaptive Resolution",
2534 "Set the resolution of each editcurve segment dynamically depending on "
2535 "the length of the segment. The resolution is the number of points "
2536 "generated per unit distance");
2561 "Edit strokes from multiple grease pencil keyframes at the same time "
2562 "(keyframes must be selected to be included)");
2575 "Lock automatically all layers except active one to avoid accidental changes");
2594 "Maximum number of frames to show before current frame "
2595 "(0 = don't show any frames before current)");
2605 "Maximum number of frames to show after current frame "
2606 "(0 = don't show any frames after current)");
2640 "Always Show Ghosts",
2641 "Ghosts are shown in renders and animation playback. Useful for "
2642 "special effects (e.g. motion blur)");
2663 prop,
"Fade",
"Display onion keyframes with a fade in color transparency");
2670 prop,
"Show Start Frame",
"Display onion keyframes for looping animations");
2699 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 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)
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)
struct bGPDframe * BKE_gpencil_frame_duplicate(const struct bGPDframe *gpf_src, const bool dup_strokes)
void BKE_gpencil_layer_delete(struct bGPdata *gpd, struct bGPDlayer *gpl)
void BKE_gpencil_free_layers(struct ListBase *list)
struct bGPDlayer * BKE_gpencil_layer_addnew(struct bGPdata *gpd, const char *name, bool setactive)
void BKE_gpencil_layer_autolock_set(struct bGPdata *gpd, const 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)
int BKE_icon_gplayer_color_ensure(struct bGPDlayer *gpl)
void BKE_report(ReportList *reports, ReportType type, const char *message)
void BKE_reportf(ReportList *reports, ReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
#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
size_t size_t char size_t BLI_str_escape(char *__restrict dst, const char *__restrict src, const size_t dst_maxncpy) ATTR_NONNULL()
char * BLI_strdup(const char *str) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL() ATTR_MALLOC
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, const size_t maxncpy) ATTR_NONNULL()
char * BLI_strncpy_utf8(char *__restrict dst, const char *__restrict src, size_t maxncpy) ATTR_NONNULL()
bool BLI_uniquename(struct ListBase *list, void *vlink, const char *defname, char delim, int name_offset, size_t 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
#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)
StructRNA RNA_GPencilLayer
#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
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)
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
ccl_device_inline float4 mask(const int4 &mask, const float4 &a)
void WM_main_add_notifier(unsigned int type, void *reference)