73 "Mesh component containing point, corner, edge and face data"},
78 "Point cloud component containing only point data"},
83 "Curve component containing spline and control point data"},
88 "Instances of objects or collections"},
93 "Grease Pencil component containing layers and curves data"},
94 {0,
nullptr, 0,
nullptr,
nullptr},
107 "Manipulate objects in a 3D environment"},
112 "View and edit images and UV Maps"},
117 "Editor for node-based shading and compositing tools"},
118 {
SPACE_SEQ,
"SEQUENCE_EDITOR", ICON_SEQUENCE,
"Video Sequencer",
"Video editing tools"},
119 {
SPACE_CLIP,
"CLIP_EDITOR", ICON_TRACKER,
"Movie Clip Editor",
"Motion tracking tools"},
128 "Timeline and playback controls (NOTE: Switch to 'Timeline' mode)"},
130 {
SPACE_ACTION,
"DOPESHEET_EDITOR", ICON_ACTION,
"Dope Sheet",
"Adjust timing of keyframes"},
135 "Edit drivers and keyframe interpolation"},
136 {
SPACE_NLA,
"NLA_EDITOR", ICON_NLA,
"Nonlinear Animation",
"Combine and layer Actions"},
144 "Edit scripts and in-file documentation"},
149 "Interactive programmatic console for "
150 "advanced editing and script development"},
151 {
SPACE_INFO,
"INFO", ICON_INFO,
"Info",
"Log of operations, warnings and error messages"},
157 "Global bar at the top of the screen for "
158 "global per-window settings"},
163 "Global bar at the bottom of the "
164 "screen for general status information"},
172 "Overview of scene graph and all available data-blocks"},
177 "Edit properties of active object and related data-blocks"},
178 {
SPACE_FILE,
"FILE_BROWSER", ICON_FILEBROWSER,
"File Browser",
"Browse for files and assets"},
183 "Explore geometry data in a table"},
188 "Edit persistent configuration settings"},
189 {0,
nullptr, 0,
nullptr,
nullptr},
197 "Edit animation/keyframes displayed as 2D curves"},
199 {0,
nullptr, 0,
nullptr,
nullptr},
208 "Sequencer & Preview",
210 {0,
nullptr, 0,
nullptr,
nullptr},
216 {0,
nullptr, 0,
nullptr,
nullptr},
219#define SACT_ITEM_DOPESHEET \
221 SACTCONT_DOPESHEET, "DOPESHEET", ICON_ACTION, "Dope Sheet", "Edit all keyframes in scene" \
223#define SACT_ITEM_TIMELINE \
225 SACTCONT_TIMELINE, "TIMELINE", ICON_TIME, "Timeline", "Timeline and playback controls" \
227#define SACT_ITEM_ACTION \
229 SACTCONT_ACTION, "ACTION", ICON_OBJECT_DATA, "Action Editor", \
230 "Edit keyframes in active object's Object-level action" \
232#define SACT_ITEM_SHAPEKEY \
234 SACTCONT_SHAPEKEY, "SHAPEKEY", ICON_SHAPEKEY_DATA, "Shape Key Editor", \
235 "Edit keyframes in active object's Shape Keys action" \
237#define SACT_ITEM_GPENCIL \
239 SACTCONT_GPENCIL, "GPENCIL", ICON_OUTLINER_OB_GREASEPENCIL, "Grease Pencil", \
240 "Edit timings for all Grease Pencil sketches in file" \
242#define SACT_ITEM_MASK \
244 SACTCONT_MASK, "MASK", ICON_MOD_MASK, "Mask", "Edit timings for Mask Editor splines" \
246#define SACT_ITEM_CACHEFILE \
248 SACTCONT_CACHEFILE, "CACHEFILE", ICON_FILE, "Cache File", \
249 "Edit timings for Cache File data-blocks" \
263 {0,
nullptr, 0,
nullptr,
nullptr},
273 {0,
nullptr, 0,
nullptr,
nullptr},
282 {0,
nullptr, 0,
nullptr,
nullptr},
285#undef SACT_ITEM_DOPESHEET
286#undef SACT_ITEM_TIMELINE
287#undef SACT_ITEM_ACTION
288#undef SACT_ITEM_SHAPEKEY
289#undef SACT_ITEM_GPENCIL
291#undef SACT_ITEM_CACHEFILE
293#define SI_ITEM_VIEW(identifier, name, icon) \
295 SI_MODE_VIEW, identifier, icon, name, "View the image" \
299 SI_MODE_UV, "UV", ICON_UV, "UV Editor", "UV edit in mesh editmode" \
301#define SI_ITEM_PAINT \
303 SI_MODE_PAINT, "PAINT", ICON_TPAINT_HLT, "Paint", "2D image painting mode" \
305#define SI_ITEM_MASK \
307 SI_MODE_MASK, "MASK", ICON_MOD_MASK, "Mask", "Mask editing" \
315 {0,
nullptr, 0,
nullptr,
nullptr},
322 {0,
nullptr, 0,
nullptr,
nullptr},
326 SI_ITEM_VIEW(
"IMAGE_EDITOR",
"Image Editor", ICON_IMAGE),
328 {0,
nullptr, 0,
nullptr,
nullptr},
336#define V3D_S3D_CAMERA_LEFT {STEREO_LEFT_ID, "LEFT", ICON_RESTRICT_RENDER_OFF, "Left", ""},
337#define V3D_S3D_CAMERA_RIGHT {STEREO_RIGHT_ID, "RIGHT", ICON_RESTRICT_RENDER_OFF, "Right", ""},
338#define V3D_S3D_CAMERA_S3D {STEREO_3D_ID, "S3D", ICON_CAMERA_STEREO, "3D", ""},
340# define V3D_S3D_CAMERA_VIEWS {STEREO_MONO_ID, "MONO", ICON_RESTRICT_RENDER_OFF, "Views", ""},
353#undef V3D_S3D_CAMERA_LEFT
354#undef V3D_S3D_CAMERA_RIGHT
355#undef V3D_S3D_CAMERA_S3D
356#undef V3D_S3D_CAMERA_VIEWS
359 {
FILE_SORT_ALPHA,
"FILE_SORT_ALPHA", ICON_NONE,
"Name",
"Sort the file list alphabetically"},
361 "FILE_SORT_EXTENSION",
364 "Sort the file list by extension/type"},
369 "Sort files by modification time"},
370 {
FILE_SORT_SIZE,
"FILE_SORT_SIZE", ICON_NONE,
"Size",
"Sort files by size"},
371 {0,
nullptr, 0,
nullptr,
nullptr},
378 {0,
nullptr, 0,
nullptr,
nullptr},
385 ICON_IMAGE_RGB_ALPHA,
387 "Display image with RGB colors and alpha transparency"},
388 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
389 {
SI_SHOW_ALPHA,
"ALPHA", ICON_IMAGE_ALPHA,
"Alpha",
"Display alpha transparency channel"},
394 "Display Z-buffer associated with image (mapped from camera clip start to end)"},
395 {
SI_SHOW_R,
"RED", ICON_COLOR_RED,
"Red",
""},
396 {
SI_SHOW_G,
"GREEN", ICON_COLOR_GREEN,
"Green",
""},
397 {
SI_SHOW_B,
"BLUE", ICON_COLOR_BLUE,
"Blue",
""},
398 {0,
nullptr, 0,
nullptr,
nullptr},
402 {
OB_WIRE,
"WIREFRAME", ICON_SHADING_WIRE,
"Wireframe",
"Display the object as wire edges"},
403 {
OB_SOLID,
"SOLID", ICON_SHADING_SOLID,
"Solid",
"Display in solid mode"},
406 ICON_SHADING_TEXTURE,
408 "Display in Material Preview mode"},
409 {
OB_RENDER,
"RENDERED", ICON_SHADING_RENDERED,
"Rendered",
"Display render preview"},
410 {0,
nullptr, 0,
nullptr,
nullptr},
415 {
V3D_LIGHTING_MATCAP,
"MATCAP", 0,
"MatCap",
"Display using matcap material and lighting"},
417 {0,
nullptr, 0,
nullptr,
nullptr},
430 "Show the texture from the active image texture node using the active UV map coordinates"},
431 {0,
nullptr, 0,
nullptr,
nullptr},
439 "Show scene wireframes with the theme's wire color"},
442 {0,
nullptr, 0,
nullptr,
nullptr},
446 {0,
"DEFAULT", 0,
"Default",
""},
447 {0,
nullptr, 0,
nullptr,
nullptr},
477 {0,
nullptr, 0,
nullptr,
nullptr},
481 {
SC_MODE_TRACKING,
"TRACKING", ICON_ANIM_DATA,
"Tracking",
"Show tracking and solving tools"},
482 {
SC_MODE_MASKEDIT,
"MASK", ICON_MOD_MASK,
"Mask",
"Show mask editing tools"},
483 {0,
nullptr, 0,
nullptr,
nullptr},
489 {
BCONTEXT_TOOL,
"TOOL", ICON_TOOL_SETTINGS,
"Tool",
"Active Tool and Workspace settings"},
490 {
BCONTEXT_SCENE,
"SCENE", ICON_SCENE_DATA,
"Scene",
"Scene Properties"},
491 {
BCONTEXT_RENDER,
"RENDER", ICON_SCENE,
"Render",
"Render Properties"},
492 {
BCONTEXT_OUTPUT,
"OUTPUT", ICON_OUTPUT,
"Output",
"Output Properties"},
493 {
BCONTEXT_VIEW_LAYER,
"VIEW_LAYER", ICON_RENDER_RESULT,
"View Layer",
"View Layer Properties"},
494 {
BCONTEXT_WORLD,
"WORLD", ICON_WORLD,
"World",
"World Properties"},
496 {
BCONTEXT_OBJECT,
"OBJECT", ICON_OBJECT_DATA,
"Object",
"Object Properties"},
501 "Object Constraint Properties"},
502 {
BCONTEXT_MODIFIER,
"MODIFIER", ICON_MODIFIER,
"Modifiers",
"Modifier Properties"},
503 {
BCONTEXT_DATA,
"DATA", ICON_NONE,
"Data",
"Object Data Properties"},
504 {
BCONTEXT_BONE,
"BONE", ICON_BONE_DATA,
"Bone",
"Bone Properties"},
507 ICON_CONSTRAINT_BONE,
509 "Bone Constraint Properties"},
510 {
BCONTEXT_MATERIAL,
"MATERIAL", ICON_MATERIAL,
"Material",
"Material Properties"},
511 {
BCONTEXT_TEXTURE,
"TEXTURE", ICON_TEXTURE,
"Texture",
"Texture Properties"},
512 {
BCONTEXT_PARTICLE,
"PARTICLES", ICON_PARTICLES,
"Particles",
"Particle Properties"},
513 {
BCONTEXT_PHYSICS,
"PHYSICS", ICON_PHYSICS,
"Physics",
"Physics Properties"},
514 {
BCONTEXT_SHADERFX,
"SHADERFX", ICON_SHADERFX,
"Effects",
"Visual Effects Properties"},
515 {0,
nullptr, 0,
nullptr,
nullptr},
519 {0,
"NONE", 0,
"None",
"Only list current directory's content, with no recursion"},
520 {1,
"BLEND", 0,
"Blend File",
"List .blend files' content"},
521 {2,
"ALL_1", 0,
"One Level",
"List all sub-directories' content, one level of recursion"},
522 {3,
"ALL_2", 0,
"Two Levels",
"List all sub-directories' content, two levels of recursion"},
527 "List all sub-directories' content, three levels of recursion"},
528 {0,
nullptr, 0,
nullptr,
nullptr},
535 {0,
nullptr, 0,
nullptr,
nullptr},
541# include <fmt/format.h>
596 return &RNA_SpaceView3D;
598 return &RNA_SpaceGraphEditor;
600 return &RNA_SpaceOutliner;
602 return &RNA_SpaceProperties;
604 return &RNA_SpaceFileBrowser;
606 return &RNA_SpaceImageEditor;
608 return &RNA_SpaceInfo;
610 return &RNA_SpaceSequenceEditor;
612 return &RNA_SpaceTextEditor;
614 return &RNA_SpaceDopeSheetEditor;
616 return &RNA_SpaceNLA;
618 return &RNA_SpaceNodeEditor;
620 return &RNA_SpaceConsole;
622 return &RNA_SpacePreferences;
624 return &RNA_SpaceClipEditor;
626 return &RNA_SpaceSpreadsheet;
646static void area_region_from_regiondata(
bScreen *screen,
656 if (region->regiondata == regiondata) {
668 void *regiondata = (
ptr->
data);
670 area_region_from_regiondata(screen, regiondata, r_area, r_region);
677static bool rna_Space_bool_from_region_flag_get_by_type(
PointerRNA *
ptr,
678 const int region_type,
679 const int region_flag)
684 return (region->flag & region_flag);
689static void rna_Space_bool_from_region_flag_set_by_type(
PointerRNA *
ptr,
690 const int region_type,
691 const int region_flag,
702static void rna_Space_bool_from_region_flag_update_by_type(
bContext *C,
704 const int region_type,
705 const int region_flag)
742static void rna_Space_show_region_header_set(
PointerRNA *
ptr,
bool value)
747 bool value_for_tool_header = value;
751 if (region_tool_header !=
nullptr) {
755 rna_Space_bool_from_region_flag_set_by_type(
768static void rna_Space_show_region_footer_set(
PointerRNA *
ptr,
bool value)
781static bool rna_Space_show_region_tool_header_get(
PointerRNA *
ptr)
783 return !rna_Space_bool_from_region_flag_get_by_type(
786static void rna_Space_show_region_tool_header_set(
PointerRNA *
ptr,
bool value)
788 rna_Space_bool_from_region_flag_set_by_type(
798static bool rna_Space_show_region_toolbar_get(
PointerRNA *
ptr)
802static void rna_Space_show_region_toolbar_set(
PointerRNA *
ptr,
bool value)
811static bool rna_Space_show_region_tool_props_get(
PointerRNA *
ptr)
815static void rna_Space_show_region_tool_props_set(
PointerRNA *
ptr,
bool value)
825static bool rna_Space_show_region_channels_get(
PointerRNA *
ptr)
829static void rna_Space_show_region_channels_set(
PointerRNA *
ptr,
bool value)
843static void rna_Space_show_region_ui_set(
PointerRNA *
ptr,
bool value)
857static void rna_Space_show_region_hud_set(
PointerRNA *
ptr,
bool value)
867static bool rna_Space_show_region_asset_shelf_get(
PointerRNA *
ptr)
871static void rna_Space_show_region_asset_shelf_set(
PointerRNA *
ptr,
bool value)
887 area = rna_area_from_space(
ptr);
895 View2D *v2d = ®ion->v2d;
902static void rna_Space_view2d_sync_set(
PointerRNA *
ptr,
bool value)
907 area = rna_area_from_space(
ptr);
911 "'show_locked_time' is not supported for the '%s' editor",
923 View2D *v2d = ®ion->v2d;
928 v2d->
flag &= ~V2D_VIEWSYNC_SCREEN_TIME;
938 area = rna_area_from_space(
ptr);
948 View2D *v2d = ®ion->v2d;
956 bool changed =
false;
974 if (v3d->
scenelock && scene !=
nullptr) {
977 scene->camera = v3d->
camera;
982static void rna_SpaceView3D_use_local_camera_set(
PointerRNA *
ptr,
bool value)
994 if (scene !=
nullptr) {
995 v3d->
camera = scene->camera;
1000static float rna_View3DOverlay_GridScaleUnit_get(
PointerRNA *
ptr)
1005 if (scene !=
nullptr) {
1018 void *regiondata =
nullptr;
1020 ListBase *regionbase = (area->spacedata.first == v3d) ? &area->regionbase : &v3d->regionbase;
1028static void rna_SpaceView3D_object_type_visibility_update(
Main * ,
1035static void rna_SpaceView3D_shading_use_compositor_update(
Main * ,
1052 ((area && area->spacedata.first == v3d) ? &area->regionbase : &v3d->regionbase)->last);
1056 while (i-- && region) {
1057 region = region->prev;
1080 rna_area_region_from_regiondata(
ptr, &area, ®ion);
1087static void rna_RegionView3D_quadview_clip_update(
Main * ,
1094 rna_area_region_from_regiondata(
ptr, &area, ®ion);
1105static void rna_RegionView3D_view_rotation_set_validate_view_axis(
RegionView3D *rv3d)
1113 const float eps_quat = 1e-6f;
1118static void rna_RegionView3D_view_location_get(
PointerRNA *
ptr,
float *values)
1124static void rna_RegionView3D_view_location_set(
PointerRNA *
ptr,
const float *values)
1130static void rna_RegionView3D_view_rotation_get(
PointerRNA *
ptr,
float *values)
1136static void rna_RegionView3D_view_rotation_set(
PointerRNA *
ptr,
const float *values)
1140 rna_RegionView3D_view_rotation_set_validate_view_axis(rv3d);
1143static void rna_RegionView3D_view_matrix_set(
PointerRNA *
ptr,
const float *values)
1149 rna_RegionView3D_view_rotation_set_validate_view_axis(rv3d);
1152static bool rna_RegionView3D_is_orthographic_side_view_get(
PointerRNA *
ptr)
1160static void rna_RegionView3D_is_orthographic_side_view_set(
PointerRNA *
ptr,
bool value)
1166 if (was_axis_view) {
1170 const float eps_quat =
FLT_MAX;
1177 if (!was_axis_view) {
1187 return &shading->
prop;
1211 rna_GPencil_update(bmain, scene,
ptr);
1218 if (&v3d->
shading == shading) {
1258 Scene *scene = rna_3DViewShading_scene(
ptr);
1263 return shading->type;
1269 if (shading->type ==
OB_RENDER && !(type && type->view_draw)) {
1273 return shading->type;
1278static void rna_3DViewShading_type_set(
PointerRNA *
ptr,
int value)
1281 if (value != shading->type && value ==
OB_RENDER) {
1282 shading->prev_type = shading->type;
1284 shading->type = value;
1292 Scene *scene = rna_3DViewShading_scene(
ptr);
1310 if (type && type->view_draw) {
1340static void rna_View3DShading_studio_light_get_storage(
View3DShading *shading,
1344 *dna_storage = shading->studio_light;
1350 *dna_storage = shading->matcap;
1355 *dna_storage = shading->lookdev_light;
1359static int rna_View3DShading_studio_light_get(
PointerRNA *
ptr)
1365 rna_View3DShading_studio_light_get_storage(shading, &dna_storage, &
flag);
1376static void rna_View3DShading_studio_light_set(
PointerRNA *
ptr,
int value)
1382 rna_View3DShading_studio_light_get_storage(shading, &dna_storage, &
flag);
1404 if ((sl->
flag & flags) == flags) {
1413 bool show_studiolight =
false;
1418 show_studiolight =
true;
1422 switch (shading->type) {
1436 if (show_studiolight) {
1457 const bool eevee_next_active =
STREQ(scene->r.engine,
"BLENDER_EEVEE_NEXT");
1466 aov_template.
icon = 0;
1472 aov_template.
name = aov->name;
1475 aov_template.
value++;
1485 else if (!aov_available &&
STREQ(item->
name,
"Shader AOV")) {
1497static int rna_3DViewShading_render_pass_get(
PointerRNA *
ptr)
1501 ViewLayer *view_layer = rna_3DViewShading_view_layer(
ptr);
1509 if (aov_index == -1) {
1512 return result + aov_index;
1518static void rna_3DViewShading_render_pass_set(
PointerRNA *
ptr,
int value)
1521 ViewLayer *view_layer = rna_3DViewShading_view_layer(
ptr);
1522 shading->aov_name[0] = 0;
1529 const int aov_index = value & ~EEVEE_RENDER_PASS_AOV;
1541 shading->render_pass = value;
1566 return multiview_camera_items;
1573static void rna_SpaceView3D_mirror_xr_session_update(
Main *
main,
1577# ifdef WITH_XR_OPENXR
1583 const ScrArea *area = rna_area_from_space(
ptr);
1592static int rna_SpaceView3D_icon_from_show_object_viewport_get(
PointerRNA *
ptr)
1599static std::optional<std::string> rna_View3DShading_path(
const PointerRNA *
ptr)
1602 return "display.shading";
1613 if (&v3d->
shading == shading) {
1614 return fmt::format(
"areas[{}].spaces[{}].shading", area_index, space_index);
1629static std::optional<std::string> rna_View3DOverlay_path(
const PointerRNA *
ptr)
1632 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
1642static std::optional<std::string> rna_SpaceImageOverlay_path(
const PointerRNA *
ptr)
1645 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
1648static std::optional<std::string> rna_SpaceUVEditor_path(
const PointerRNA *
ptr)
1651 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"uv_editor");
1661 if (scene !=
nullptr) {
1666static void rna_SpaceImageEditor_show_stereo_set(
PointerRNA *
ptr,
bool value)
1678static bool rna_SpaceImageEditor_show_stereo_get(
PointerRNA *
ptr)
1684static void rna_SpaceImageEditor_show_stereo_update(
Main * ,
1701static bool rna_SpaceImageEditor_show_render_get(
PointerRNA *
ptr)
1707static bool rna_SpaceImageEditor_show_paint_get(
PointerRNA *
ptr)
1713static bool rna_SpaceImageEditor_show_uvedit_get(
PointerRNA *
ptr)
1717 Object *obedit =
nullptr;
1719 if (win !=
nullptr) {
1728static bool rna_SpaceImageEditor_show_maskedit_get(
PointerRNA *
ptr)
1732 Object *obedit =
nullptr;
1734 if (win !=
nullptr) {
1802static int rna_SpaceImageEditor_display_channels_get(
PointerRNA *
ptr)
1815static void rna_SpaceImageEditor_zoom_get(
PointerRNA *
ptr,
float *values)
1821 values[0] = values[1] = 1;
1824 area = rna_area_from_space(
ptr);
1831static float rna_SpaceImageEditor_zoom_percentage_get(
PointerRNA *
ptr)
1834 return sima->
zoom * 100.0f;
1837static void rna_SpaceImageEditor_zoom_percentage_set(
PointerRNA *
ptr,
const float value)
1840 sima->
zoom = value / 100.0f;
1843static void rna_SpaceImageEditor_cursor_location_get(
PointerRNA *
ptr,
float *values)
1854 values[0] = sima->
cursor[0] *
w;
1855 values[1] = sima->
cursor[1] * h;
1859static void rna_SpaceImageEditor_cursor_location_set(
PointerRNA *
ptr,
const float *values)
1870 sima->
cursor[0] = values[0] /
w;
1871 sima->
cursor[1] = values[1] / h;
1918 "INDIVIDUAL_ORIGINS",
1919 ICON_PIVOT_INDIVIDUAL,
1920 "Individual Origins",
1921 "Pivot around each selected island's own median point"},
1922 {0,
nullptr, 0,
nullptr,
nullptr},
1935static void rna_SpaceUVEditor_tile_grid_shape_set(
PointerRNA *
ptr,
const int *values)
1939 int clamp[2] = {10, 100};
1940 for (
int i = 0; i < 2; i++) {
1945static void rna_SpaceUVEditor_custom_grid_subdiv_set(
PointerRNA *
ptr,
const int *values)
1949 for (
int i = 0; i < 2; i++) {
1956static void rna_SpaceTextEditor_word_wrap_set(
PointerRNA *
ptr,
bool value)
1970 st->
text =
static_cast<Text *
>(value.data);
1971 if (st->
text !=
nullptr) {
1984static bool rna_SpaceTextEditor_text_is_syntax_highlight_supported(
SpaceText *space)
1998static int rna_SpaceTextEditor_visible_lines_get(
PointerRNA *
ptr)
2012 sbuts->
pinid =
static_cast<ID *
>(value.data);
2031 if (
id ==
nullptr) {
2032 sbuts->
flag &= ~SB_PIN_CONTEXT;
2036 switch (
GS(id->name)) {
2054static void rna_SpaceProperties_context_set(
PointerRNA *
ptr,
int value)
2058 sbuts->
mainb = value;
2076 int totitem_added = 0;
2077 bool add_separator =
true;
2078 for (
int i = 0; i < totitem; i++) {
2079 if (context_tabs_array[i] == -1) {
2080 if (add_separator) {
2082 add_separator =
false;
2088 add_separator =
true;
2092 (item + totitem_added - 1)->icon = sbuts->
dataicon;
2102static void rna_SpaceProperties_context_update(
Main * ,
2113static int rna_SpaceProperties_tab_search_results_getlength(
const PointerRNA *
ptr,
2121 length[0] = tabs_len;
2126static void rna_SpaceProperties_tab_search_results_get(
PointerRNA *
ptr,
bool *values)
2133 for (
int i = 0; i < tabs_len; i++) {
2138static void rna_SpaceProperties_search_filter_get(
PointerRNA *
ptr,
char *value)
2143 strcpy(value, search_filter);
2146static int rna_SpaceProperties_search_filter_length(
PointerRNA *
ptr)
2153static void rna_SpaceProperties_search_filter_set(
PointerRNA *
ptr,
const char *value)
2160static void rna_SpaceProperties_search_filter_update(
Main * ,
2173static void rna_ConsoleLine_body_get(
PointerRNA *
ptr,
char *value)
2176 memcpy(value, ci->line, ci->len + 1);
2185static void rna_ConsoleLine_body_set(
PointerRNA *
ptr,
const char *value)
2188 int len = strlen(value);
2190 if ((
len >= ci->len_alloc) || (
len * 2 < ci->len_alloc)) {
2192 ci->line =
static_cast<char *
>(
MEM_mallocN((
len + 1) *
sizeof(
char),
"rna_consoleline"));
2193 ci->len_alloc =
len + 1;
2195 memcpy(ci->line, value,
len + 1);
2198 if (ci->cursor >
len) {
2204static int rna_ConsoleLine_current_character_get(
PointerRNA *
ptr)
2210static void rna_ConsoleLine_current_character_set(
PointerRNA *
ptr,
const int index)
2218static void rna_SpaceDopeSheetEditor_action_set(
PointerRNA *
ptr,
2225 if ((act ==
nullptr) || (act->idroot == 0)) {
2233 if (act->idroot ==
ID_OB) {
2238 "ERROR: cannot assign Action '%s' to Action Editor, as action is not object-level "
2245 if (act->idroot ==
ID_KE) {
2250 "ERROR: cannot assign Action '%s' to Shape Key Editor, as action doesn't animate "
2257 "ACK: who's trying to set an action while not in a mode displaying a single Action "
2272 if (obact ==
nullptr) {
2278 switch (saction->
mode) {
2286 if (key ==
nullptr) {
2301 if (adt ==
nullptr) {
2357 saction->
action =
nullptr;
2368 saction->
action =
nullptr;
2378 if (area && area->spacedata.first == saction) {
2380 if (channels_region) {
2385 channels_region->
flag &= ~RGN_FLAG_HIDDEN;
2432static bool rna_SpaceGraphEditor_has_ghost_curves_get(
PointerRNA *
ptr)
2464 if (seq->type !=
SEQ_TYPE_MOVIE || seq->strip ==
nullptr || seq->strip->proxy ==
nullptr) {
2492static bool rna_SequenceEditor_clamp_view_get(
PointerRNA *
ptr)
2498static void rna_SequenceEditor_clamp_view_set(
PointerRNA *
ptr,
bool value)
2504 area = rna_area_from_space(
ptr);
2505 if (area ==
nullptr) {
2513 region->v2d.align &= ~V2D_ALIGN_NO_NEG_Y;
2516 sseq->
flag &= ~SEQ_CLAMP_VIEW;
2533static std::optional<std::string> rna_SpaceSequencerPreviewOverlay_path(
const PointerRNA *
ptr)
2537 "{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"preview_overlay");
2545static std::optional<std::string> rna_SpaceSequencerTimelineOverlay_path(
const PointerRNA *
ptr)
2549 "{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"timeline_overlay");
2557static std::optional<std::string> rna_SpaceSequencerCacheOverlay_path(
const PointerRNA *
ptr)
2560 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"cache_overlay");
2563static float rna_SpaceSequenceEditor_zoom_percentage_get(
PointerRNA *
ptr)
2566 if (area ==
nullptr) {
2570 if (region ==
nullptr) {
2574 View2D *v2d = ®ion->v2d;
2580static void rna_SpaceSequenceEditor_zoom_percentage_set(
PointerRNA *
ptr,
const float value)
2583 if (area ==
nullptr) {
2587 if (region ==
nullptr) {
2591 View2D *v2d = ®ion->v2d;
2609static std::optional<std::string> rna_SpaceNodeOverlay_path(
const PointerRNA *
ptr)
2612 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
2615static void rna_SpaceNodeEditor_node_tree_set(
PointerRNA *
ptr,
2623static bool rna_SpaceNodeEditor_geometry_nodes_tool_tree_poll(
PointerRNA * ,
2639static bool space_node_node_geometry_nodes_poll(
const SpaceNode &snode,
const bNodeTree &ntree)
2672 if (!space_node_node_geometry_nodes_poll(*snode, *ntree)) {
2684static void rna_SpaceNodeEditor_geometry_nodes_type_update(
Main * ,
2690 snode->
flag &= ~SNODE_PIN;
2694static int rna_SpaceNodeEditor_tree_type_get(
PointerRNA *
ptr)
2699static void rna_SpaceNodeEditor_tree_type_set(
PointerRNA *
ptr,
int value)
2708 return type->poll(C, type);
2715static void rna_SpaceNodeEditor_cursor_location_get(
PointerRNA *
ptr,
float value[2])
2722static void rna_SpaceNodeEditor_cursor_location_set(
PointerRNA *
ptr,
const float value[2])
2742static void rna_SpaceNodeEditor_path_get(
PointerRNA *
ptr,
char *value)
2766static void rna_SpaceNodeEditor_path_append(
SpaceNode *snode,
2782static void rna_SpaceNodeEditor_show_backdrop_update(
Main * ,
2790static void rna_SpaceNodeEditor_cursor_location_from_region(
SpaceNode *snode,
2797 float cursor_location[2];
2825static void rna_SpaceClipEditor_clip_mode_update(
Main * ,
2841static void rna_SpaceClipEditor_lock_selection_update(
Main * ,
2851static void rna_SpaceClipEditor_view_type_update(
Main * ,
2859static float rna_SpaceClipEditor_zoom_percentage_get(
PointerRNA *
ptr)
2862 return sc->
zoom * 100.0f;
2865static void rna_SpaceClipEditor_zoom_percentage_set(
PointerRNA *
ptr,
const float value)
2868 sc->
zoom = value / 100.0f;
2873static std::optional<std::string> rna_FileSelectParams_path(
const PointerRNA * )
2878int rna_FileSelectParams_filename_editable(
const PointerRNA *
ptr,
const char **r_info)
2883 *r_info =
"Only directories can be chosen for the current operation.";
2890static bool rna_FileSelectParams_use_lib_get(
PointerRNA *
ptr)
2923static void rna_FileSelectPrams_filter_glob_set(
PointerRNA *
ptr,
const char *value)
2938static int rna_FileAssetSelectParams_asset_library_get(
PointerRNA *
ptr)
2947static void rna_FileAssetSelectParams_asset_library_set(
PointerRNA *
ptr,
int value)
2962 if (!entry->
asset) {
2973 if (entry->
asset->is_local_id()) {
2981static int rna_FileBrowser_FileSelectEntry_name_editable(
const PointerRNA *
ptr,
2982 const char **r_info)
2990 PointerRNA asset_data_ptr = rna_FileBrowser_FileSelectEntry_asset_data_get_impl(
ptr);
3000 return rna_FileBrowser_FileSelectEntry_asset_data_get_impl(
ptr);
3003static void rna_FileBrowser_FileSelectEntry_name_get(
PointerRNA *
ptr,
char *value)
3006 strcpy(value, entry->
name);
3009static int rna_FileBrowser_FileSelectEntry_name_length(
PointerRNA *
ptr)
3012 return int(strlen(entry->
name));
3015static void rna_FileBrowser_FileSelectEntry_relative_path_get(
PointerRNA *
ptr,
char *value)
3018 strcpy(value, entry->
relpath);
3021static int rna_FileBrowser_FileSelectEntry_relative_path_length(
PointerRNA *
ptr)
3027static int rna_FileBrowser_FileSelectEntry_preview_icon_id_get(
PointerRNA *
ptr)
3039 return &RNA_FileSelectParams;
3042 return &RNA_FileAssetSelectParams;
3053 StructRNA *params_struct = rna_FileBrowser_params_typef(
ptr);
3055 if (
params && params_struct) {
3062static void rna_FileBrowser_FSMenuEntry_path_get(
PointerRNA *
ptr,
char *value)
3066 strcpy(value, path ? path :
"");
3069static int rna_FileBrowser_FSMenuEntry_path_length(
PointerRNA *
ptr)
3073 return int(path ? strlen(path) : 0);
3076static void rna_FileBrowser_FSMenuEntry_path_set(
PointerRNA *
ptr,
const char *value)
3085static void rna_FileBrowser_FSMenuEntry_name_get(
PointerRNA *
ptr,
char *value)
3090static int rna_FileBrowser_FSMenuEntry_name_length(
PointerRNA *
ptr)
3095static void rna_FileBrowser_FSMenuEntry_name_set(
PointerRNA *
ptr,
const char *value)
3104static int rna_FileBrowser_FSMenuEntry_name_get_editable(
const PointerRNA *
ptr,
3112static int rna_FileBrowser_FSMenuEntry_icon_get(
PointerRNA *
ptr)
3118static void rna_FileBrowser_FSMenuEntry_icon_set(
PointerRNA *
ptr,
int value)
3124static bool rna_FileBrowser_FSMenuEntry_use_save_get(
PointerRNA *
ptr)
3130static bool rna_FileBrowser_FSMenuEntry_is_valid_get(
PointerRNA *
ptr)
3140 if (internal->
skip) {
3143 iter->
valid = (internal->
link !=
nullptr);
3144 }
while (iter->
valid && internal->
skip(iter, internal->
link));
3148 iter->
valid = (internal->
link !=
nullptr);
3159 internal->
link = (fsmentry) ? (
Link *)fsmentry :
nullptr;
3160 internal->
skip =
nullptr;
3162 iter->
valid = (internal->
link !=
nullptr);
3180static int rna_FileBrowser_FSMenuSystem_data_length(
PointerRNA * )
3193static int rna_FileBrowser_FSMenuSystemBookmark_data_length(
PointerRNA * )
3206static int rna_FileBrowser_FSMenuBookmark_data_length(
PointerRNA * )
3219static int rna_FileBrowser_FSMenuRecent_data_length(
PointerRNA * )
3252static void rna_FileBrowser_FSMenu_active_set(
PointerRNA *
ptr,
3283static void rna_FileBrowser_FSMenu_active_range(
PointerRNA * ,
3292 *
min = *softmin = -1;
3302static int rna_FileBrowser_FSMenuSystem_active_get(
PointerRNA *
ptr)
3307static void rna_FileBrowser_FSMenuSystem_active_set(
PointerRNA *
ptr,
int value)
3312static void rna_FileBrowser_FSMenuSystem_active_range(
3318static int rna_FileBrowser_FSMenuSystemBookmark_active_get(
PointerRNA *
ptr)
3323static void rna_FileBrowser_FSMenuSystemBookmark_active_set(
PointerRNA *
ptr,
int value)
3328static void rna_FileBrowser_FSMenuSystemBookmark_active_range(
3331 rna_FileBrowser_FSMenu_active_range(
3335static int rna_FileBrowser_FSMenuBookmark_active_get(
PointerRNA *
ptr)
3340static void rna_FileBrowser_FSMenuBookmark_active_set(
PointerRNA *
ptr,
int value)
3345static void rna_FileBrowser_FSMenuBookmark_active_range(
3351static int rna_FileBrowser_FSMenuRecent_active_get(
PointerRNA *
ptr)
3356static void rna_FileBrowser_FSMenuRecent_active_set(
PointerRNA *
ptr,
int value)
3361static void rna_FileBrowser_FSMenuRecent_active_range(
3367static void rna_SpaceFileBrowser_browse_mode_update(
Main * ,
3375static void rna_SpaceSpreadsheet_geometry_component_type_update(
Main * ,
3381 switch (sspreadsheet->geometry_component_type) {
3382 case int(bke::GeometryComponent::Type::Mesh): {
3384 bke::AttrDomain::Point,
3385 bke::AttrDomain::Edge,
3386 bke::AttrDomain::Face,
3387 bke::AttrDomain::Corner))
3389 sspreadsheet->attribute_domain =
uint8_t(bke::AttrDomain::Point);
3393 case int(bke::GeometryComponent::Type::PointCloud): {
3394 sspreadsheet->attribute_domain =
uint8_t(bke::AttrDomain::Point);
3397 case int(bke::GeometryComponent::Type::Instance): {
3398 sspreadsheet->attribute_domain =
uint8_t(bke::AttrDomain::Instance);
3401 case int(bke::GeometryComponent::Type::Volume): {
3404 case int(bke::GeometryComponent::Type::Curve): {
3406 bke::AttrDomain::Point,
3407 bke::AttrDomain::Curve))
3409 sspreadsheet->attribute_domain =
uint8_t(bke::AttrDomain::Point);
3425 ID *used_id = ed::spreadsheet::get_current_id(sspreadsheet);
3426 if (used_id !=
nullptr) {
3430 component_type = bke::GeometryComponent::Type::PointCloud;
3433 component_type = bke::GeometryComponent::Type::Mesh;
3440 int(bke::AttrDomain::Point),
"POINT", 0,
"Vertex",
"Attribute per point/vertex"};
3447 if (component_type == bke::GeometryComponent::Type::Mesh) {
3449 bke::AttrDomain::Corner,
3450 bke::AttrDomain::Edge,
3451 bke::AttrDomain::Point,
3452 bke::AttrDomain::Face))
3457 if (component_type == bke::GeometryComponent::Type::PointCloud) {
3462 if (component_type == bke::GeometryComponent::Type::Curve) {
3468 component_type == bke::GeometryComponent::Type::Mesh)
3487 return &RNA_IDViewerPathElem;
3489 return &RNA_ModifierViewerPathElem;
3491 return &RNA_GroupNodeViewerPathElem;
3493 return &RNA_SimulationZoneViewerPathElem;
3495 return &RNA_ViewerNodeViewerPathElem;
3497 return &RNA_RepeatZoneViewerPathElem;
3499 return &RNA_ForeachGeometryElementZoneViewerPathElem;
3505static void rna_FileAssetSelectParams_catalog_id_get(
PointerRNA *
ptr,
char *value)
3511static int rna_FileAssetSelectParams_catalog_id_length(
PointerRNA * )
3516static void rna_FileAssetSelectParams_catalog_id_set(
PointerRNA *
ptr,
const char *value)
3520 if (value[0] ==
'\0') {
3528 printf(
"UUID %s not formatted correctly, ignoring new value\n", value);
3532 params->catalog_id = new_uuid;
3539 {
SI_UVDT_OUTLINE,
"OUTLINE", 0,
"Outline",
"Display white edges with black outline"},
3540 {
SI_UVDT_DASH,
"DASH", 0,
"Dash",
"Display dashed black-white edges"},
3541 {
SI_UVDT_BLACK,
"BLACK", 0,
"Black",
"Display black edges"},
3542 {
SI_UVDT_WHITE,
"WHITE", 0,
"White",
"Display white edges"},
3543 {0,
nullptr, 0,
nullptr,
nullptr},
3548 {
FILTER_ID_SCE,
"category_scene", ICON_SCENE_DATA,
"Scenes",
"Show scenes"},
3549 {
FILTER_ID_AC,
"category_animation", ICON_ANIM_DATA,
"Animations",
"Show animation data"},
3552 ICON_OUTLINER_COLLECTION,
3553 "Objects & Collections",
3554 "Show objects and collections"},
3557 "category_geometry",
3558 ICON_GEOMETRY_NODES,
3560 "Show meshes, curves, lattice, armatures and metaballs data"},
3565 "Show materials, node-trees, textures and Freestyle's line-styles"},
3570 "Show images, movie clips, sounds and masks"},
3572 "category_environment",
3575 "Show worlds, lights, cameras and speakers"},
3581 "Show other data types"},
3582 {0,
nullptr, 0,
nullptr,
nullptr},
3589# define DEF_SHOW_REGION_PROPERTY(identifier, label, description) \
3591 prop = RNA_def_property(srna, STRINGIFY(identifier), PROP_BOOLEAN, PROP_NONE); \
3592 RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE); \
3593 RNA_def_property_boolean_funcs(prop, \
3594 STRINGIFY(rna_Space_##identifier##_get), \
3595 STRINGIFY(rna_Space_##identifier##_set)); \
3596 RNA_def_property_ui_text(prop, label, description); \
3597 RNA_def_property_update(prop, 0, STRINGIFY(rna_Space_##identifier##_update)); \
3663 "Sync Visible Range",
3664 "Synchronize the visible timeline range with other time-based editors");
3680 "Show alpha channel of the mask"},
3685 "Combine space background image with the mask"},
3686 {0,
nullptr, 0,
nullptr,
nullptr},
3735 {0,
nullptr, 0,
nullptr,
nullptr},
3742 {0,
nullptr, 0,
nullptr,
nullptr},
3749 {0,
nullptr, 0,
nullptr,
nullptr},
3770 "Display faces colored according to the difference in shape between UVs and "
3771 "their 3D coordinates (blue for low distortion, red for high distortion)");
3784 prop,
"Display Modified Edges",
"Display edges after modifiers are applied");
3795 prop,
"Display Texture Paint UVs",
"Display overlay of texture paint UV layer");
3801 prop,
"Pixel Coordinates",
"Display UV coordinates in pixels rather than from 0.0 to 1.0");
3816 prop,
"Tile Grid Shape",
"How many tiles will be shown in the background");
3837 prop,
"Dynamic Grid Size",
"Number of grid units in UV space that make one UV Unit");
3860 "Constrain to Image Bounds",
3861 "Constraint to stay within the image bounds while editing");
3869 "Continuously unwrap the selected UV island while transforming pinned vertices");
3883 "Display scenes and their view layers, collections and objects"},
3888 "Display collections and objects in the view layer"},
3893 "Display data belonging to the Video Sequencer"},
3898 "Display data of current file and linked libraries"},
3903 "Display low level Blender data and its properties"},
3905 "LIBRARY_OVERRIDES",
3906 ICON_LIBRARY_DATA_OVERRIDE,
3907 "Library Overrides",
3908 "Display data-blocks with library overrides and list their overridden properties"},
3913 "Display data that is unused and/or will be lost when the file is reloaded"},
3914 {0,
nullptr, 0,
nullptr,
nullptr},
3922 "Display all local override data-blocks with their overridden properties and buttons to "
3928 "Display library override relationships"},
3929 {0,
nullptr, 0,
nullptr,
nullptr},
3938 {0,
nullptr, 0,
nullptr,
nullptr},
3954 "Library Override View Mode",
3955 "Choose different visualizations of library override data");
3967 prop,
"Case Sensitive Matches Only",
"Only use case sensitive matches of search string");
3973 prop,
"Complete Matches Only",
"Only use complete matches of search string");
3984 prop,
"Sync Outliner Selection",
"Sync outliner selection with other editors");
3990 prop,
"Show Mode Column",
"Show the mode column for mode toggle and activation");
4045 prop,
"Show Object Contents",
"Show what is inside the objects elements");
4109 prop,
"Show Other Objects",
"Show curves, lattices, light probes, fonts, ...");
4128 "Show System Overrides",
4129 "For libraries with overrides created, show the overridden values that are "
4130 "defined/controlled automatically (e.g. to make users of an overridden data-block point to "
4131 "the override data, not the original linked data)");
4147 "Use a custom color limited to this viewport only"},
4148 {0,
nullptr, 0,
nullptr,
nullptr},
4156 "Cavity shading computed in world space, useful for larger-scale occlusion"},
4161 "Curvature-based shading, useful for making fine details more visible"},
4163 {0,
nullptr, 0,
nullptr,
nullptr},
4171 "The compositor is disabled"},
4176 "The compositor is enabled only in camera view"},
4181 "The compositor is always enabled regardless of the view"},
4182 {0,
nullptr, 0,
nullptr,
nullptr},
4190 srna,
"3D View Shading Settings",
"Settings for shading in the 3D viewport");
4196 "rna_3DViewShading_type_get",
4197 "rna_3DViewShading_type_set",
4198 "rna_3DViewShading_type_itemf");
4200 prop,
"Viewport Shading",
"Method to display/shade objects in the 3D View");
4220 "rna_View3DShading_studio_light_get",
4221 "rna_View3DShading_studio_light_set",
4222 "rna_View3DShading_studio_light_itemf");
4230 prop,
"World Space Lighting",
"Make the lighting fixed and not follow the camera");
4236 prop,
"Backface Culling",
"Use back face culling to hide the back side of faces");
4286 prop,
"rna_View3DShading_selected_studio_light_get",
nullptr,
nullptr,
nullptr);
4293 prop,
"Studiolight Rotation",
"Rotation of the studiolight around the Z-Axis");
4329 prop,
"World Space Lighting",
"Make the HDR rotation fixed and not follow the camera");
4403 "Use depth of field on viewport using the values from the active camera");
4458 "rna_3DViewShading_render_pass_get",
4459 "rna_3DViewShading_render_pass_set",
4460 "rna_3DViewShading_render_pass_itemf");
4474 prop,
"Compositor",
"When to preview the compositor output inside the viewport");
4477 "rna_SpaceView3D_shading_use_compositor_update");
4490 srna,
"3D View Overlay Settings",
"Settings for display of overlays in the 3D viewport");
4525 prop,
"Grid Scale",
"Multiplier for the distance between 3D View grid lines");
4533 prop,
"Grid Lines",
"Number of grid lines to display in perspective view");
4547 prop,
"Grid Scale Unit",
"Grid cell size scaled by scene unit system settings");
4552 prop,
"Outline Selected",
"Show an outline highlight around selected objects");
4565 "All Object Origins",
4566 "Show the object origin center dot for all (selected and unselected) objects");
4572 "Relationship Lines",
4573 "Show dashed lines indicating parent or constraint relationships");
4606 prop,
"Extras",
"Object details, including empty wire, cameras and other visual guides");
4617 prop,
"Show Bones",
"Display bones (disable to show motion paths only)");
4630 prop,
"Fade Inactive Objects",
"Fade inactive geometry using the viewport background color");
4656 prop,
"Bone Wireframe Opacity",
"Maximum opacity of bones in wireframe display mode");
4690 "Wireframe Threshold",
4691 "Adjust the angle threshold for displaying edges "
4700 "Wireframe Opacity",
4701 "Opacity of the displayed edges "
4702 "(1.0 for opaque)");
4716 prop,
"Viewer Attribute Opacity",
"Opacity of the attribute that is currently visualized");
4725 prop,
"View Attribute Text",
"Show attribute values as text in viewport");
4737 "Show Weight Contours",
4738 "Show contour lines formed by points with the same interpolated weight");
4750 "Hide the solid mesh and offset the overlay towards the view. "
4751 "Selection is occluded by inactive geometry, unless X-Ray is enabled");
4757 prop,
"Retopology Offset",
"Offset used to draw edit mesh in front of other geometry");
4776 prop,
"Display Split Normals",
"Display vertex-per-face normals as lines");
4788 "Display Face Center",
4789 "Display face center when face selection is enabled in solid shading modes");
4795 prop,
"Display Creases",
"Display creases created for Subdivision Surface modifier");
4801 prop,
"Display Bevel Weights",
"Display weights created for the Bevel modifier");
4812 prop,
"Display Sharp",
"Display sharp edges, used with the Edge Split modifier");
4819 "Display Freestyle Edge Marks",
4820 "Display Freestyle edge marks, used with the Freestyle renderer");
4827 "Display Freestyle Face Marks",
4828 "Display Freestyle face marks, used with the Freestyle renderer");
4834 prop,
"Mesh Analysis",
"Display statistical information about the mesh");
4842 "Display selected edge lengths, using global values when set in the transform panel");
4850 "Display selected edge angle, using global values when set in the transform panel");
4857 "Display the angles in the selected edges, "
4858 "using global values when set in the transform panel");
4865 "Display the area of selected faces, "
4866 "using global values when set in the transform panel");
4872 prop,
"Indices",
"Display the index numbers of selected vertices, edges, and faces");
4879 prop,
"Display Handles",
"Limit the display of curve handles in edit mode");
4906 "Constant Screen Size Normals",
4907 "Keep size of normals constant in relation to 3D view");
4913 prop,
"Stencil Mask Opacity",
"Opacity of the texture paint mode stencil mask overlay");
4920 prop,
"Stencil Mask Opacity",
"Opacity of the texture paint mode stencil mask overlay");
4927 prop,
"Weight Paint Opacity",
"Opacity of the weight paint mode overlay");
4940 prop,
"Sculpt Curves Cage",
"Show original curves that are currently being edited");
4946 prop,
"Curves Sculpt Cage Opacity",
"Opacity of the cage overlay in curves sculpt mode");
4977 "Fade all viewport objects with a full color layer to improve visibility");
4988 prop,
"Fade Layers",
"Toggle fading of Grease Pencil layers except the active one");
4994 prop,
"Fade Grease Pencil Objects",
"Fade Grease Pencil Objects, except the active one");
5006 "Show stroke drawing direction with a bigger green dot (start) "
5007 "and smaller red dot (end) points");
5013 prop,
"Stroke Material Name",
"Show material name assigned to each stroke");
5061 prop,
"Opacity",
"Fade layer opacity for Grease Pencil layers except the active one");
5079 prop,
"Onion Skins",
"Show ghosts of the keyframes before and after the current frame");
5112 {
RV3D_ORTHO,
"ORTHO", 0,
"Orthographic",
""},
5114 {0,
nullptr, 0,
nullptr,
nullptr},
5122 {
OB_CUBE,
"CUBE", 0,
"Cube",
""},
5125 {0,
nullptr, 0,
nullptr,
nullptr},
5143 "Active camera used in this view (when unlocked from the scene's active camera)");
5152 "Use a region within the frame size for rendered viewport "
5153 "(when not viewing through the camera)");
5184 prop,
"Lock to Object",
"3D View center is locked to this object's position");
5190 prop,
"Lock to Bone",
"3D View center is locked to this bone's position");
5196 prop,
"Lock to Cursor",
"3D View center is locked to the cursor's position");
5204 "Display an isolated subset of objects, apart from the scene visibility");
5216 prop,
"Clip Start",
"3D View near clipping distance (perspective view only)");
5228 prop,
"Lock Camera to View",
"Enable view navigation within the camera view");
5295 prop,
"Show Light Look-At",
"Gizmo to adjust the direction of the light");
5302 prop,
"Show Camera Lens",
"Gizmo to adjust camera focal length or orthographic scale");
5309 "Show Camera Focus Distance",
5310 "Gizmo to adjust camera focus distance "
5311 "(depends on limits display)");
5319 "Use a local camera in this view, rather than scene's active camera");
5328 "3D region for this space. When the space is in quad view, the camera region");
5333 "rna_SpaceView3D_region_quadviews_begin",
5334 "rna_iterator_listbase_next",
5335 "rna_iterator_listbase_end",
5336 "rna_SpaceView3D_region_quadviews_get",
5342 "Quad View Regions",
5343 "3D regions (the third one defines quad view settings, "
5344 "the fourth one is same as 'region_3d')");
5349 prop,
"Show Reconstruction",
"Display reconstruction data from active movie clip");
5373 prop,
"Show 3D Marker Names",
"Show names for reconstructed tracks objects");
5379 prop,
"Local Collections",
"Display a different set of collections in this viewport");
5428 "Mirror VR Session",
5429 "Synchronize the viewer perspective of virtual reality sessions with this 3D viewport");
5435 "rna_SpaceView3D_object_type_visibility_update");
5440 prop,
"rna_SpaceView3D_icon_from_show_object_viewport_get",
nullptr,
nullptr);
5460 prop,
"Overlay Settings",
"Settings for display of overlays in the 3D viewport");
5476 prop,
"Lock Rotation",
"Lock view rotation of side views to Top/Front/Right");
5487 prop,
"Clip Contents",
"Clip view contents based on what is visible in other side views");
5497 prop,
"Perspective Matrix",
"Current perspective matrix (``window_matrix * view_matrix``)");
5527 "rna_RegionView3D_is_orthographic_side_view_get",
5528 "rna_RegionView3D_is_orthographic_side_view_set");
5532 "Whether the current view is aligned to an axis "
5533 "(does not check whether the view is orthographic, use \"is_perspective\" for that). "
5534 "Setting this will rotate the view to the closest axis");
5541 const int default_value[] = {6, 4};
5553 prop,
"rna_RegionView3D_view_location_get",
"rna_RegionView3D_view_location_set",
nullptr);
5566 prop,
"rna_RegionView3D_view_rotation_get",
"rna_RegionView3D_view_rotation_set",
nullptr);
5602 "Always change tabs when clicking an icon in an outliner"},
5607 "Never change tabs when clicking an icon in an outliner"},
5612 "Change tabs only when this editor shares a border with an outliner"},
5613 {0,
nullptr, 0,
nullptr,
nullptr},
5624 prop,
nullptr,
"rna_SpaceProperties_context_set",
"rna_SpaceProperties_context_itemf");
5637 "rna_SpaceProperties_pin_id_set",
5638 "rna_SpaceProperties_pin_id_typef",
5657 prop,
"Tab Search Results",
"Whether or not each visible tab has a search result");
5663 "rna_SpaceProperties_search_filter_get",
5664 "rna_SpaceProperties_search_filter_length",
5665 "rna_SpaceProperties_search_filter_set");
5677 "Change to the corresponding tab when outliner data icons are clicked");
5691 srna,
"Overlay Settings",
"Settings for display of overlays in the UV/Image editor");
5721 prop,
nullptr,
"rna_SpaceImageEditor_image_set",
nullptr,
nullptr);
5727 "rna_SpaceImageEditor_image_update");
5735 "Parameters defining which layer, pass and frame of the image is displayed");
5748 prop,
"Image Pin",
"Display current image regardless of object selection");
5765 "rna_SpaceImageEditor_zoom_percentage_get",
5766 "rna_SpaceImageEditor_zoom_percentage_set",
5777 prop,
"Display Repeated",
"Display the image repeated outside of the main view");
5789 "rna_SpaceImageEditor_display_channels_get",
5791 "rna_SpaceImageEditor_display_channels_itemf");
5797 prop,
"rna_SpaceImageEditor_show_stereo_get",
"rna_SpaceImageEditor_show_stereo_set");
5808 prop,
"rna_SpaceImageEditor_uvedit_get",
nullptr,
nullptr,
nullptr);
5828 "rna_SpaceImageEditor_cursor_location_get",
5829 "rna_SpaceImageEditor_cursor_location_set",
5846 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
5855 "Update Automatically",
5856 "Update other affected window spaces automatically to reflect changes "
5857 "during interactive operations such as transform");
5897 prop,
"Overlay Settings",
"Settings for display of overlays in the UV/Image editor");
5921 prop,
"Safe Areas",
"Show TV title safe and action safe areas in preview");
5928 prop,
"Center-Cut Safe Areas",
"Show safe areas to fit content in a different aspect ratio");
5958 srna =
RNA_def_struct(brna,
"SequencerTimelineOverlay",
nullptr);
5969 "Display waveforms for all sound strips"},
5970 {0,
"DEFAULT_WAVEFORMS", 0,
"Strip",
"Display waveforms depending on strip setting"},
5975 "Don't display waveforms for any sound strips"},
5976 {0,
nullptr, 0,
nullptr,
nullptr},
5986 {0,
"FULL_WAVEFORMS", 0,
"Full",
"Display full waveform"},
5991 "Display upper half of the absolute value waveform"},
5992 {0,
nullptr, 0,
nullptr,
nullptr},
6016 prop,
"Show Source",
"Display path to source file, or name of source datablock");
6046 prop,
"Show Color Tags",
"Display the strip color tags in the sequencer");
6104 {0,
nullptr, 0,
nullptr,
nullptr},
6114 {0,
nullptr, 0,
nullptr,
nullptr},
6121 {0,
nullptr, 0,
nullptr,
nullptr},
6127 ICON_IMAGE_RGB_ALPHA,
6129 "Display image with RGB colors and alpha transparency"},
6130 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
6131 {0,
nullptr, 0,
nullptr,
nullptr},
6148 prop,
"View Type",
"Type of the Sequencer view (sequencer, preview or both)");
6156 prop,
"Display Mode",
"View mode to use for displaying sequencer output");
6180 "If any exists, show markers in a separate row at the bottom of the editor");
6188 "The channel number shown in the image preview. 0 is the result of all strips combined");
6201 prop,
"Zoom to Fit",
"Automatically zoom preview image to make it fully fit the region");
6214 "Proxy Render Size",
6215 "Display preview using full resolution or different proxy resolutions");
6223 prop,
"Use Proxies",
"Use optimized files for faster scrubbing when available");
6229 prop,
"rna_SequenceEditor_clamp_view_get",
"rna_SequenceEditor_clamp_view_set");
6231 prop,
"Limit View to Contents",
"Limit timeline height to maximum used channel slot");
6239 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
6291 prop,
"rna_SpaceSequenceEditor_preview_overlay_get",
nullptr,
nullptr,
nullptr);
6298 prop,
"rna_SpaceSequenceEditor_timeline_overlay_get",
nullptr,
nullptr,
nullptr);
6305 prop,
"rna_SpaceSequenceEditor_cache_overlay_get",
nullptr,
nullptr,
nullptr);
6321 "rna_SpaceSequenceEditor_zoom_percentage_get",
6322 "rna_SpaceSequenceEditor_zoom_percentage_set",
6354 prop,
"Word Wrap",
"Wrap words if there is not enough horizontal space");
6365 "is_syntax_highlight_supported",
6366 "rna_SpaceTextEditor_text_is_syntax_highlight_supported");
6368 RNA_def_boolean(func,
"is_syntax_highlight_supported",
false,
"",
""));
6370 "Returns True if the editor supports syntax highlighting "
6371 "for the current text datablock");
6417 prop,
"Visible Lines",
"Amount of lines that can be visible in current editor");
6423 prop,
"Overwrite",
"Overwrite characters when typing rather than inserting them");
6435 prop,
"Find All",
"Search in all text data-blocks, instead of only the active one");
6441 prop,
"Find Wrap",
"Search again from the start of the file when reaching the end");
6447 prop,
"Match Case",
"Search string is sensitive to uppercase and lowercase letters");
6458 prop,
"Replace Text",
"Text to replace selected text with using the replace tool");
6481 "rna_SpaceDopeSheetEditor_action_set",
6483 "rna_Action_actedit_assign_poll");
6520 "Show Pose Markers",
6521 "Show markers belonging to the active action instead of Scene markers "
6522 "(Action and Shape Key Editors only)");
6528 "Show Handles and Interpolation",
6529 "Display keyframe handle types and non-Bézier interpolation modes");
6535 "Show Curve Extremes",
6536 "Mark keyframes where the key value flow changes direction, based on "
6537 "comparison with adjacent keys");
6545 "If any exists, show markers in a separate row at the bottom of the editor");
6559 "When transforming keyframes, changes to the animation data are flushed to other views");
6601 prop,
"Simulation Nodes",
"Show the active object's simulation nodes cache and bake data");
6623 "BOUNDING_BOX_CENTER",
6624 ICON_PIVOT_BOUNDBOX,
6625 "Bounding Box Center",
6629 "INDIVIDUAL_ORIGINS",
6630 ICON_PIVOT_INDIVIDUAL,
6631 "Individual Centers",
6635 {0,
nullptr, 0,
nullptr,
nullptr},
6673 "Auto-Lock Key Axis",
6674 "Automatically locks the movement of keyframes to the dominant axis");
6680 prop,
"Only Selected Keyframes Handles",
"Only show and edit handles of selected keyframes");
6688 "If any exists, show markers in a separate row at the bottom of the editor");
6707 "When transforming keyframes, changes to the animation data are flushed to other views");
6719 prop,
"Cursor X-Value",
"Graph Editor 2D-Value cursor - X-Value component");
6725 prop,
"Cursor Y-Value",
"Graph Editor 2D-Value cursor - Y-Value component");
6745 prop,
"Has Ghost Curves",
"Graph Editor instance has some ghost curves stored");
6751 "Use Normalization",
6752 "Display curves in normalized range from -1 to 1, "
6753 "for easier editing of multiple curves with different ranges");
6761 "Auto Normalization",
6762 "Automatically recalculate curve normalization on every curve edit");
6793 "Show Local Markers",
6794 "Show action-local markers on the strips, useful when synchronizing timing across strips");
6802 "If any exists, show markers in a separate row at the bottom of the editor");
6811 "When transforming strips, changes to the animation data are flushed to other views");
6828 {0,
nullptr, 0,
nullptr,
nullptr},
6839 prop,
"rna_ConsoleLine_body_get",
"rna_ConsoleLine_body_length",
"rna_ConsoleLine_body_set");
6847 "rna_ConsoleLine_current_character_get",
6848 "rna_ConsoleLine_current_character_set",
6910 srna,
"File Select ID Filter",
"Which ID types to show/hide, when browsing a library");
6917 for (
uint i = 0; individual_ids_and_categories[i]; i++) {
6918 for (
int j = 0; individual_ids_and_categories[i][j].
identifier; j++) {
6922 prop,
nullptr,
"filter_id", individual_ids_and_categories[i][j].
flag);
6924 individual_ids_and_categories[i][j].name,
6925 individual_ids_and_categories[i][j].description);
6939 "File Select Asset Filter",
6940 "Which asset types to show/hide, when browsing an asset library");
6949 if (is_experimental) {
6951 SNPRINTF(experimental_prop_names[i],
"experimental_%s", identifier);
6952 identifier = experimental_prop_names[i];
6974 "rna_FileBrowser_FileSelectEntry_name_get",
6975 "rna_FileBrowser_FileSelectEntry_name_length",
6982 "rna_FileBrowser_FileSelectEntry_relative_path_get",
6983 "rna_FileBrowser_FileSelectEntry_relative_path_length",
6987 "Path relative to the directory currently displayed in the File "
6988 "Browser (includes the file name)");
6998 "Unique integer identifying the preview of this file as an icon (zero means invalid)",
7003 prop,
"rna_FileBrowser_FileSelectEntry_preview_icon_id_get",
nullptr,
nullptr);
7008 prop,
"rna_FileBrowser_FileSelectEntry_asset_data_get",
nullptr,
nullptr,
nullptr);
7010 prop,
"Asset Data",
"Asset data, valid if the file represents an asset");
7023 "Display files as a vertical list"},
7028 "Display files as a horizontal list"},
7029 {
FILE_IMGDISPLAY,
"THUMBNAIL", ICON_IMGDISPLAY,
"Thumbnails",
"Display files as thumbnails"},
7030 {0,
nullptr, 0,
nullptr,
nullptr},
7034 {32,
"TINY", 0,
"Tiny",
""},
7035 {64,
"SMALL", 0,
"Small",
""},
7036 {96,
"NORMAL", 0,
"Medium",
""},
7037 {128,
"BIG", 0,
"Big",
""},
7038 {192,
"LARGE", 0,
"Large",
""},
7039 {0,
nullptr, 0,
nullptr,
nullptr},
7067 prop,
"Library Browser",
"Whether we may browse Blender files' content or not");
7080 prop,
nullptr,
nullptr,
"rna_FileSelectParams_recursion_level_itemf");
7093 "File Modification Date",
7094 "Show a column listing the date and time of modification for each file");
7116 prop,
"Reverse Sorting",
"Sort items descending, from highest value to lowest");
7134 prop,
"Filter Blender Backup Files",
"Show .blend1, .blend2, etc. files");
7183 prop,
"Filter Blender IDs",
"Show .blend files items (objects, materials, etc.)");
7190 prop,
"Only Assets",
"Hide .blend files items that are not data-blocks with asset metadata");
7197 prop,
"rna_FileSelectParams_filter_id_get",
nullptr,
nullptr,
nullptr);
7199 prop,
"Filter ID Types",
"Which ID types to show/hide, when browsing a library");
7205 "UNIX shell-like filename patterns matching, supports wildcards ('*') "
7206 "and list of patterns separated by ';'");
7213 prop,
"Name or Tag Filter",
"Filter by name or tag, supports '*' wildcard");
7229 prop,
"Display Size",
"Change the size of thumbnails in discrete steps");
7242 "Follow Preferences",
7243 "Use the import method set in the Preferences for this asset library, don't override it "
7244 "for this Asset Browser"},
7250 "Import the assets as copied data-block, with no link to the original asset data-block"},
7254 "Append (Reuse Data)",
7255 "Import the assets as copied data-block while avoiding multiple copies of nested, "
7256 "typically heavy data. For example the textures of a material asset, or the mesh of an "
7257 "object asset, don't have to be copied every time this asset is imported. The instances of "
7258 "the asset share the data instead"},
7259 {0,
nullptr, 0,
nullptr,
nullptr},
7262 srna =
RNA_def_struct(brna,
"FileAssetSelectParams",
"FileSelectParams");
7264 srna,
"Asset Select Parameters",
"Settings for the file selection in Asset Browser mode");
7267 "rna_FileAssetSelectParams_asset_library_get",
7268 "rna_FileAssetSelectParams_asset_library_set");
7274 "rna_FileAssetSelectParams_catalog_id_get",
7275 "rna_FileAssetSelectParams_catalog_id_length",
7276 "rna_FileAssetSelectParams_catalog_id_set");
7284 prop,
"rna_FileAssetSelectParams_filter_id_get",
nullptr,
nullptr,
nullptr);
7286 "Filter Asset Types",
7287 "Which asset types to show/hide, when browsing an asset library");
7308 "rna_FileBrowser_FSMenuEntry_path_get",
7309 "rna_FileBrowser_FSMenuEntry_path_length",
7310 "rna_FileBrowser_FSMenuEntry_path_set");
7317 "rna_FileBrowser_FSMenuEntry_name_get",
7318 "rna_FileBrowser_FSMenuEntry_name_length",
7319 "rna_FileBrowser_FSMenuEntry_name_set");
7326 "rna_FileBrowser_FSMenuEntry_icon_get",
7327 "rna_FileBrowser_FSMenuEntry_icon_set",
7334 prop,
"Save",
"Whether this path is saved in bookmarks, or generated from OS");
7360 "Type of the File Editor view (regular file browsing or asset browsing)");
7366 prop,
"rna_FileBrowser_params_get",
nullptr,
"rna_FileBrowser_params_typef",
nullptr);
7368 prop,
"Filebrowser Parameter",
"Parameters and Settings for the Filebrowser");
7383 "FileBrowserFSMenuEntry",
7385 "System's folders (usually root, available hard drives, etc)");
7387 "rna_FileBrowser_FSMenuSystem_data_begin",
7388 "rna_FileBrowser_FSMenu_next",
7389 "rna_FileBrowser_FSMenu_end",
7390 "rna_FileBrowser_FSMenu_get",
7391 "rna_FileBrowser_FSMenuSystem_data_length",
7398 "system_folders_active",
7402 "Active System Folder",
7403 "Index of active system folder (-1 if none)",
7408 "rna_FileBrowser_FSMenuSystem_active_get",
7409 "rna_FileBrowser_FSMenuSystem_active_set",
7410 "rna_FileBrowser_FSMenuSystem_active_range");
7417 "FileBrowserFSMenuEntry",
7419 "System's bookmarks");
7421 "rna_FileBrowser_FSMenuSystemBookmark_data_begin",
7422 "rna_FileBrowser_FSMenu_next",
7423 "rna_FileBrowser_FSMenu_end",
7424 "rna_FileBrowser_FSMenu_get",
7425 "rna_FileBrowser_FSMenuSystemBookmark_data_length",
7432 "system_bookmarks_active",
7436 "Active System Bookmark",
7437 "Index of active system bookmark (-1 if none)",
7442 "rna_FileBrowser_FSMenuSystemBookmark_active_get",
7443 "rna_FileBrowser_FSMenuSystemBookmark_active_set",
7444 "rna_FileBrowser_FSMenuSystemBookmark_active_range");
7450 srna,
"bookmarks",
"FileBrowserFSMenuEntry",
"Bookmarks",
"User's bookmarks");
7452 "rna_FileBrowser_FSMenuBookmark_data_begin",
7453 "rna_FileBrowser_FSMenu_next",
7454 "rna_FileBrowser_FSMenu_end",
7455 "rna_FileBrowser_FSMenu_get",
7456 "rna_FileBrowser_FSMenuBookmark_data_length",
7468 "Index of active bookmark (-1 if none)",
7473 "rna_FileBrowser_FSMenuBookmark_active_get",
7474 "rna_FileBrowser_FSMenuBookmark_active_set",
7475 "rna_FileBrowser_FSMenuBookmark_active_range");
7481 srna,
"recent_folders",
"FileBrowserFSMenuEntry",
"Recent Folders",
"");
7483 "rna_FileBrowser_FSMenuRecent_data_begin",
7484 "rna_FileBrowser_FSMenu_next",
7485 "rna_FileBrowser_FSMenu_end",
7486 "rna_FileBrowser_FSMenu_get",
7487 "rna_FileBrowser_FSMenuRecent_data_length",
7494 "recent_folders_active",
7498 "Active Recent Folder",
7499 "Index of active recent folder (-1 if none)",
7504 "rna_FileBrowser_FSMenuRecent_active_get",
7505 "rna_FileBrowser_FSMenuRecent_active_set",
7506 "rna_FileBrowser_FSMenuRecent_active_range");
7553 {0,
"NAME", 0,
"Name",
"Filter based on the operator name"},
7554 {1,
"KEY", 0,
"Key-Binding",
"Filter based on key bindings"},
7555 {0,
nullptr, 0,
nullptr,
nullptr},
7605 prop,
"rna_SpaceNodeEditor_path_get",
"rna_SpaceNodeEditor_path_length",
nullptr);
7617 parm =
RNA_def_pointer(func,
"node_tree",
"NodeTree",
"Node Tree",
"");
7620 func =
RNA_def_function(srna,
"append",
"rna_SpaceNodeEditor_path_append");
7624 func,
"node_tree",
"NodeTree",
"Node Tree",
"Node tree to append to the node editor path");
7626 parm =
RNA_def_pointer(func,
"node",
"Node",
"Node",
"Group node linking to this node tree");
7645 "Use the material preview scene for the node previews"},
7646 {0,
nullptr, 0,
nullptr,
nullptr},
7654 srna,
"Overlay Settings",
"Settings for display of overlays in the Node Editor");
7666 prop,
"Show Wire Colors",
"Color node links based on their connected sockets");
7674 "Show Reroute Auto Labels",
7675 "Label reroute nodes based on the label of connected reroute nodes");
7694 prop,
"Show Named Attributes",
"Show when nodes are using named attributes");
7701 prop,
"Show Node Previews",
"Display each node's preview if node is toggled");
7718 {
SNODE_TEX_WORLD,
"WORLD", ICON_WORLD_DATA,
"World",
"Edit texture nodes from World"},
7719 {
SNODE_TEX_BRUSH,
"BRUSH", ICON_BRUSH_DATA,
"Brush",
"Edit texture nodes from Brush"},
7720# ifdef WITH_FREESTYLE
7725 "Edit texture nodes from Line Style"},
7727 {0,
nullptr, 0,
nullptr,
nullptr},
7731 {
SNODE_SHADER_OBJECT,
"OBJECT", ICON_OBJECT_DATA,
"Object",
"Edit shader nodes from Object"},
7732 {
SNODE_SHADER_WORLD,
"WORLD", ICON_WORLD_DATA,
"World",
"Edit shader nodes from World"},
7733# ifdef WITH_FREESTYLE
7738 "Edit shader nodes from Line Style"},
7740 {0,
nullptr, 0,
nullptr,
nullptr},
7748 "Edit node group from active object's active modifier"},
7753 "Edit any geometry node group for use as an operator"},
7754 {0,
nullptr, 0,
nullptr,
nullptr},
7760 ICON_IMAGE_RGB_ALPHA,
7762 "Display image with RGB colors and alpha transparency"},
7763 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
7764 {
SNODE_SHOW_ALPHA,
"ALPHA", ICON_IMAGE_ALPHA,
"Alpha",
"Display alpha transparency channel"},
7766 {
SNODE_SHOW_G,
"GREEN", ICON_COLOR_GREEN,
"Green",
""},
7768 {0,
nullptr, 0,
nullptr,
nullptr},
7774 {0,
nullptr, 0,
nullptr,
nullptr},
7778 {0,
"DUMMY", 0,
"",
""},
7779 {0,
nullptr, 0,
nullptr,
nullptr},
7791 "rna_SpaceNodeEditor_tree_type_get",
7792 "rna_SpaceNodeEditor_tree_type_set",
7793 "rna_SpaceNodeEditor_tree_type_itemf");
7827 prop,
"ID From",
"Data-block from which the edited data-block is linked");
7833 prop,
"Node Tree Path",
"Path from the data-block to the currently edited node tree");
7839 "rna_SpaceNodeEditor_node_tree_set",
7841 "rna_SpaceNodeEditor_node_tree_poll");
7861 prop,
"Backdrop",
"Use active Viewer Node output as backdrop for compositing nodes");
7867 prop,
nullptr,
nullptr,
nullptr,
"rna_SpaceNodeEditor_geometry_nodes_tool_tree_poll");
7900 "rna_SpaceNodeEditor_cursor_location_get",
7901 "rna_SpaceNodeEditor_cursor_location_set",
7910 prop,
"Auto-offset Direction",
"Direction to offset nodes on insertion");
7919 prop,
"Overlay Settings",
"Settings for display of overlays in the Node Editor");
7925 "Supports Previews",
7926 "Whether the node editor's type supports displaying node previews");
7938 {
SC_VIEW_CLIP,
"CLIP", ICON_SEQUENCE,
"Clip",
"Show editing clip preview"},
7939 {
SC_VIEW_GRAPH,
"GRAPH", ICON_GRAPH,
"Graph",
"Show graph view for active element"},
7944 "Dope Sheet view for tracking data"},
7945 {0,
nullptr, 0,
nullptr,
nullptr},
7953 "Show annotation data-block which belongs to movie clip"},
7958 "Show annotation data-block which belongs to active track"},
7959 {0,
nullptr, 0,
nullptr,
nullptr},
7964 "BOUNDING_BOX_CENTER",
7965 ICON_PIVOT_BOUNDBOX,
7966 "Bounding Box Center",
7967 "Pivot around bounding box center of selected object(s)"},
7968 {
V3D_AROUND_CURSOR,
"CURSOR", ICON_PIVOT_CURSOR,
"2D Cursor",
"Pivot around the 2D cursor"},
7970 "INDIVIDUAL_ORIGINS",
7971 ICON_PIVOT_INDIVIDUAL,
7972 "Individual Origins",
7973 "Pivot around each object's own origin"},
7978 "Pivot around the median point of selected objects"},
7979 {0,
nullptr, 0,
nullptr,
nullptr},
8002 prop,
"Movie Clip User",
"Parameters defining which frame of the movie clip is displayed");
8039 prop,
"Lock to Selection",
"Lock viewport to selected markers during playback");
8047 prop,
"Lock to Time Cursor",
"Lock curves view to time cursor during playback and tracking");
8115 prop,
"Show Stable",
"Show stable footage in editor (if stabilization is enabled)");
8142 "Show curve for per-frame average error (camera motion should be solved first)");
8150 "Show Tracks Motion",
8151 "Display the speed curves (in \"x\" direction red, in \"y\" direction green) "
8152 "for the selected tracks");
8159 prop,
"Show Tracks Error",
"Display the reprojection error curve for selected tracks");
8166 prop,
"Only Show Selected",
"Only include channels relating to selected objects and data");
8174 prop,
"Display Hidden",
"Include channels from objects/bone that are not visible");
8246 "rna_SpaceClipEditor_zoom_percentage_get",
8247 "rna_SpaceClipEditor_zoom_percentage_set",
8263 srna,
"Spreadsheet Column ID",
"Data used to identify a spreadsheet column");
8280 {0,
nullptr, 0,
nullptr,
nullptr},
8286 srna,
"Spreadsheet Column",
"Persistent data associated with a spreadsheet column");
8292 prop,
"Data Type",
"The data type of the corresponding column visible in the spreadsheet");
8301 prop,
"ID",
"Data used to identify the corresponding data from the data source");
8313 {0,
nullptr, 0,
nullptr,
nullptr},
8399 "FOREACH_GEOMETRY_ELEMENT_ZONE",
8401 "For Each Geometry Element",
8403 {0,
nullptr, 0,
nullptr,
nullptr},
8422 prop,
"UI Name",
"Name that can be displayed in the UI for this element");
8431 srna =
RNA_def_struct(brna,
"IDViewerPathElem",
"ViewerPathElem");
8442 srna =
RNA_def_struct(brna,
"ModifierViewerPathElem",
"ViewerPathElem");
8453 srna =
RNA_def_struct(brna,
"GroupNodeViewerPathElem",
"ViewerPathElem");
8464 srna =
RNA_def_struct(brna,
"SimulationZoneViewerPathElem",
"ViewerPathElem");
8475 srna =
RNA_def_struct(brna,
"RepeatZoneViewerPathElem",
"ViewerPathElem");
8486 srna =
RNA_def_struct(brna,
"ForeachGeometryElementZoneViewerPathElem",
"ViewerPathElem");
8497 srna =
RNA_def_struct(brna,
"ViewerNodeViewerPathElem",
"ViewerPathElem");
8535 "Use data from fully or partially evaluated object"},
8540 "Use data from original object without any modifiers applied"},
8545 "Use intermediate data from viewer node"},
8546 {0,
nullptr, 0,
nullptr,
nullptr},
8573 prop,
"Viewer Path",
"Path to the data that is displayed in the spreadsheet");
8578 prop,
"Show Only Selected",
"Only include rows that correspond to selected elements");
8585 prop,
"Geometry Component",
"Part of the geometry to display data from");
8588 "rna_SpaceSpreadsheet_geometry_component_type_update");
8593 prop,
nullptr,
nullptr,
"rna_SpaceSpreadsheet_attribute_domain_itemf");
Main runtime representation of an asset.
AnimData * BKE_animdata_ensure_id(ID *id)
bool BKE_animdata_set_action(ReportList *reports, ID *id, bAction *act)
ScrArea * CTX_wm_area(const bContext *C)
Scene * CTX_data_scene(const bContext *C)
Main * CTX_data_main(const bContext *C)
ARegion * CTX_wm_region(const bContext *C)
wmWindowManager * CTX_wm_manager(const bContext *C)
ViewLayer * CTX_data_view_layer(const bContext *C)
RenderPass * BKE_image_multilayer_index(RenderResult *rr, ImageUser *iuser)
void BKE_image_init_imageuser(Image *ima, ImageUser *iuser)
void BKE_image_multiview_index(const Image *ima, ImageUser *iuser)
Key * BKE_key_from_object(Object *ob)
void BKE_view_layer_synced_ensure(const Scene *scene, ViewLayer *view_layer)
bool BKE_view_layer_has_valid_aov(ViewLayer *view_layer)
void BKE_layer_collection_local_sync(const Scene *scene, ViewLayer *view_layer, const View3D *v3d)
Object * BKE_view_layer_active_object_get(const ViewLayer *view_layer)
Object * BKE_view_layer_edit_object_get(const ViewLayer *view_layer)
void id_us_ensure_real(ID *id)
bool BKE_id_is_in_global_main(ID *id)
#define MOVIECLIP_PREVIEW_GRAYSCALE
#define MOVIECLIP_DISABLE_BLUE
#define MOVIECLIP_DISABLE_RED
#define MOVIECLIP_DISABLE_GREEN
void BKE_nla_tweakmode_exit(OwnedAnimData owned_adt)
bool BKE_nla_action_stash(OwnedAnimData owned_adt, bool is_liboverride)
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
bool BKE_scene_uses_blender_workbench(const Scene *scene)
bool BKE_scene_uses_blender_eevee(const Scene *scene)
ARegion ARegion ScrArea * BKE_screen_find_area_from_space(const bScreen *screen, const SpaceLink *sl) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
ARegion ARegion ScrArea std::optional< std::string > BKE_screen_path_from_screen_to_space(const PointerRNA *ptr)
ARegion * BKE_area_find_region_type(const ScrArea *area, int region_type)
@ STUDIOLIGHT_TYPE_MATCAP
@ STUDIOLIGHT_TYPE_STUDIO
@ STUDIOLIGHT_EXTERNAL_FILE
struct StudioLight * BKE_studiolight_find(const char *name, int flag)
struct StudioLight * BKE_studiolight_findindex(int index, int flag)
struct ListBase * BKE_studiolight_listbase(void)
#define BLI_assert_unreachable()
#define BLI_assert_msg(a, msg)
bool BLI_ghashutil_strcmp(const void *a, const void *b)
unsigned int BLI_ghashutil_strhash_p(const void *ptr)
GSet * BLI_gset_new(GSetHashFP hashfp, GSetCmpFP cmpfp, const char *info) ATTR_MALLOC ATTR_WARN_UNUSED_RESULT
void BLI_gset_free(GSet *gs, GSetKeyFreeFP keyfreefp)
BLI_INLINE bool BLI_listbase_is_empty(const struct ListBase *lb)
#define LISTBASE_FOREACH(type, var, list)
void * BLI_findlink(const struct ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
#define LISTBASE_FOREACH_INDEX(type, var, list, index_var)
int BLI_findstringindex(const struct ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
bool invert_m4_m4(float inverse[4][4], const float mat[4][4])
void invert_qt_qt(float q1[4], const float q2[4])
MINLINE void copy_v2_v2(float r[2], const float a[2])
MINLINE void negate_v3_v3(float r[3], const float a[3])
bool BLI_path_extension_glob_validate(char *ext_fnmatch) ATTR_NONNULL(1)
BLI_INLINE int BLI_rcti_size_y(const struct rcti *rct)
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
BLI_INLINE float BLI_rctf_size_x(const struct rctf *rct)
void BLI_rctf_resize(struct rctf *rect, float x, float y)
#define STRNCPY(dst, src)
#define SNPRINTF(dst, format,...)
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
int BLI_str_utf8_offset_from_index(const char *str, size_t str_len, int index_target) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
size_t size_t size_t int BLI_str_utf8_offset_to_index(const char *str, size_t str_len, int offset_target) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
#define SET_FLAG_FROM_TEST(value, test, flag)
bool BLI_uuid_parse_string(bUUID *uuid, const char *buffer) ATTR_NONNULL()
void BLI_uuid_format(char *buffer, bUUID uuid) ATTR_NONNULL()
#define BLT_I18NCONTEXT_EDITOR_VIEW3D
#define BLT_I18NCONTEXT_ID_TEXT
#define BLT_I18NCONTEXT_ID_ID
#define BLT_I18NCONTEXT_ID_MOVIECLIP
#define BLT_I18NCONTEXT_EDITOR_PYTHON_CONSOLE
#define BLT_I18NCONTEXT_ID_MESH
#define BLT_I18NCONTEXT_EDITOR_FILEBROWSER
void DEG_id_tag_update(ID *id, unsigned int flags)
void DEG_relations_tag_update(Main *bmain)
#define FILTER_ID_GD_LEGACY
#define FILTER_ID_CU_LEGACY
#define ID_IS_OVERRIDE_LIBRARY(_id)
@ TIME_CACHE_DYNAMICPAINT
@ TIME_CACHE_SIMULATION_NODES
@ ADS_FLAG_SUMMARY_COLLAPSED
@ SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC
@ SACTION_POSEMARKERS_SHOW
@ SACTION_SHOW_INTERPOLATION
@ SACTION_NOREALTIMEUPDATES
@ EEVEE_RENDER_PASS_CRYPTOMATTE_MATERIAL
@ EEVEE_RENDER_PASS_NORMAL
@ EEVEE_RENDER_PASS_CRYPTOMATTE_OBJECT
@ EEVEE_RENDER_PASS_DIFFUSE_LIGHT
@ EEVEE_RENDER_PASS_VOLUME_LIGHT
@ EEVEE_RENDER_PASS_DIFFUSE_COLOR
@ EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET
@ EEVEE_RENDER_PASS_ENVIRONMENT
@ EEVEE_RENDER_PASS_COMBINED
@ EEVEE_RENDER_PASS_SPECULAR_LIGHT
@ EEVEE_RENDER_PASS_SPECULAR_COLOR
@ EEVEE_RENDER_PASS_TRANSPARENT
@ EEVEE_RENDER_PASS_SHADOW
@ EEVEE_RENDER_PASS_POSITION
@ MASK_OVERLAY_ALPHACHANNEL
@ GEO_NODE_ASSET_MODIFIER
Object is a sort of wrapper for general info.
@ SCE_VIEWS_FORMAT_MULTIVIEW
@ RGN_TYPE_ASSET_SHELF_HEADER
@ RGN_FLAG_HIDDEN_BY_USER
@ SN_OVERLAY_SHOW_PREVIEWS
@ SN_OVERLAY_SHOW_WIRE_COLORS
@ SN_OVERLAY_SHOW_REROUTE_AUTO_LABELS
@ SN_OVERLAY_SHOW_TIMINGS
@ SN_OVERLAY_SHOW_OVERLAYS
@ SN_OVERLAY_SHOW_NAMED_ATTRIBUTES
@ SNODE_INSERTOFS_DIR_RIGHT
@ SNODE_INSERTOFS_DIR_LEFT
@ SI_OVERLAY_SHOW_OVERLAYS
@ SI_OVERLAY_SHOW_GRID_BACKGROUND
@ SEQ_RENDER_SIZE_PROXY_25
@ SEQ_RENDER_SIZE_PROXY_75
@ SEQ_RENDER_SIZE_PROXY_50
@ SEQ_RENDER_SIZE_PROXY_100
@ FILE_TYPE_BLENDER_BACKUP
@ SEQ_TIMELINE_SHOW_FCURVES
@ SEQ_TIMELINE_SHOW_STRIP_DURATION
@ SEQ_TIMELINE_SHOW_THUMBNAILS
@ SEQ_TIMELINE_SHOW_STRIP_RETIMING
@ SEQ_TIMELINE_SHOW_STRIP_OFFSETS
@ SEQ_TIMELINE_ALL_WAVEFORMS
@ SEQ_TIMELINE_WAVEFORMS_HALF
@ SEQ_TIMELINE_SHOW_STRIP_SOURCE
@ SEQ_TIMELINE_SHOW_STRIP_NAME
@ SEQ_TIMELINE_NO_WAVEFORMS
@ SEQ_TIMELINE_SHOW_STRIP_COLOR_TAG
SpaceNodeGeometryNodesType
@ SNODE_GEOMETRY_MODIFIER
@ SN_OVERLAY_PREVIEW_FLAT
@ SEQ_VIEW_SEQUENCE_PREVIEW
@ SCLIP_GIZMO_HIDE_NAVIGATE
@ FILE_ASSET_IMPORT_APPEND_REUSE
@ FILE_ASSET_IMPORT_APPEND
@ FILE_ASSET_IMPORT_FOLLOW_PREFS
@ SIPO_NO_DRAW_EXTRAPOLATION
@ FILE_SHOW_ASSETS_ALL_CATALOGS
@ FILE_SHOW_ASSETS_FROM_CATALOG
@ FILE_BROWSE_MODE_ASSETS
@ SO_LIB_OVERRIDE_VIEW_HIERARCHIES
@ SO_LIB_OVERRIDE_VIEW_PROPERTIES
@ SPREADSHEET_ROW_FILTER_BOOL_VALUE
@ SPREADSHEET_ROW_FILTER_UI_EXPAND
@ SPREADSHEET_ROW_FILTER_ENABLED
@ SO_RESTRICT_INDIRECT_ONLY
@ SO_FILTER_SHOW_SYSTEM_OVERRIDES
@ SO_FILTER_NO_OB_CONTENT
@ SO_FILTER_NO_OB_GREASE_PENCIL
@ SO_FILTER_OB_STATE_INVERSE
@ SO_FILTER_NO_VIEW_LAYERS
@ SO_FILTER_NO_COLLECTION
@ SO_FILTER_NO_OB_ARMATURE
@ SPREADSHEET_FILTER_SELECTED_ONLY
@ SPREADSHEET_FILTER_ENABLE
@ SEQ_PREVIEW_SHOW_METADATA
@ SEQ_PREVIEW_SHOW_GPENCIL
@ SEQ_PREVIEW_SHOW_SAFE_MARGINS
@ SEQ_PREVIEW_SHOW_OUTLINE_SELECTED
@ SEQ_PREVIEW_SHOW_SAFE_CENTER
@ SEQ_PREVIEW_SHOW_2D_CURSOR
@ SEQ_DRAW_TRANSFORM_PREVIEW
@ SO_FILTER_OB_SELECTABLE
@ SC_SHOW_GRAPH_TRACKS_MOTION
@ SC_SHOW_GRAPH_TRACKS_ERROR
@ SI_PIXEL_ROUND_DISABLED
@ SEQ_OVERLAY_FRAME_TYPE_RECT
@ SEQ_OVERLAY_FRAME_TYPE_CURRENT
@ SEQ_OVERLAY_FRAME_TYPE_REFERENCE
@ SPREADSHEET_OBJECT_EVAL_STATE_VIEWER_NODE
@ SPREADSHEET_OBJECT_EVAL_STATE_EVALUATED
@ SPREADSHEET_OBJECT_EVAL_STATE_ORIGINAL
@ SEQ_CACHE_SHOW_PREPROCESSED
@ SEQ_CACHE_SHOW_COMPOSITE
@ SEQ_CACHE_SHOW_FINAL_OUT
@ SEQ_DRAW_IMG_VECTORSCOPE
@ SPREADSHEET_ROW_FILTER_GREATER
@ SPREADSHEET_ROW_FILTER_EQUAL
@ SPREADSHEET_ROW_FILTER_LESS
@ SPREADSHEET_VALUE_TYPE_FLOAT
@ SPREADSHEET_VALUE_TYPE_BOOL
@ SPREADSHEET_VALUE_TYPE_INT32
@ SPREADSHEET_VALUE_TYPE_INSTANCES
@ SEQ_GIZMO_HIDE_NAVIGATE
@ SPREADSHEET_FLAG_CONTEXT_PATH_COLLAPSED
@ SPREADSHEET_FLAG_PINNED
@ BCONTEXT_BONE_CONSTRAINT
@ USER_SEQ_PROXY_SETUP_AUTOMATIC
@ V2D_VIEWSYNC_SCREEN_TIME
@ V3D_SHADING_BACKGROUND_VIEWPORT
@ V3D_SHADING_BACKGROUND_WORLD
@ V3D_SHADING_BACKGROUND_THEME
@ V3D_SHADING_TEXTURE_COLOR
@ V3D_SHADING_VERTEX_COLOR
@ V3D_SHADING_MATERIAL_COLOR
@ V3D_SHADING_OBJECT_COLOR
@ V3D_SHADING_RANDOM_COLOR
@ V3D_SHADING_SINGLE_COLOR
@ V3D_SHADING_USE_COMPOSITOR_CAMERA
@ V3D_SHADING_USE_COMPOSITOR_DISABLED
@ V3D_SHADING_USE_COMPOSITOR_ALWAYS
#define RV3D_VIEW_IS_AXIS(view)
@ V3D_DEBUG_FREEZE_CULLING
@ V3D_OVERLAY_EDIT_VERT_NORMALS
@ V3D_OVERLAY_EDIT_INDICES
@ V3D_OVERLAY_EDIT_FREESTYLE_FACE
@ V3D_OVERLAY_EDIT_RETOPOLOGY
@ V3D_OVERLAY_EDIT_LOOP_NORMALS
@ V3D_OVERLAY_EDIT_CU_NORMALS
@ V3D_OVERLAY_EDIT_FACE_NORMALS
@ V3D_OVERLAY_EDIT_CREASES
@ V3D_OVERLAY_EDIT_FREESTYLE_EDGE
@ V3D_OVERLAY_EDIT_CONSTANT_SCREEN_SIZE_NORMALS
@ V3D_OVERLAY_EDIT_FACE_AREA
@ V3D_OVERLAY_EDIT_EDGE_ANG
@ V3D_OVERLAY_EDIT_FACE_DOT
@ V3D_OVERLAY_EDIT_FACE_ANG
@ V3D_OVERLAY_EDIT_STATVIS
@ V3D_OVERLAY_EDIT_BWEIGHTS
@ V3D_OVERLAY_EDIT_WEIGHT
@ V3D_OVERLAY_EDIT_EDGE_LEN
@ V3D_AROUND_CENTER_BOUNDS
@ V3D_AROUND_CENTER_MEDIAN
@ V3D_AROUND_LOCAL_ORIGINS
@ V3D_GIZMO_SHOW_CAMERA_DOF_DIST
@ V3D_GIZMO_SHOW_CAMERA_LENS
@ V3D_OVERLAY_SCULPT_SHOW_FACE_SETS
@ V3D_OVERLAY_FACE_ORIENTATION
@ V3D_OVERLAY_VIEWER_ATTRIBUTE
@ V3D_OVERLAY_HIDE_OBJECT_ORIGINS
@ V3D_OVERLAY_HIDE_MOTION_PATHS
@ V3D_OVERLAY_SHOW_LIGHT_COLORS
@ V3D_OVERLAY_SCULPT_SHOW_MASK
@ V3D_OVERLAY_HIDE_OBJECT_XTRAS
@ V3D_OVERLAY_ONION_SKINS
@ V3D_OVERLAY_FADE_INACTIVE
@ V3D_OVERLAY_SCULPT_CURVES_CAGE
@ V3D_OVERLAY_VIEWER_ATTRIBUTE_TEXT
@ V3D_OVERLAY_HIDE_CURSOR
@ V3D_OVERLAY_BONE_SELECT
@ V3D_SHADING_SCENE_WORLD_RENDER
@ V3D_SHADING_SPECULAR_HIGHLIGHT
@ V3D_SHADING_DEPTH_OF_FIELD
@ V3D_SHADING_WORLD_ORIENTATION
@ V3D_SHADING_SCENE_WORLD
@ V3D_SHADING_OBJECT_OUTLINE
@ V3D_SHADING_SCENE_LIGHTS
@ V3D_SHADING_SCENE_LIGHTS_RENDER
@ V3D_SHADING_STUDIOLIGHT_VIEW_ROTATION
@ V3D_SHADING_MATCAP_FLIP_X
@ V3D_SHADING_XRAY_WIREFRAME
@ V3D_SHADING_BACKFACE_CULLING
@ V3D_OVERLAY_WPAINT_CONTOURS
@ V3D_GP_SHOW_MATERIAL_NAME
@ V3D_GP_SHOW_MULTIEDIT_LINES
@ V3D_GP_SHOW_STROKE_DIRECTION
@ V3D_GP_FADE_NOACTIVE_GPENCIL
@ V3D_GP_FADE_NOACTIVE_LAYERS
@ V3D_GIZMO_HIDE_MODIFIER
@ V3D_GIZMO_HIDE_NAVIGATE
@ V3D_GIZMO_SHOW_LIGHT_LOOK_AT
@ V3D_GIZMO_SHOW_LIGHT_SIZE
@ V3D_GIZMO_SHOW_OBJECT_ROTATE
@ V3D_GIZMO_SHOW_OBJECT_SCALE
@ V3D_GIZMO_SHOW_OBJECT_TRANSLATE
@ V3D_SHADING_CAVITY_BOTH
@ V3D_SHADING_CAVITY_SSAO
@ V3D_SHADING_CAVITY_CURVATURE
@ V3D_SHOW_CAMERA_PASSEPARTOUT
@ V3D_SHOW_RECONSTRUCTION
@ V3D_GIZMO_SHOW_EMPTY_FORCE_FIELD
@ V3D_GIZMO_SHOW_EMPTY_IMAGE
@ VIEWER_PATH_ELEM_TYPE_GROUP_NODE
@ VIEWER_PATH_ELEM_TYPE_SIMULATION_ZONE
@ VIEWER_PATH_ELEM_TYPE_FOREACH_GEOMETRY_ELEMENT_ZONE
@ VIEWER_PATH_ELEM_TYPE_VIEWER_NODE
@ VIEWER_PATH_ELEM_TYPE_REPEAT_ZONE
@ VIEWER_PATH_ELEM_TYPE_MODIFIER
@ VIEWER_PATH_ELEM_TYPE_ID
void ED_drivers_editor_init(bContext *C, ScrArea *area)
#define ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_FLAGS
void ED_space_clip_set_clip(bContext *C, bScreen *screen, SpaceClip *sc, MovieClip *clip)
void ED_space_clip_set_mask(bContext *C, SpaceClip *sc, Mask *mask)
FSMenuEntry * ED_fsmenu_get_entry(FSMenu *fsmenu, FSMenuCategory category, int idx)
int ED_file_icon(const FileDirEntry *file)
int ED_fsmenu_get_nentries(FSMenu *fsmenu, FSMenuCategory category)
void ED_fsmenu_entry_set_name(FSMenuEntry *fsentry, const char *name)
@ FS_CATEGORY_SYSTEM_BOOKMARKS
char * ED_fsmenu_entry_get_name(FSMenuEntry *fsentry)
FileSelectParams * ED_fileselect_get_active_params(const SpaceFile *sfile)
void ED_file_change_dir_ex(bContext *C, ScrArea *area)
char * ED_fsmenu_entry_get_path(FSMenuEntry *fsentry)
void ED_fsmenu_entry_set_icon(FSMenuEntry *fsentry, int icon)
int ED_fsmenu_entry_get_icon(FSMenuEntry *fsentry)
FileSelectParams * ED_fileselect_get_file_params(const SpaceFile *sfile)
FSMenuEntry * ED_fsmenu_get_category(FSMenu *fsmenu, FSMenuCategory category)
FileAssetSelectParams * ED_fileselect_get_asset_params(const SpaceFile *sfile)
void ED_fsmenu_entry_set_path(FSMenuEntry *fsentry, const char *path)
void ED_space_image_release_buffer(SpaceImage *sima, ImBuf *ibuf, void *lock)
void ED_space_image_get_size(SpaceImage *sima, int *r_width, int *r_height)
int ED_space_image_get_display_channel_mask(ImBuf *ibuf)
ImBuf * ED_space_image_acquire_buffer(SpaceImage *sima, void **r_lock, int tile)
bool ED_space_image_show_paint(const SpaceImage *sima)
bool ED_space_image_check_show_maskedit(SpaceImage *sima, Object *obedit)
bool ED_space_image_show_render(const SpaceImage *sima)
void ED_space_image_paint_update(Main *bmain, wmWindowManager *wm, Scene *scene)
void ED_space_image_set(Main *bmain, SpaceImage *sima, Image *ima, bool automatic)
bool ED_space_image_show_uvedit(const SpaceImage *sima, Object *obedit)
void ED_space_image_scopes_update(const bContext *C, SpaceImage *sima, ImBuf *ibuf, bool use_view_settings)
void ED_space_image_get_zoom(SpaceImage *sima, const ARegion *region, float *r_zoomx, float *r_zoomy)
void ED_space_image_set_mask(bContext *C, SpaceImage *sima, Mask *mask)
void ED_node_set_tree_type(SpaceNode *snode, blender::bke::bNodeTreeType *typeinfo)
void ED_node_tree_push(SpaceNode *snode, bNodeTree *ntree, bNode *gnode)
void ED_node_cursor_location_set(SpaceNode *snode, const float value[2])
void ED_node_tree_path_get(SpaceNode *snode, char *value)
int ED_node_tree_path_length(SpaceNode *snode)
void ED_node_tree_pop(SpaceNode *snode)
void ED_node_cursor_location_get(const SpaceNode *snode, float value[2])
bool ED_node_supports_preview(SpaceNode *snode)
void ED_node_tree_start(SpaceNode *snode, bNodeTree *ntree, ID *id, ID *from)
void ED_node_tree_update(const bContext *C)
void ED_area_tag_redraw(ScrArea *area)
wmWindow * ED_screen_window_find(const bScreen *screen, const wmWindowManager *wm)
Scene * ED_screen_scene_find(const bScreen *screen, const wmWindowManager *wm)
void ED_region_search_filter_update(const ScrArea *area, ARegion *region)
void ED_region_toggle_hidden(bContext *C, ARegion *region)
void ED_region_visibility_change_update(bContext *C, ScrArea *area, ARegion *region)
void ED_region_visibility_change_update_animated(bContext *C, ScrArea *area, ARegion *region)
void ED_area_tag_refresh(ScrArea *area)
void ED_region_tag_redraw(ARegion *region)
void ED_area_type_hud_ensure(bContext *C, ScrArea *area)
int ED_space_text_visible_lines_get(const SpaceText *st)
void ED_space_text_scroll_to_cursor(SpaceText *st, ARegion *region, bool center)
bool ED_text_is_syntax_highlight_supported(Text *text)
float ED_view3d_grid_scale(const Scene *scene, const View3D *v3d, const char **r_grid_unit)
void ED_view3d_from_m4(const float mat[4][4], float ofs[3], float quat[4], const float *dist)
bool ED_view3d_quat_to_axis_view_and_reset_quat(float quat[4], float epsilon, char *r_view, char *r_view_axis_roll)
bool ED_view3d_local_collections_set(const Main *bmain, View3D *v3d)
void ED_view3d_quadview_update(ScrArea *area, ARegion *region, bool do_clip)
void ED_view3d_shade_update(Main *bmain, View3D *v3d, ScrArea *area)
Contains defines and structs used throughout the imbuf module.
Read Guarded memory(de)allocation.
StructRNA * ID_code_to_RNA_type(short idcode)
#define RNA_MAX_ARRAY_DIMENSION
blender::bke::bNodeTreeType * rna_node_tree_type_from_enum(int value)
int rna_node_tree_idname_to_enum(const char *idname)
const EnumPropertyItem * rna_node_tree_type_itemf(void *data, bool(*poll)(void *data, blender::bke::bNodeTreeType *), bool *r_free)
const EnumPropertyItem * RNA_enum_node_tree_types_itemf_impl(bContext *C, bool *r_free)
#define RNA_TRANSLATION_PREC_DEFAULT
#define RNA_ENUM_ITEM_HEADING(name, description)
constexpr PointerRNA PointerRNA_NULL
constexpr int SEQ_MAX_CHANNELS
void UI_view2d_sync(bScreen *screen, ScrArea *area, View2D *v2dcur, int flag)
bool UI_view2d_area_supports_sync(ScrArea *area)
void UI_view2d_region_to_view(const View2D *v2d, float x, float y, float *r_view_x, float *r_view_y) ATTR_NONNULL()
#define ND_SPACE_SEQUENCER
#define ND_SPACE_DOPESHEET
#define ND_SPACE_PROPERTIES
#define ND_SPACE_NODE_VIEW
#define ND_SPACE_INFO_REPORT
#define ND_SPACE_SPREADSHEET
#define NS_VIEW3D_SHADING
#define ND_SPACE_FILE_PARAMS
#define ND_SPACE_OUTLINER
#define ND_SPACE_FILE_LIST
void ANIM_frame_channel_y_extents(bContext *C, bAnimContext *ac)
bool ANIM_animdata_get_context(const bContext *C, bAnimContext *ac)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
draw_view in_light_buf[] float
draw_view push_constant(Type::INT, "radiance_src") .push_constant(Type capture_info_buf storage_buf(1, Qualifier::READ, "ObjectBounds", "bounds_buf[]") .push_constant(Type draw_view int
void SEQ_cache_cleanup(Scene *scene)
RenderEngineType * RE_engines_find(const char *idname)
void *(* MEM_mallocN)(size_t len, const char *str)
void MEM_freeN(void *vmemh)
ccl_device_inline float4 mask(const int4 mask, const float4 a)
int library_reference_to_enum_value(const AssetLibraryReference *library)
AssetLibraryReference library_reference_from_enum_value(int value)
bool SEQ_proxy_rebuild_context(Main *bmain, Depsgraph *depsgraph, Scene *scene, Sequence *seq, GSet *file_list, ListBase *queue, bool build_only_on_bad_performance)
int SEQ_rendersize_to_proxysize(int render_size)
ProxyJob * ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job)
wmJob * ED_seq_proxy_wm_job_get(const bContext *C)
const EnumPropertyItem rna_enum_id_type_items[]
const IDFilterEnumPropertyItem rna_enum_id_type_filter_items[]
void rna_iterator_listbase_begin(CollectionPropertyIterator *iter, ListBase *lb, IteratorSkipFunc skip)
PointerRNA rna_pointer_inherit_refine(const PointerRNA *ptr, StructRNA *type, void *data)
PointerRNA RNA_pointer_create(ID *id, StructRNA *type, void *data)
void * rna_iterator_listbase_get(CollectionPropertyIterator *iter)
PointerRNA RNA_id_pointer_create(ID *id)
PropertyRNA * rna_def_asset_library_reference_common(StructRNA *srna, const char *get, const char *set)
const EnumPropertyItem rna_enum_attribute_domain_items[]
void RNA_def_struct_name_property(StructRNA *srna, PropertyRNA *prop)
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
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)
void RNA_define_animate_sdna(bool animate)
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_enum_default(PropertyRNA *prop, int value)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_define_verify_sdna(bool verify)
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)
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_dynamic_array_funcs(PropertyRNA *prop, const char *getlength)
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)
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier, const char *call)
void RNA_def_property_array(PropertyRNA *prop, int length)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
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[]
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier, int type, int subtype)
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)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
void RNA_enum_item_end(EnumPropertyItem **items, int *totitem)
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)
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)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
PropertyRNA * RNA_def_collection(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
void RNA_def_struct_idprops_func(StructRNA *srna, const char *idproperties)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
void RNA_enum_item_add_separator(EnumPropertyItem **items, int *totitem)
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)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
PropertyRNA * RNA_def_int(StructOrFunctionRNA *cont_, const char *identifier, const int default_value, const int hardmin, const int hardmax, const char *ui_name, const char *ui_description, const int softmin, const int softmax)
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_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void rna_def_object_type_visibility_flags_common(StructRNA *srna, int noteflag, const char *update_func)
void RNA_api_region_view3d(StructRNA *srna)
void RNA_api_space_filebrowser(StructRNA *srna)
void RNA_api_space_node(StructRNA *srna)
int rna_object_type_visibility_icon_get_common(int object_type_exclude_viewport, const int *object_type_exclude_select)
void RNA_api_space_text(StructRNA *srna)
int rna_AssetMetaData_editable(const PointerRNA *ptr, const char **r_info)
const EnumPropertyItem rna_enum_transform_pivot_full_items[]
static void rna_def_spreadsheet_row_filter(BlenderRNA *brna)
static void rna_def_space_userpref(BlenderRNA *brna)
static void rna_def_space_node_overlay(BlenderRNA *brna)
static void rna_def_space_view3d_overlay(BlenderRNA *brna)
static const EnumPropertyItem rna_enum_viewport_lighting_items[]
static void rna_def_repeat_zone_viewer_path_elem(BlenderRNA *brna)
const EnumPropertyItem rna_enum_space_type_items[]
static const EnumPropertyItem rna_enum_view3dshading_render_pass_type_items[]
static const EnumPropertyItem stereo3d_camera_items[]
static void rna_def_space_node_path_api(BlenderRNA *brna, PropertyRNA *cprop)
static const EnumPropertyItem rna_enum_studio_light_items[]
static void rna_def_space_graph(BlenderRNA *brna)
static void rna_def_fileselect_entry(BlenderRNA *brna)
const EnumPropertyItem rna_enum_shading_type_items[]
const EnumPropertyItem rna_enum_space_sequencer_view_type_items[]
static void rna_def_spreadsheet_column(BlenderRNA *brna)
static const EnumPropertyItem rna_enum_shading_wire_color_type_items[]
static void rna_def_space_filebrowser(BlenderRNA *brna)
static void rna_def_space_sequencer(BlenderRNA *brna)
static IDFilterEnumPropertyItem rna_enum_space_file_id_filter_categories[]
static void rna_def_modifier_viewer_path_elem(BlenderRNA *brna)
#define SACT_ITEM_CACHEFILE
static void rna_def_fileselect_params(BlenderRNA *brna)
#define DEF_SHOW_REGION_PROPERTY(identifier, label, description)
#define SACT_ITEM_SHAPEKEY
static void rna_def_space_sequencer_preview_overlay(BlenderRNA *brna)
static void rna_def_viewer_path_elem(BlenderRNA *brna)
static void rna_def_foreach_geometry_element_zone_viewer_path_elem(BlenderRNA *brna)
static void rna_def_space_view3d(BlenderRNA *brna)
static const EnumPropertyItem fileselectparams_recursion_level_items[]
#define SI_ITEM_VIEW(identifier, name, icon)
static void rna_def_space_properties(BlenderRNA *brna)
static void rna_def_group_node_viewer_path_elem(BlenderRNA *brna)
#define SACT_ITEM_DOPESHEET
static void rna_def_filemenu_entry(BlenderRNA *brna)
static EnumPropertyItem rna_enum_space_action_ui_mode_items[]
static const EnumPropertyItem rna_enum_shading_color_type_items[]
static void rna_def_space_sequencer_timeline_overlay(BlenderRNA *brna)
const EnumPropertyItem rna_enum_space_image_mode_items[]
static const EnumPropertyItem rna_enum_space_image_mode_ui_items[]
static void rna_def_space_text(BlenderRNA *brna)
static void rna_def_space(BlenderRNA *brna)
static const EnumPropertyItem stereo3d_eye_items[]
static const EnumPropertyItem buttons_context_items[]
static void rna_def_space_nla(BlenderRNA *brna)
static void rna_def_space_sequencer_cache_overlay(BlenderRNA *brna)
static void rna_def_space_info(BlenderRNA *brna)
static void rna_def_space_clip(BlenderRNA *brna)
static void rna_def_space_outliner(BlenderRNA *brna)
void RNA_def_space(BlenderRNA *brna)
static void rna_def_space_image(BlenderRNA *brna)
static void rna_def_space_dopesheet(BlenderRNA *brna)
static void rna_def_fileselect_idfilter(BlenderRNA *brna)
static const EnumPropertyItem rna_enum_curve_display_handle_items[]
static void rna_def_id_viewer_path_elem(BlenderRNA *brna)
const EnumPropertyItem rna_enum_space_file_browse_mode_items[]
const EnumPropertyItem rna_enum_clip_editor_mode_items[]
#define SACT_ITEM_GPENCIL
#define SACT_ITEM_TIMELINE
#define V3D_S3D_CAMERA_LEFT
static EnumPropertyItem rna_enum_space_action_mode_all_items[]
static void rna_def_space_generic_show_region_toggles(StructRNA *srna, int region_type_mask)
static const EnumPropertyItem viewer_path_elem_type_items[]
const EnumPropertyItem rna_enum_geometry_component_type_items[]
const EnumPropertyItem rna_enum_space_image_mode_all_items[]
static void rna_def_spreadsheet_column_id(BlenderRNA *brna)
const EnumPropertyItem rna_enum_space_graph_mode_items[]
static void rna_def_viewer_node_viewer_path_elem(BlenderRNA *brna)
static void rna_def_fileselect_asset_params(BlenderRNA *brna)
static const EnumPropertyItem dt_uv_items[]
#define V3D_S3D_CAMERA_RIGHT
const EnumPropertyItem rna_enum_fileselect_params_sort_items[]
static void rna_def_fileselect_asset_idfilter(BlenderRNA *brna)
static void rna_def_space_spreadsheet(BlenderRNA *brna)
static void rna_def_viewer_path(BlenderRNA *brna)
static void rna_def_space_image_overlay(BlenderRNA *brna)
static void rna_def_node_tree_path(BlenderRNA *brna)
static void rna_def_space_mask_info(StructRNA *srna, int noteflag, const char *mask_set_func)
static const EnumPropertyItem display_channels_items[]
#define V3D_S3D_CAMERA_S3D
static void rna_def_space_node(BlenderRNA *brna)
const EnumPropertyItem rna_enum_space_action_mode_items[]
static void rna_def_space_image_uv(BlenderRNA *brna)
static void rna_def_console_line(BlenderRNA *brna)
static void rna_def_simulation_zone_viewer_path_elem(BlenderRNA *brna)
static void rna_def_space_view3d_shading(BlenderRNA *brna)
static void rna_def_space_console(BlenderRNA *brna)
ListBase * SEQ_active_seqbase_get(const Editing *ed)
Editing * SEQ_editing_get(const Scene *scene)
static void seq_build_proxy(bContext *C, blender::Span< Sequence * > movie_strips)
ListBaseIterator listbase
union CollectionPropertyIterator::@1329 internal
AssetRepresentationHandle * asset
SpaceAction_Runtime runtime
struct MovieClipScopes scopes
FileSelectParams * params
SpaceGraph_Runtime runtime
int custom_grid_subdiv[2]
int icon_id_matcap_flipped
int object_type_exclude_select
int object_type_exclude_viewport
struct GeometryNodeAssetTraits * geometry_node_asset_traits
Universally Unique Identifier according to RFC4122.
void WM_main_add_notifier(uint type, void *reference)
bool WM_jobs_is_running(const wmJob *wm_job)
void WM_jobs_start(wmWindowManager *wm, wmJob *wm_job)
ViewLayer * WM_windows_view_layer_get_from_screen(const wmWindowManager *wm, const bScreen *screen)
Scene * WM_windows_scene_get_from_screen(const wmWindowManager *wm, const bScreen *screen)
ViewLayer * WM_window_get_active_view_layer(const wmWindow *win)
Scene * WM_window_get_active_scene(const wmWindow *win)
void WM_windows_scene_data_sync(const ListBase *win_lb, Scene *scene)
bool WM_xr_session_exists(const wmXrData *xr)