48 "Mesh component containing point, corner, edge and face data"},
53 "Point cloud component containing only point data"},
58 "Curve component containing spline and control point data"},
63 "Instances of objects or collections"},
68 "Grease Pencil component containing layers and curves data"},
69 {0,
nullptr, 0,
nullptr,
nullptr},
82 "Manipulate objects in a 3D environment"},
87 "View and edit images and UV Maps"},
92 "Editor for node-based shading and compositing tools"},
93 {
SPACE_SEQ,
"SEQUENCE_EDITOR", ICON_SEQUENCE,
"Video Sequencer",
"Video editing tools"},
94 {
SPACE_CLIP,
"CLIP_EDITOR", ICON_TRACKER,
"Movie Clip Editor",
"Motion tracking tools"},
103 "Timeline and playback controls (NOTE: Switch to 'Timeline' mode)"},
105 {
SPACE_ACTION,
"DOPESHEET_EDITOR", ICON_ACTION,
"Dope Sheet",
"Adjust timing of keyframes"},
110 "Edit drivers and keyframe interpolation"},
111 {
SPACE_NLA,
"NLA_EDITOR", ICON_NLA,
"Nonlinear Animation",
"Combine and layer Actions"},
119 "Edit scripts and in-file documentation"},
124 "Interactive programmatic console for "
125 "advanced editing and script development"},
126 {
SPACE_INFO,
"INFO", ICON_INFO,
"Info",
"Log of operations, warnings and error messages"},
132 "Global bar at the top of the screen for "
133 "global per-window settings"},
138 "Global bar at the bottom of the "
139 "screen for general status information"},
147 "Overview of scene graph and all available data-blocks"},
152 "Edit properties of active object and related data-blocks"},
153 {
SPACE_FILE,
"FILE_BROWSER", ICON_FILEBROWSER,
"File Browser",
"Browse for files and assets"},
158 "Explore geometry data in a table"},
163 "Edit persistent configuration settings"},
164 {0,
nullptr, 0,
nullptr,
nullptr},
172 "Edit animation/keyframes displayed as 2D curves"},
174 {0,
nullptr, 0,
nullptr,
nullptr},
183 "Sequencer & Preview",
185 {0,
nullptr, 0,
nullptr,
nullptr},
191 {0,
nullptr, 0,
nullptr,
nullptr},
194#define SACT_ITEM_DOPESHEET \
196 SACTCONT_DOPESHEET, "DOPESHEET", ICON_ACTION, "Dope Sheet", "Edit all keyframes in scene" \
198#define SACT_ITEM_TIMELINE \
200 SACTCONT_TIMELINE, "TIMELINE", ICON_TIME, "Timeline", "Timeline and playback controls" \
202#define SACT_ITEM_ACTION \
204 SACTCONT_ACTION, "ACTION", ICON_OBJECT_DATA, "Action Editor", \
205 "Edit keyframes in active object's Object-level action" \
207#define SACT_ITEM_SHAPEKEY \
209 SACTCONT_SHAPEKEY, "SHAPEKEY", ICON_SHAPEKEY_DATA, "Shape Key Editor", \
210 "Edit keyframes in active object's Shape Keys action" \
212#define SACT_ITEM_GPENCIL \
214 SACTCONT_GPENCIL, "GPENCIL", ICON_OUTLINER_OB_GREASEPENCIL, "Grease Pencil", \
215 "Edit timings for all Grease Pencil sketches in file" \
217#define SACT_ITEM_MASK \
219 SACTCONT_MASK, "MASK", ICON_MOD_MASK, "Mask", "Edit timings for Mask Editor splines" \
221#define SACT_ITEM_CACHEFILE \
223 SACTCONT_CACHEFILE, "CACHEFILE", ICON_FILE, "Cache File", \
224 "Edit timings for Cache File data-blocks" \
238 {0,
nullptr, 0,
nullptr,
nullptr},
248 {0,
nullptr, 0,
nullptr,
nullptr},
257 {0,
nullptr, 0,
nullptr,
nullptr},
260#undef SACT_ITEM_DOPESHEET
261#undef SACT_ITEM_TIMELINE
262#undef SACT_ITEM_ACTION
263#undef SACT_ITEM_SHAPEKEY
264#undef SACT_ITEM_GPENCIL
266#undef SACT_ITEM_CACHEFILE
268#define SI_ITEM_VIEW(identifier, name, icon) \
270 SI_MODE_VIEW, identifier, icon, name, "View the image" \
274 SI_MODE_UV, "UV", ICON_UV, "UV Editor", "UV edit in mesh editmode" \
276#define SI_ITEM_PAINT \
278 SI_MODE_PAINT, "PAINT", ICON_TPAINT_HLT, "Paint", "2D image painting mode" \
280#define SI_ITEM_MASK \
282 SI_MODE_MASK, "MASK", ICON_MOD_MASK, "Mask", "Mask editing" \
290 {0,
nullptr, 0,
nullptr,
nullptr},
297 {0,
nullptr, 0,
nullptr,
nullptr},
301 SI_ITEM_VIEW(
"IMAGE_EDITOR",
"Image Editor", ICON_IMAGE),
303 {0,
nullptr, 0,
nullptr,
nullptr},
311#define V3D_S3D_CAMERA_LEFT {STEREO_LEFT_ID, "LEFT", ICON_RESTRICT_RENDER_OFF, "Left", ""},
312#define V3D_S3D_CAMERA_RIGHT {STEREO_RIGHT_ID, "RIGHT", ICON_RESTRICT_RENDER_OFF, "Right", ""},
313#define V3D_S3D_CAMERA_S3D {STEREO_3D_ID, "S3D", ICON_CAMERA_STEREO, "3D", ""},
315# define V3D_S3D_CAMERA_VIEWS {STEREO_MONO_ID, "MONO", ICON_RESTRICT_RENDER_OFF, "Views", ""},
328#undef V3D_S3D_CAMERA_LEFT
329#undef V3D_S3D_CAMERA_RIGHT
330#undef V3D_S3D_CAMERA_S3D
331#undef V3D_S3D_CAMERA_VIEWS
338 {
FILE_SORT_ALPHA,
"FILE_SORT_ALPHA", ICON_NONE,
"Name",
"Sort the file list alphabetically"},
340 "FILE_SORT_EXTENSION",
343 "Sort the file list by extension/type"},
348 "Sort files by modification time"},
349 {
FILE_SORT_SIZE,
"FILE_SORT_SIZE", ICON_NONE,
"Size",
"Sort files by size"},
354 "Sort the asset list so that assets in the same catalog are kept together. Within a single "
355 "catalog, assets are ordered by name. The catalogs are in order of the flattened catalog "
357 {0,
nullptr, 0,
nullptr,
nullptr},
364 {0,
nullptr, 0,
nullptr,
nullptr},
371 ICON_IMAGE_RGB_ALPHA,
373 "Display image with RGB colors and alpha transparency"},
374 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
375 {
SI_SHOW_ALPHA,
"ALPHA", ICON_IMAGE_ALPHA,
"Alpha",
"Display alpha transparency channel"},
380 "Display Z-buffer associated with image (mapped from camera clip start to end)"},
381 {
SI_SHOW_R,
"RED", ICON_RGB_RED,
"Red",
""},
382 {
SI_SHOW_G,
"GREEN", ICON_RGB_GREEN,
"Green",
""},
383 {
SI_SHOW_B,
"BLUE", ICON_RGB_BLUE,
"Blue",
""},
384 {0,
nullptr, 0,
nullptr,
nullptr},
392 "Display only edges of geometry without surface shading"},
397 "Display objects with flat lighting and basic surface shading"},
400 ICON_SHADING_TEXTURE,
402 "Preview materials using predefined environment lights"},
405 ICON_SHADING_RENDERED,
407 "Preview the final scene using the active render engine"},
408 {0,
nullptr, 0,
nullptr,
nullptr},
413 {
V3D_LIGHTING_MATCAP,
"MATCAP", 0,
"MatCap",
"Display using matcap material and lighting"},
415 {0,
nullptr, 0,
nullptr,
nullptr},
427 "Show the texture from the active image texture node using the active UV map coordinates"},
429 {0,
nullptr, 0,
nullptr,
nullptr},
437 "Show scene wireframes with the theme's wire color"},
440 {0,
nullptr, 0,
nullptr,
nullptr},
444 {0,
"DEFAULT", 0,
"Default",
""},
445 {0,
nullptr, 0,
nullptr,
nullptr},
475 {0,
nullptr, 0,
nullptr,
nullptr},
479 {
SC_MODE_TRACKING,
"TRACKING", ICON_ANIM_DATA,
"Tracking",
"Show tracking and solving tools"},
480 {
SC_MODE_MASKEDIT,
"MASK", ICON_MOD_MASK,
"Mask",
"Show mask editing tools"},
481 {0,
nullptr, 0,
nullptr,
nullptr},
487 {
BCONTEXT_TOOL,
"TOOL", ICON_TOOL_SETTINGS,
"Tool",
"Active Tool and Workspace settings"},
488 {
BCONTEXT_SCENE,
"SCENE", ICON_SCENE_DATA,
"Scene",
"Scene Properties"},
489 {
BCONTEXT_RENDER,
"RENDER", ICON_SCENE,
"Render",
"Render Properties"},
490 {
BCONTEXT_OUTPUT,
"OUTPUT", ICON_OUTPUT,
"Output",
"Output Properties"},
491 {
BCONTEXT_VIEW_LAYER,
"VIEW_LAYER", ICON_RENDER_RESULT,
"View Layer",
"View Layer Properties"},
492 {
BCONTEXT_WORLD,
"WORLD", ICON_WORLD,
"World",
"World Properties"},
494 {
BCONTEXT_OBJECT,
"OBJECT", ICON_OBJECT_DATA,
"Object",
"Object Properties"},
499 "Object Constraint Properties"},
500 {
BCONTEXT_MODIFIER,
"MODIFIER", ICON_MODIFIER,
"Modifiers",
"Modifier Properties"},
501 {
BCONTEXT_DATA,
"DATA", ICON_NONE,
"Data",
"Object Data Properties"},
502 {
BCONTEXT_BONE,
"BONE", ICON_BONE_DATA,
"Bone",
"Bone Properties"},
505 ICON_CONSTRAINT_BONE,
507 "Bone Constraint Properties"},
508 {
BCONTEXT_MATERIAL,
"MATERIAL", ICON_MATERIAL,
"Material",
"Material Properties"},
509 {
BCONTEXT_TEXTURE,
"TEXTURE", ICON_TEXTURE,
"Texture",
"Texture Properties"},
510 {
BCONTEXT_PARTICLE,
"PARTICLES", ICON_PARTICLES,
"Particles",
"Particle Properties"},
511 {
BCONTEXT_PHYSICS,
"PHYSICS", ICON_PHYSICS,
"Physics",
"Physics Properties"},
512 {
BCONTEXT_SHADERFX,
"SHADERFX", ICON_SHADERFX,
"Effects",
"Visual Effects Properties"},
513 {0,
nullptr, 0,
nullptr,
nullptr},
517 {0,
"NONE", 0,
"None",
"Only list current directory's content, with no recursion"},
518 {1,
"BLEND", 0,
"Blend File",
"List .blend files' content"},
519 {2,
"ALL_1", 0,
"One Level",
"List all sub-directories' content, one level of recursion"},
520 {3,
"ALL_2", 0,
"Two Levels",
"List all sub-directories' content, two levels of recursion"},
525 "List all sub-directories' content, three levels of recursion"},
526 {0,
nullptr, 0,
nullptr,
nullptr},
534 "Display files as a vertical list"},
539 "Display files as a horizontal list"},
540 {
FILE_IMGDISPLAY,
"THUMBNAIL", ICON_IMGDISPLAY,
"Thumbnails",
"Display files as thumbnails"},
541 {0,
nullptr, 0,
nullptr,
nullptr},
548 {0,
nullptr, 0,
nullptr,
nullptr},
556 "Use data from fully or partially evaluated object"},
561 "Use data from original object without any modifiers applied"},
566 "Use intermediate data from viewer node"},
567 {0,
nullptr, 0,
nullptr,
nullptr},
575 "Table contains geometry data"},
576 {0,
nullptr, 0,
nullptr,
nullptr},
583# include <fmt/format.h>
655 return &RNA_SpaceView3D;
657 return &RNA_SpaceGraphEditor;
659 return &RNA_SpaceOutliner;
661 return &RNA_SpaceProperties;
663 return &RNA_SpaceFileBrowser;
665 return &RNA_SpaceImageEditor;
667 return &RNA_SpaceInfo;
669 return &RNA_SpaceSequenceEditor;
671 return &RNA_SpaceTextEditor;
673 return &RNA_SpaceDopeSheetEditor;
675 return &RNA_SpaceNLA;
677 return &RNA_SpaceNodeEditor;
679 return &RNA_SpaceConsole;
681 return &RNA_SpacePreferences;
683 return &RNA_SpaceClipEditor;
685 return &RNA_SpaceSpreadsheet;
705static void area_region_from_regiondata(
bScreen *screen,
715 if (region->regiondata == regiondata) {
727 void *regiondata = (
ptr->data);
729 area_region_from_regiondata(screen, regiondata, r_area, r_region);
736static bool rna_Space_bool_from_region_flag_get_by_type(
PointerRNA *
ptr,
737 const int region_type,
738 const int region_flag)
743 return (region->
flag & region_flag);
748static void rna_Space_bool_from_region_flag_set_by_type(
PointerRNA *
ptr,
749 const int region_type,
750 const int region_flag,
761static void rna_Space_bool_from_region_flag_update_by_type(
bContext *
C,
763 const int region_type,
764 const int region_flag)
801static void rna_Space_show_region_header_set(
PointerRNA *
ptr,
bool value)
806 bool value_for_tool_header = value;
810 if (region_tool_header !=
nullptr) {
814 rna_Space_bool_from_region_flag_set_by_type(
827static void rna_Space_show_region_footer_set(
PointerRNA *
ptr,
bool value)
840static bool rna_Space_show_region_tool_header_get(
PointerRNA *
ptr)
842 return !rna_Space_bool_from_region_flag_get_by_type(
845static void rna_Space_show_region_tool_header_set(
PointerRNA *
ptr,
bool value)
847 rna_Space_bool_from_region_flag_set_by_type(
857static bool rna_Space_show_region_toolbar_get(
PointerRNA *
ptr)
861static void rna_Space_show_region_toolbar_set(
PointerRNA *
ptr,
bool value)
870static bool rna_Space_show_region_tool_props_get(
PointerRNA *
ptr)
874static void rna_Space_show_region_tool_props_set(
PointerRNA *
ptr,
bool value)
884static bool rna_Space_show_region_channels_get(
PointerRNA *
ptr)
888static void rna_Space_show_region_channels_set(
PointerRNA *
ptr,
bool value)
902static void rna_Space_show_region_ui_set(
PointerRNA *
ptr,
bool value)
916static void rna_Space_show_region_hud_set(
PointerRNA *
ptr,
bool value)
926static bool rna_Space_show_region_asset_shelf_get(
PointerRNA *
ptr)
930static void rna_Space_show_region_asset_shelf_set(
PointerRNA *
ptr,
bool value)
946 area = rna_area_from_space(
ptr);
947 if (area ==
nullptr) {
965static void rna_Space_view2d_sync_set(
PointerRNA *
ptr,
bool value)
970 area = rna_area_from_space(
ptr);
978 "'show_locked_time' is not supported for the '%s' editor",
1005 area = rna_area_from_space(
ptr);
1006 if (area ==
nullptr) {
1029 if (v3d->
scenelock && scene !=
nullptr) {
1037static void rna_SpaceView3D_use_local_camera_set(
PointerRNA *
ptr,
bool value)
1049 if (scene !=
nullptr) {
1055static float rna_View3DOverlay_GridScaleUnit_get(
PointerRNA *
ptr)
1060 if (scene !=
nullptr) {
1073 void *regiondata =
nullptr;
1083static void rna_SpaceView3D_object_type_visibility_update(
Main * ,
1090static void rna_SpaceView3D_shading_use_compositor_update(
Main * ,
1112 rna_SpaceView3D_retopology_update(bmain, scene,
ptr);
1128 while (
i-- && region) {
1129 region = region->
prev;
1152 rna_area_region_from_regiondata(
ptr, &area, ®ion);
1159static void rna_RegionView3D_quadview_clip_update(
Main * ,
1166 rna_area_region_from_regiondata(
ptr, &area, ®ion);
1177static void rna_RegionView3D_view_rotation_set_validate_view_axis(
RegionView3D *rv3d)
1185 const float eps_quat = 1e-6f;
1190static void rna_RegionView3D_view_location_get(
PointerRNA *
ptr,
float *values)
1196static void rna_RegionView3D_view_location_set(
PointerRNA *
ptr,
const float *values)
1202static void rna_RegionView3D_view_rotation_get(
PointerRNA *
ptr,
float *values)
1208static void rna_RegionView3D_view_rotation_set(
PointerRNA *
ptr,
const float *values)
1212 rna_RegionView3D_view_rotation_set_validate_view_axis(rv3d);
1215static void rna_RegionView3D_view_matrix_set(
PointerRNA *
ptr,
const float *values)
1221 rna_RegionView3D_view_rotation_set_validate_view_axis(rv3d);
1224static bool rna_RegionView3D_is_orthographic_side_view_get(
PointerRNA *
ptr)
1232static void rna_RegionView3D_is_orthographic_side_view_set(
PointerRNA *
ptr,
bool value)
1238 if (was_axis_view) {
1242 const float eps_quat =
FLT_MAX;
1249 if (!was_axis_view) {
1259 return &shading->
prop;
1264 ID *
id =
ptr->owner_id;
1287 if (&v3d->
shading == shading) {
1299 ID *
id =
ptr->owner_id;
1313 ID *
id =
ptr->owner_id;
1327 Scene *scene = rna_3DViewShading_scene(
ptr);
1332 return shading->
type;
1342 return shading->
type;
1347static void rna_3DViewShading_type_set(
PointerRNA *
ptr,
int value)
1353 shading->
type = value;
1361 Scene *scene = rna_3DViewShading_scene(
ptr);
1409static void rna_View3DShading_studio_light_get_storage(
View3DShading *shading,
1419 *dna_storage = shading->
matcap;
1428static int rna_View3DShading_studio_light_get(
PointerRNA *
ptr)
1434 rna_View3DShading_studio_light_get_storage(shading, &dna_storage, &
flag);
1445static void rna_View3DShading_studio_light_set(
PointerRNA *
ptr,
int value)
1451 rna_View3DShading_studio_light_get_storage(shading, &dna_storage, &
flag);
1473 if ((sl->
flag & flags) == flags) {
1482 bool show_studiolight =
false;
1487 show_studiolight =
true;
1491 switch (shading->
type) {
1505 if (show_studiolight) {
1526 const bool eevee_active =
STREQ(scene->
r.
engine,
"BLENDER_EEVEE_NEXT");
1535 aov_template.
icon = 0;
1541 aov_template.
name = aov->name;
1544 aov_template.
value++;
1554 else if (!aov_available &&
STREQ(item->
name,
"Shader AOV")) {
1566static int rna_3DViewShading_render_pass_get(
PointerRNA *
ptr)
1570 ViewLayer *view_layer = rna_3DViewShading_view_layer(
ptr);
1578 if (aov_index == -1) {
1581 return result + aov_index;
1587static void rna_3DViewShading_render_pass_set(
PointerRNA *
ptr,
int value)
1590 ViewLayer *view_layer = rna_3DViewShading_view_layer(
ptr);
1635 return multiview_camera_items;
1642static void rna_SpaceView3D_mirror_xr_session_update(
Main *
main,
1646# ifdef WITH_XR_OPENXR
1652 const ScrArea *area = rna_area_from_space(
ptr);
1661static int rna_SpaceView3D_icon_from_show_object_viewport_get(
PointerRNA *
ptr)
1668static std::optional<std::string> rna_View3DShading_path(
const PointerRNA *
ptr)
1671 return "display.shading";
1682 if (&v3d->
shading == shading) {
1683 return fmt::format(
"areas[{}].spaces[{}].shading", area_index, space_index);
1698static std::optional<std::string> rna_View3DOverlay_path(
const PointerRNA *
ptr)
1701 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
1711static std::optional<std::string> rna_SpaceImageOverlay_path(
const PointerRNA *
ptr)
1714 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
1717static std::optional<std::string> rna_SpaceUVEditor_path(
const PointerRNA *
ptr)
1720 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"uv_editor");
1730 if (scene !=
nullptr) {
1735static void rna_SpaceImageEditor_show_stereo_set(
PointerRNA *
ptr,
bool value)
1747static bool rna_SpaceImageEditor_show_stereo_get(
PointerRNA *
ptr)
1753static void rna_SpaceImageEditor_show_stereo_update(
Main * ,
1770static bool rna_SpaceImageEditor_show_render_get(
PointerRNA *
ptr)
1776static bool rna_SpaceImageEditor_show_paint_get(
PointerRNA *
ptr)
1782static bool rna_SpaceImageEditor_show_uvedit_get(
PointerRNA *
ptr)
1786 Object *obedit =
nullptr;
1788 if (win !=
nullptr) {
1797static bool rna_SpaceImageEditor_show_maskedit_get(
PointerRNA *
ptr)
1801 Object *obedit =
nullptr;
1803 if (win !=
nullptr) {
1871static int rna_SpaceImageEditor_display_channels_get(
PointerRNA *
ptr)
1884static void rna_SpaceImageEditor_zoom_get(
PointerRNA *
ptr,
float *values)
1890 values[0] = values[1] = 1;
1893 area = rna_area_from_space(
ptr);
1900static float rna_SpaceImageEditor_zoom_percentage_get(
PointerRNA *
ptr)
1903 return sima->
zoom * 100.0f;
1906static void rna_SpaceImageEditor_zoom_percentage_set(
PointerRNA *
ptr,
const float value)
1909 sima->
zoom = value / 100.0f;
1912static void rna_SpaceImageEditor_cursor_location_get(
PointerRNA *
ptr,
float *values)
1923 values[0] = sima->
cursor[0] *
w;
1924 values[1] = sima->
cursor[1] * h;
1928static void rna_SpaceImageEditor_cursor_location_set(
PointerRNA *
ptr,
const float *values)
1939 sima->
cursor[0] = values[0] /
w;
1940 sima->
cursor[1] = values[1] / h;
1987 "INDIVIDUAL_ORIGINS",
1988 ICON_PIVOT_INDIVIDUAL,
1989 "Individual Origins",
1990 "Pivot around each selected island's own median point"},
1991 {0,
nullptr, 0,
nullptr,
nullptr},
2004static void rna_SpaceUVEditor_tile_grid_shape_set(
PointerRNA *
ptr,
const int *values)
2008 int clamp[2] = {10, 100};
2009 for (
int i = 0;
i < 2;
i++) {
2010 data->tile_grid_shape[
i] = std::clamp(values[
i], 1,
clamp[
i]);
2014static void rna_SpaceUVEditor_custom_grid_subdiv_set(
PointerRNA *
ptr,
const int *values)
2018 for (
int i = 0;
i < 2;
i++) {
2019 data->custom_grid_subdiv[
i] = std::clamp(values[
i], 1, 5000);
2025static void rna_SpaceTextEditor_word_wrap_set(
PointerRNA *
ptr,
bool value)
2040 if (st->
text !=
nullptr) {
2053static bool rna_SpaceTextEditor_text_is_syntax_highlight_supported(
SpaceText *space)
2067static int rna_SpaceTextEditor_visible_lines_get(
PointerRNA *
ptr)
2100 if (
id ==
nullptr) {
2123static void rna_SpaceProperties_context_set(
PointerRNA *
ptr,
int value)
2127 sbuts->
mainb = value;
2143 int totitem_added = 0;
2144 bool add_separator =
true;
2147 if (add_separator) {
2149 add_separator =
false;
2155 add_separator =
true;
2159 (item + totitem_added - 1)->icon = sbuts->
dataicon;
2169static void rna_SpaceProperties_context_update(
Main * ,
2180static int rna_SpaceProperties_tab_search_results_getlength(
const PointerRNA *
ptr,
2192static void rna_SpaceProperties_tab_search_results_get(
PointerRNA *
ptr,
bool *values)
2203static void rna_SpaceProperties_search_filter_get(
PointerRNA *
ptr,
char *value)
2208 strcpy(value, search_filter);
2211static int rna_SpaceProperties_search_filter_length(
PointerRNA *
ptr)
2218static void rna_SpaceProperties_search_filter_set(
PointerRNA *
ptr,
const char *value)
2225static void rna_SpaceProperties_search_filter_update(
Main * ,
2238static void rna_ConsoleLine_body_get(
PointerRNA *
ptr,
char *value)
2241 memcpy(value, ci->line, ci->len + 1);
2250static void rna_ConsoleLine_body_set(
PointerRNA *
ptr,
const char *value)
2253 size_t len = strlen(value);
2255 if ((
len >=
size_t(ci->len_alloc)) || (
len * 2 <
size_t(ci->len_alloc)))
2259 ci->len_alloc = int(
len + 1);
2261 memcpy(ci->line, value,
len + 1);
2264 if (
size_t(ci->cursor) >
len) {
2266 ci->cursor = int(
len);
2270static int rna_ConsoleLine_current_character_get(
PointerRNA *
ptr)
2276static void rna_ConsoleLine_current_character_set(
PointerRNA *
ptr,
const int index)
2284static void rna_SpaceDopeSheetEditor_action_set(
PointerRNA *
ptr,
2291 if ((act ==
nullptr) || (act->idroot == 0)) {
2299 if (act->idroot ==
ID_OB) {
2304 "ERROR: cannot assign Action '%s' to Action Editor, as action is not object-level "
2311 if (act->idroot ==
ID_KE) {
2316 "ERROR: cannot assign Action '%s' to Shape Key Editor, as action doesn't animate "
2323 "ACK: who's trying to set an action while not in a mode displaying a single Action "
2338 if (obact ==
nullptr) {
2344 switch (saction->
mode) {
2352 if (key ==
nullptr) {
2367 if (adt ==
nullptr) {
2423 saction->
action =
nullptr;
2434 saction->
action =
nullptr;
2446 if (channels_region) {
2498static bool rna_SpaceGraphEditor_has_ghost_curves_get(
PointerRNA *
ptr)
2530 if (strip->type !=
STRIP_TYPE_MOVIE || strip->data ==
nullptr || strip->data->proxy ==
nullptr)
2554 seq_build_proxy(
C,
ptr);
2558static bool rna_SequenceEditor_clamp_view_get(
PointerRNA *
ptr)
2564static void rna_SequenceEditor_clamp_view_set(
PointerRNA *
ptr,
bool value)
2570 area = rna_area_from_space(
ptr);
2571 if (area ==
nullptr) {
2599static std::optional<std::string> rna_SpaceSequencerPreviewOverlay_path(
const PointerRNA *
ptr)
2603 "{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"preview_overlay");
2611static std::optional<std::string> rna_SpaceSequencerTimelineOverlay_path(
const PointerRNA *
ptr)
2615 "{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"timeline_overlay");
2623static std::optional<std::string> rna_SpaceSequencerCacheOverlay_path(
const PointerRNA *
ptr)
2626 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"cache_overlay");
2629static float rna_SpaceSequenceEditor_zoom_percentage_get(
PointerRNA *
ptr)
2632 if (area ==
nullptr) {
2636 if (region ==
nullptr) {
2646static void rna_SpaceSequenceEditor_zoom_percentage_set(
PointerRNA *
ptr,
const float value)
2649 if (area ==
nullptr) {
2653 if (region ==
nullptr) {
2675static std::optional<std::string> rna_SpaceNodeOverlay_path(
const PointerRNA *
ptr)
2678 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
2681static void rna_SpaceNodeEditor_node_tree_set(
PointerRNA *
ptr,
2687 reinterpret_cast<const SpaceLink *
>(snode));
2692static bool rna_SpaceNodeEditor_geometry_nodes_tool_tree_poll(
PointerRNA * ,
2708static bool space_node_node_geometry_nodes_poll(
const SpaceNode &snode,
const bNodeTree &ntree)
2741 if (!space_node_node_geometry_nodes_poll(*snode, *ntree)) {
2753static void rna_SpaceNodeEditor_geometry_nodes_type_update(
Main * ,
2763static int rna_SpaceNodeEditor_tree_type_get(
PointerRNA *
ptr)
2768static void rna_SpaceNodeEditor_tree_type_set(
PointerRNA *
ptr,
int value)
2777 return type->
poll(
C, type);
2784static void rna_SpaceNodeEditor_cursor_location_get(
PointerRNA *
ptr,
float value[2])
2791static void rna_SpaceNodeEditor_cursor_location_set(
PointerRNA *
ptr,
const float value[2])
2811static void rna_SpaceNodeEditor_path_get(
PointerRNA *
ptr,
char *value)
2835 reinterpret_cast<const SpaceLink *
>(snode));
2846 ARegion *region = find_snode_region(snode,
C);
2851static void rna_SpaceNodeEditor_path_append(
SpaceNode *snode,
2856 ARegion *region = find_snode_region(snode,
C);
2864 ARegion *region = find_snode_region(snode,
C);
2869static void rna_SpaceNodeEditor_show_backdrop_update(
Main * ,
2877static void rna_SpaceNodeEditor_cursor_location_from_region(
SpaceNode *snode,
2884 float cursor_location[2];
2912static void rna_SpaceClipEditor_clip_mode_update(
Main * ,
2928static void rna_SpaceClipEditor_lock_selection_update(
Main * ,
2938static void rna_SpaceClipEditor_view_type_update(
Main * ,
2946static float rna_SpaceClipEditor_zoom_percentage_get(
PointerRNA *
ptr)
2949 return sc->
zoom * 100.0f;
2952static void rna_SpaceClipEditor_zoom_percentage_set(
PointerRNA *
ptr,
const float value)
2955 sc->
zoom = value / 100.0f;
2960static std::optional<std::string> rna_FileSelectParams_path(
const PointerRNA * )
2965int rna_FileSelectParams_filename_editable(
const PointerRNA *
ptr,
const char **r_info)
2970 *r_info =
N_(
"Only directories can be chosen for the current operation.");
2977static bool rna_FileSelectParams_use_lib_get(
PointerRNA *
ptr)
3050 items[0].
description =
N_(
"Sort the asset list alphabetically");
3072static void rna_FileSelectPrams_filter_glob_set(
PointerRNA *
ptr,
const char *value)
3087static int rna_FileAssetSelectParams_asset_library_get(
PointerRNA *
ptr)
3096static void rna_FileAssetSelectParams_asset_library_set(
PointerRNA *
ptr,
int value)
3111 if (!entry->
asset) {
3122 if (entry->
asset->is_local_id()) {
3130static int rna_FileBrowser_FileSelectEntry_name_editable(
const PointerRNA *
ptr,
3131 const char **r_info)
3139 PointerRNA asset_data_ptr = rna_FileBrowser_FileSelectEntry_asset_data_get_impl(
ptr);
3149 return rna_FileBrowser_FileSelectEntry_asset_data_get_impl(
ptr);
3152static void rna_FileBrowser_FileSelectEntry_name_get(
PointerRNA *
ptr,
char *value)
3155 strcpy(value, entry->
name);
3158static int rna_FileBrowser_FileSelectEntry_name_length(
PointerRNA *
ptr)
3161 return int(strlen(entry->
name));
3164static void rna_FileBrowser_FileSelectEntry_relative_path_get(
PointerRNA *
ptr,
char *value)
3167 strcpy(value, entry->
relpath);
3170static int rna_FileBrowser_FileSelectEntry_relative_path_length(
PointerRNA *
ptr)
3173 return int(strlen(entry->
relpath));
3176static int rna_FileBrowser_FileSelectEntry_preview_icon_id_get(
PointerRNA *
ptr)
3188 return &RNA_FileSelectParams;
3191 return &RNA_FileAssetSelectParams;
3202 StructRNA *params_struct = rna_FileBrowser_params_typef(
ptr);
3204 if (
params && params_struct) {
3211static void rna_FileBrowser_FSMenuEntry_path_get(
PointerRNA *
ptr,
char *value)
3215 strcpy(value, path ? path :
"");
3218static int rna_FileBrowser_FSMenuEntry_path_length(
PointerRNA *
ptr)
3222 return int(path ? strlen(path) : 0);
3225static void rna_FileBrowser_FSMenuEntry_path_set(
PointerRNA *
ptr,
const char *value)
3234static void rna_FileBrowser_FSMenuEntry_name_get(
PointerRNA *
ptr,
char *value)
3239static int rna_FileBrowser_FSMenuEntry_name_length(
PointerRNA *
ptr)
3244static void rna_FileBrowser_FSMenuEntry_name_set(
PointerRNA *
ptr,
const char *value)
3253static int rna_FileBrowser_FSMenuEntry_name_get_editable(
const PointerRNA *
ptr,
3261static int rna_FileBrowser_FSMenuEntry_icon_get(
PointerRNA *
ptr)
3267static void rna_FileBrowser_FSMenuEntry_icon_set(
PointerRNA *
ptr,
int value)
3273static bool rna_FileBrowser_FSMenuEntry_use_save_get(
PointerRNA *
ptr)
3279static bool rna_FileBrowser_FSMenuEntry_is_valid_get(
PointerRNA *
ptr)
3289 if (internal->
skip) {
3292 iter->
valid = (internal->
link !=
nullptr);
3293 }
while (iter->
valid && internal->
skip(iter, internal->
link));
3297 iter->
valid = (internal->
link !=
nullptr);
3308 internal->
link = (fsmentry) ? (
Link *)fsmentry :
nullptr;
3309 internal->
skip =
nullptr;
3311 iter->
valid = (internal->
link !=
nullptr);
3318 iter->
parent, &RNA_FileBrowserFSMenuEntry, internal->
link);
3330static int rna_FileBrowser_FSMenuSystem_data_length(
PointerRNA * )
3343static int rna_FileBrowser_FSMenuSystemBookmark_data_length(
PointerRNA * )
3356static int rna_FileBrowser_FSMenuBookmark_data_length(
PointerRNA * )
3369static int rna_FileBrowser_FSMenuRecent_data_length(
PointerRNA * )
3402static void rna_FileBrowser_FSMenu_active_set(
PointerRNA *
ptr,
3433static void rna_FileBrowser_FSMenu_active_range(
PointerRNA * ,
3442 *
min = *softmin = -1;
3452static int rna_FileBrowser_FSMenuSystem_active_get(
PointerRNA *
ptr)
3457static void rna_FileBrowser_FSMenuSystem_active_set(
PointerRNA *
ptr,
int value)
3462static void rna_FileBrowser_FSMenuSystem_active_range(
3468static int rna_FileBrowser_FSMenuSystemBookmark_active_get(
PointerRNA *
ptr)
3473static void rna_FileBrowser_FSMenuSystemBookmark_active_set(
PointerRNA *
ptr,
int value)
3478static void rna_FileBrowser_FSMenuSystemBookmark_active_range(
3481 rna_FileBrowser_FSMenu_active_range(
3485static int rna_FileBrowser_FSMenuBookmark_active_get(
PointerRNA *
ptr)
3490static void rna_FileBrowser_FSMenuBookmark_active_set(
PointerRNA *
ptr,
int value)
3495static void rna_FileBrowser_FSMenuBookmark_active_range(
3501static int rna_FileBrowser_FSMenuRecent_active_get(
PointerRNA *
ptr)
3506static void rna_FileBrowser_FSMenuRecent_active_set(
PointerRNA *
ptr,
int value)
3511static void rna_FileBrowser_FSMenuRecent_active_range(
3517static void rna_SpaceFileBrowser_browse_mode_update(
Main * ,
3525static void rna_SpaceSpreadsheet_geometry_component_type_update(
Main * ,
3531 switch (sspreadsheet->geometry_id.geometry_component_type) {
3574 sspreadsheet->geometry_id.geometry_component_type);
3577 if (used_id !=
nullptr) {
3638 return &RNA_SpreadsheetTableIDGeometry;
3640 return &RNA_SpreadsheetTableID;
3651static int rna_iterator_SpreadsheetTable_columns_length(
PointerRNA *
ptr)
3670static int rna_iterator_SpaceSpreadsheet_tables_length(
PointerRNA *
ptr)
3688 return &RNA_IDViewerPathElem;
3690 return &RNA_ModifierViewerPathElem;
3692 return &RNA_GroupNodeViewerPathElem;
3694 return &RNA_SimulationZoneViewerPathElem;
3696 return &RNA_ViewerNodeViewerPathElem;
3698 return &RNA_RepeatZoneViewerPathElem;
3700 return &RNA_ForeachGeometryElementZoneViewerPathElem;
3702 return &RNA_EvaluateClosureNodeViewerPathElem;
3708static void rna_FileAssetSelectParams_catalog_id_get(
PointerRNA *
ptr,
char *value)
3714static int rna_FileAssetSelectParams_catalog_id_length(
PointerRNA * )
3719static void rna_FileAssetSelectParams_catalog_id_set(
PointerRNA *
ptr,
const char *value)
3723 if (value[0] ==
'\0') {
3731 printf(
"UUID %s not formatted correctly, ignoring new value\n", value);
3735 params->catalog_id = new_uuid;
3742 {
SI_UVDT_OUTLINE,
"OUTLINE", 0,
"Outline",
"Display white edges with black outline"},
3743 {
SI_UVDT_DASH,
"DASH", 0,
"Dash",
"Display dashed black-white edges"},
3744 {
SI_UVDT_BLACK,
"BLACK", 0,
"Black",
"Display black edges"},
3745 {
SI_UVDT_WHITE,
"WHITE", 0,
"White",
"Display white edges"},
3746 {0,
nullptr, 0,
nullptr,
nullptr},
3751 {
FILTER_ID_SCE,
"category_scene", ICON_SCENE_DATA,
"Scenes",
"Show scenes"},
3752 {
FILTER_ID_AC,
"category_animation", ICON_ANIM_DATA,
"Animations",
"Show animation data"},
3755 ICON_OUTLINER_COLLECTION,
3756 "Objects & Collections",
3757 "Show objects and collections"},
3760 "category_geometry",
3761 ICON_GEOMETRY_NODES,
3763 "Show meshes, curves, lattice, armatures and metaballs data"},
3768 "Show materials, node-trees, textures and Freestyle's line-styles"},
3773 "Show images, movie clips, sounds and masks"},
3775 "category_environment",
3778 "Show worlds, lights, cameras and speakers"},
3784 "Show other data types"},
3785 {0,
nullptr, 0,
nullptr,
nullptr},
3792# define DEF_SHOW_REGION_PROPERTY(identifier, label, description) \
3794 prop = RNA_def_property(srna, STRINGIFY(identifier), PROP_BOOLEAN, PROP_NONE); \
3795 RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE); \
3796 RNA_def_property_boolean_funcs(prop, \
3797 STRINGIFY(rna_Space_##identifier##_get), \
3798 STRINGIFY(rna_Space_##identifier##_set)); \
3799 RNA_def_property_ui_text(prop, label, description); \
3800 RNA_def_property_update(prop, 0, STRINGIFY(rna_Space_##identifier##_update)); \
3866 "Sync Visible Range",
3867 "Synchronize the visible timeline range with other time-based editors");
3883 "Show alpha channel of the mask"},
3888 "Combine space background image with the mask"},
3889 {0,
nullptr, 0,
nullptr,
nullptr},
3938 {0,
nullptr, 0,
nullptr,
nullptr},
3945 {0,
nullptr, 0,
nullptr,
nullptr},
3952 {0,
nullptr, 0,
nullptr,
nullptr},
3973 "Display faces colored according to the difference in shape between UVs and "
3974 "their 3D coordinates (blue for low distortion, red for high distortion)");
3987 prop,
"Display Modified Edges",
"Display edges after modifiers are applied");
4003 prop,
"Pixel Coordinates",
"Display UV coordinates in pixels rather than from 0.0 to 1.0");
4018 prop,
"Tile Grid Shape",
"How many tiles will be shown in the background");
4039 prop,
"Dynamic Grid Size",
"Number of grid units in UV space that make one UV Unit");
4068 "Constrain to Image Bounds",
4069 "Constraint to stay within the image bounds while editing");
4077 "Continuously unwrap the selected UV island while transforming pinned vertices");
4091 "Display scenes and their view layers, collections and objects"},
4096 "Display collections and objects in the view layer"},
4101 "Display data belonging to the Video Sequencer"},
4106 "Display data of current file and linked libraries"},
4111 "Display low level Blender data and its properties"},
4113 "LIBRARY_OVERRIDES",
4114 ICON_LIBRARY_DATA_OVERRIDE,
4115 "Library Overrides",
4116 "Display data-blocks with library overrides and list their overridden properties"},
4121 "Display data that is unused and/or will be lost when the file is reloaded"},
4122 {0,
nullptr, 0,
nullptr,
nullptr},
4130 "Display all local override data-blocks with their overridden properties and buttons to "
4136 "Display library override relationships"},
4137 {0,
nullptr, 0,
nullptr,
nullptr},
4146 {0,
nullptr, 0,
nullptr,
nullptr},
4162 "Library Override View Mode",
4163 "Choose different visualizations of library override data");
4175 prop,
"Case Sensitive Matches Only",
"Only use case sensitive matches of search string");
4181 prop,
"Complete Matches Only",
"Only use complete matches of search string");
4192 prop,
"Sync Outliner Selection",
"Sync outliner selection with other editors");
4198 prop,
"Show Mode Column",
"Show the mode column for mode toggle and activation");
4253 prop,
"Show Object Contents",
"Show what is inside the objects elements");
4317 prop,
"Show Other Objects",
"Show curves, lattices, light probes, fonts, ...");
4336 "Show System Overrides",
4337 "For libraries with overrides created, show the overridden values that are "
4338 "defined/controlled automatically (e.g. to make users of an overridden data-block point to "
4339 "the override data, not the original linked data)");
4355 "Use a custom color limited to this viewport only"},
4356 {0,
nullptr, 0,
nullptr,
nullptr},
4364 "Cavity shading computed in world space, useful for larger-scale occlusion"},
4369 "Curvature-based shading, useful for making fine details more visible"},
4371 {0,
nullptr, 0,
nullptr,
nullptr},
4379 "The compositor is disabled"},
4384 "The compositor is enabled only in camera view"},
4389 "The compositor is always enabled regardless of the view"},
4390 {0,
nullptr, 0,
nullptr,
nullptr},
4398 srna,
"3D View Shading Settings",
"Settings for shading in the 3D viewport");
4404 "rna_3DViewShading_type_get",
4405 "rna_3DViewShading_type_set",
4406 "rna_3DViewShading_type_itemf");
4408 prop,
"Viewport Shading",
"Method to display/shade objects in the 3D View");
4428 "rna_View3DShading_studio_light_get",
4429 "rna_View3DShading_studio_light_set",
4430 "rna_View3DShading_studio_light_itemf");
4438 prop,
"World Space Lighting",
"Make the lighting fixed and not follow the camera");
4444 prop,
"Backface Culling",
"Use back face culling to hide the back side of faces");
4494 prop,
"rna_View3DShading_selected_studio_light_get",
nullptr,
nullptr,
nullptr);
4501 prop,
"Studiolight Rotation",
"Rotation of the studiolight around the Z-Axis");
4537 prop,
"World Space Lighting",
"Make the HDR rotation fixed and not follow the camera");
4610 "Use depth of field on viewport using the values from the active camera");
4666 "rna_3DViewShading_render_pass_get",
4667 "rna_3DViewShading_render_pass_set",
4668 "rna_3DViewShading_render_pass_itemf");
4682 prop,
"Compositor",
"When to preview the compositor output inside the viewport");
4685 "rna_SpaceView3D_shading_use_compositor_update");
4698 srna,
"3D View Overlay Settings",
"Settings for display of overlays in the 3D viewport");
4733 prop,
"Grid Scale",
"Multiplier for the distance between 3D View grid lines");
4741 prop,
"Grid Lines",
"Number of grid lines to display in perspective view");
4755 prop,
"Grid Scale Unit",
"Grid cell size scaled by scene unit system settings");
4760 prop,
"Outline Selected",
"Show an outline highlight around selected objects");
4773 "All Object Origins",
4774 "Show the object origin center dot for all (selected and unselected) objects");
4780 "Relationship Lines",
4781 "Show dashed lines indicating parent or constraint relationships");
4814 prop,
"Extras",
"Object details, including empty wire, cameras and other visual guides");
4825 prop,
"Show Bones",
"Display bones (disable to show motion paths only)");
4838 prop,
"Fade Inactive Objects",
"Fade inactive geometry using the viewport background color");
4864 prop,
"Bone Wireframe Opacity",
"Maximum opacity of bones in wireframe display mode");
4898 "Wireframe Threshold",
4899 "Adjust the angle threshold for displaying edges "
4908 "Wireframe Opacity",
4909 "Opacity of the displayed edges "
4910 "(1.0 for opaque)");
4924 prop,
"Viewer Attribute Opacity",
"Opacity of the attribute that is currently visualized");
4933 prop,
"View Attribute Text",
"Show attribute values as text in viewport");
4945 "Show Weight Contours",
4946 "Show contour lines formed by points with the same interpolated weight");
4958 "Hide the solid mesh and offset the overlay towards the view. "
4959 "Selection is occluded by inactive geometry, unless X-Ray is enabled");
4966 prop,
"Retopology Offset",
"Offset used to draw edit mesh in front of other geometry");
4985 prop,
"Display Split Normals",
"Display vertex-per-face normals as lines");
4997 "Display Face Center",
4998 "Display face center when face selection is enabled in solid shading modes");
5004 prop,
"Display Creases",
"Display creases created for Subdivision Surface modifier");
5010 prop,
"Display Bevel Weights",
"Display weights created for the Bevel modifier");
5021 prop,
"Display Sharp",
"Display sharp edges, used with the Edge Split modifier");
5028 "Display Freestyle Edge Marks",
5029 "Display Freestyle edge marks, used with the Freestyle renderer");
5036 "Display Freestyle Face Marks",
5037 "Display Freestyle face marks, used with the Freestyle renderer");
5043 prop,
"Mesh Analysis",
"Display statistical information about the mesh");
5051 "Display selected edge lengths, using global values when set in the transform panel");
5059 "Display selected edge angle, using global values when set in the transform panel");
5066 "Display the angles in the selected edges, "
5067 "using global values when set in the transform panel");
5074 "Display the area of selected faces, "
5075 "using global values when set in the transform panel");
5081 prop,
"Indices",
"Display the index numbers of selected vertices, edges, and faces");
5088 prop,
"Display Handles",
"Limit the display of curve handles in edit mode");
5114 "Constant Screen Size Normals",
5115 "Keep size of normals constant in relation to 3D view");
5121 prop,
"Stencil Mask Opacity",
"Opacity of the texture paint mode stencil mask overlay");
5128 prop,
"Stencil Mask Opacity",
"Opacity of the texture paint mode stencil mask overlay");
5135 prop,
"Weight Paint Opacity",
"Opacity of the weight paint mode overlay");
5148 prop,
"Sculpt Curves Cage",
"Show original curves that are currently being edited");
5154 prop,
"Curves Sculpt Cage Opacity",
"Opacity of the cage overlay in curves sculpt mode");
5185 "Fade all viewport objects with a full color layer to improve visibility");
5196 prop,
"Fade Layers",
"Toggle fading of Grease Pencil layers except the active one");
5202 prop,
"Fade Grease Pencil Objects",
"Fade Grease Pencil Objects, except the active one");
5214 "Show stroke drawing direction with a bigger green dot (start) "
5215 "and smaller red dot (end) points");
5221 prop,
"Stroke Material Name",
"Show material name assigned to each stroke");
5269 prop,
"Opacity",
"Fade layer opacity for Grease Pencil layers except the active one");
5287 prop,
"Onion Skins",
"Show ghosts of the keyframes before and after the current frame");
5294 prop,
"Active Object Only",
"Show only the onion skins of the active object");
5327 {
RV3D_ORTHO,
"ORTHO", 0,
"Orthographic",
""},
5329 {0,
nullptr, 0,
nullptr,
nullptr},
5337 {
OB_CUBE,
"CUBE", 0,
"Cube",
""},
5340 {0,
nullptr, 0,
nullptr,
nullptr},
5358 "Active camera used in this view (when unlocked from the scene's active camera)");
5367 "Use a region within the frame size for rendered viewport "
5368 "(when not viewing through the camera)");
5399 prop,
"Lock to Object",
"3D View center is locked to this object's position");
5405 prop,
"Lock to Bone",
"3D View center is locked to this bone's position");
5411 prop,
"Lock to Cursor",
"3D View center is locked to the cursor's position");
5419 "Display an isolated subset of objects, apart from the scene visibility");
5431 prop,
"Clip Start",
"3D View near clipping distance (perspective view only)");
5443 prop,
"Lock Camera to View",
"Enable view navigation within the camera view");
5510 prop,
"Show Light Look-At",
"Gizmo to adjust the direction of the light");
5517 prop,
"Show Camera Lens",
"Gizmo to adjust camera focal length or orthographic scale");
5524 "Show Camera Focus Distance",
5525 "Gizmo to adjust camera focus distance "
5526 "(depends on limits display)");
5534 "Use a local camera in this view, rather than scene's active camera");
5543 "3D region for this space. When the space is in quad view, the camera region");
5548 "rna_SpaceView3D_region_quadviews_begin",
5549 "rna_iterator_listbase_next",
5550 "rna_iterator_listbase_end",
5551 "rna_SpaceView3D_region_quadviews_get",
5557 "Quad View Regions",
5558 "3D regions (the third one defines quad view settings, "
5559 "the fourth one is same as 'region_3d')");
5564 prop,
"Show Reconstruction",
"Display reconstruction data from active movie clip");
5588 prop,
"Show 3D Marker Names",
"Show names for reconstructed tracks objects");
5594 prop,
"Local Collections",
"Display a different set of collections in this viewport");
5643 "Mirror VR Session",
5644 "Synchronize the viewer perspective of virtual reality sessions with this 3D viewport");
5650 "rna_SpaceView3D_object_type_visibility_update");
5655 prop,
"rna_SpaceView3D_icon_from_show_object_viewport_get",
nullptr,
nullptr);
5675 prop,
"Overlay Settings",
"Settings for display of overlays in the 3D viewport");
5691 prop,
"Lock Rotation",
"Lock view rotation of side views to Top/Front/Right");
5702 prop,
"Clip Contents",
"Clip view contents based on what is visible in other side views");
5712 prop,
"Perspective Matrix",
"Current perspective matrix (``window_matrix * view_matrix``)");
5742 "rna_RegionView3D_is_orthographic_side_view_get",
5743 "rna_RegionView3D_is_orthographic_side_view_set");
5747 "Whether the current view is aligned to an axis "
5748 "(does not check whether the view is orthographic, use \"is_perspective\" for that). "
5749 "Setting this will rotate the view to the closest axis");
5756 const int default_value[] = {6, 4};
5768 prop,
"rna_RegionView3D_view_location_get",
"rna_RegionView3D_view_location_set",
nullptr);
5781 prop,
"rna_RegionView3D_view_rotation_get",
"rna_RegionView3D_view_rotation_set",
nullptr);
5810 constexpr std::array<blender::StringRefNull, BCONTEXT_TOT> filter_items = {
5811 "show_properties_tool",
5812 "show_properties_scene",
5813 "show_properties_render",
5814 "show_properties_output",
5815 "show_properties_view_layer",
5816 "show_properties_world",
5817 "show_properties_collection",
5818 "show_properties_object",
5819 "show_properties_constraints",
5820 "show_properties_modifiers",
5821 "show_properties_data",
5822 "show_properties_bone",
5823 "show_properties_bone_constraints",
5824 "show_properties_material",
5825 "show_properties_texture",
5826 "show_properties_particles",
5827 "show_properties_physics",
5828 "show_properties_effects",
5833 const int value = (1 << item.
value);
5854 "Always change tabs when clicking an icon in an outliner"},
5859 "Never change tabs when clicking an icon in an outliner"},
5864 "Change tabs only when this editor shares a border with an outliner"},
5865 {0,
nullptr, 0,
nullptr,
nullptr},
5876 prop,
nullptr,
"rna_SpaceProperties_context_set",
"rna_SpaceProperties_context_itemf");
5891 "rna_SpaceProperties_pin_id_set",
5892 "rna_SpaceProperties_pin_id_typef",
5911 prop,
"Tab Search Results",
"Whether or not each visible tab has a search result");
5917 "rna_SpaceProperties_search_filter_get",
5918 "rna_SpaceProperties_search_filter_length",
5919 "rna_SpaceProperties_search_filter_set");
5931 "Change to the corresponding tab when outliner data icons are clicked");
5945 srna,
"Overlay Settings",
"Settings for display of overlays in the UV/Image editor");
5971 prop,
"Passepartout Alpha",
"Opacity of the darkened overlay outside the render region");
5992 prop,
nullptr,
"rna_SpaceImageEditor_image_set",
nullptr,
nullptr);
5998 "rna_SpaceImageEditor_image_update");
6006 "Parameters defining which layer, pass and frame of the image is displayed");
6019 prop,
"Image Pin",
"Display current image regardless of object selection");
6036 "rna_SpaceImageEditor_zoom_percentage_get",
6037 "rna_SpaceImageEditor_zoom_percentage_set",
6048 prop,
"Display Repeated",
"Display the image repeated outside of the main view");
6060 "rna_SpaceImageEditor_display_channels_get",
6062 "rna_SpaceImageEditor_display_channels_itemf");
6068 prop,
"rna_SpaceImageEditor_show_stereo_get",
"rna_SpaceImageEditor_show_stereo_set");
6079 prop,
"rna_SpaceImageEditor_uvedit_get",
nullptr,
nullptr,
nullptr);
6099 "rna_SpaceImageEditor_cursor_location_get",
6100 "rna_SpaceImageEditor_cursor_location_set",
6117 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
6126 "Update Automatically",
6127 "Update other affected window spaces automatically to reflect changes "
6128 "during interactive operations such as transform");
6168 prop,
"Overlay Settings",
"Settings for display of overlays in the UV/Image editor");
6192 prop,
"Safe Areas",
"Show TV title safe and action safe areas in preview");
6199 prop,
"Center-Cut Safe Areas",
"Show safe areas to fit content in a different aspect ratio");
6229 srna =
RNA_def_struct(brna,
"SequencerTimelineOverlay",
nullptr);
6240 "Display waveforms for all sound strips"},
6241 {0,
"DEFAULT_WAVEFORMS", 0,
"Strip",
"Display waveforms depending on strip setting"},
6246 "Don't display waveforms for any sound strips"},
6247 {0,
nullptr, 0,
nullptr,
nullptr},
6257 {0,
"FULL_WAVEFORMS", 0,
"Full",
"Display full waveform"},
6262 "Display upper half of the absolute value waveform"},
6263 {0,
nullptr, 0,
nullptr,
nullptr},
6287 prop,
"Show Source",
"Display path to source file, or name of source datablock");
6317 prop,
"Show Color Tags",
"Display the strip color tags in the sequencer");
6365 {0,
nullptr, 0,
nullptr,
nullptr},
6375 {0,
nullptr, 0,
nullptr,
nullptr},
6382 {0,
nullptr, 0,
nullptr,
nullptr},
6388 ICON_IMAGE_RGB_ALPHA,
6390 "Display image with RGB colors and alpha transparency"},
6391 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
6392 {0,
nullptr, 0,
nullptr,
nullptr},
6409 prop,
"View Type",
"Type of the Sequencer view (sequencer, preview or both)");
6417 prop,
"Display Mode",
"View mode to use for displaying sequencer output");
6441 "If any exists, show markers in a separate row at the bottom of the editor");
6449 "Preview all channels less than or equal to this value. 0 shows every channel, and negative "
6450 "values climb that many metastrip levels if applicable, showing every channel there.");
6463 prop,
"Zoom to Fit",
"Automatically zoom preview image to make it fully fit the region");
6476 "Proxy Render Size",
6477 "Display preview using full resolution or different proxy resolutions");
6485 prop,
"Use Proxies",
"Use optimized files for faster scrubbing when available");
6491 prop,
"rna_SequenceEditor_clamp_view_get",
"rna_SequenceEditor_clamp_view_set");
6493 prop,
"Limit View to Contents",
"Limit timeline height to maximum used channel slot");
6501 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
6515 "Transform Preview",
6516 "Show a preview of the start or end frame of a strip while "
6517 "transforming its respective handle");
6551 prop,
"rna_SpaceSequenceEditor_preview_overlay_get",
nullptr,
nullptr,
nullptr);
6558 prop,
"rna_SpaceSequenceEditor_timeline_overlay_get",
nullptr,
nullptr,
nullptr);
6565 prop,
"rna_SpaceSequenceEditor_cache_overlay_get",
nullptr,
nullptr,
nullptr);
6581 "rna_SpaceSequenceEditor_zoom_percentage_get",
6582 "rna_SpaceSequenceEditor_zoom_percentage_set",
6614 prop,
"Word Wrap",
"Wrap words if there is not enough horizontal space");
6625 "is_syntax_highlight_supported",
6626 "rna_SpaceTextEditor_text_is_syntax_highlight_supported");
6628 RNA_def_boolean(func,
"is_syntax_highlight_supported",
false,
"",
""));
6630 "Returns True if the editor supports syntax highlighting "
6631 "for the current text datablock");
6677 prop,
"Visible Lines",
"Amount of lines that can be visible in current editor");
6683 prop,
"Overwrite",
"Overwrite characters when typing rather than inserting them");
6695 prop,
"Find All",
"Search in all text data-blocks, instead of only the active one");
6701 prop,
"Find Wrap",
"Search again from the start of the file when reaching the end");
6707 prop,
"Match Case",
"Search string is sensitive to uppercase and lowercase letters");
6718 prop,
"Replace Text",
"Text to replace selected text with using the replace tool");
6741 "rna_SpaceDopeSheetEditor_action_set",
6743 "rna_Action_actedit_assign_poll");
6780 "Show Pose Markers",
6781 "Show markers belonging to the active action instead of Scene markers "
6782 "(Action and Shape Key Editors only)");
6788 "Show Handles and Interpolation",
6789 "Display keyframe handle types and non-Bézier interpolation modes");
6795 "Show Curve Extremes",
6796 "Mark keyframes where the key value flow changes direction, based on "
6797 "comparison with adjacent keys");
6805 "If any exists, show markers in a separate row at the bottom of the editor");
6819 "When transforming keyframes, changes to the animation data are flushed to other views");
6861 prop,
"Simulation Nodes",
"Show the active object's simulation nodes cache and bake data");
6883 "BOUNDING_BOX_CENTER",
6884 ICON_PIVOT_BOUNDBOX,
6885 "Bounding Box Center",
6889 "INDIVIDUAL_ORIGINS",
6890 ICON_PIVOT_INDIVIDUAL,
6891 "Individual Centers",
6895 {0,
nullptr, 0,
nullptr,
nullptr},
6933 "Auto-Lock Key Axis",
6934 "Automatically locks the movement of keyframes to the dominant axis");
6940 prop,
"Only Selected Keyframes Handles",
"Only show and edit handles of selected keyframes");
6948 "If any exists, show markers in a separate row at the bottom of the editor");
6967 "When transforming keyframes, changes to the animation data are flushed to other views");
6979 prop,
"Cursor X-Value",
"Graph Editor 2D-Value cursor - X-Value component");
6985 prop,
"Cursor Y-Value",
"Graph Editor 2D-Value cursor - Y-Value component");
7005 prop,
"Has Ghost Curves",
"Graph Editor instance has some ghost curves stored");
7011 "Use Normalization",
7012 "Display curves in normalized range from -1 to 1, "
7013 "for easier editing of multiple curves with different ranges");
7021 "Auto Normalization",
7022 "Automatically recalculate curve normalization on every curve edit");
7053 "Show Local Markers",
7054 "Show action-local markers on the strips, useful when synchronizing timing across strips");
7062 "If any exists, show markers in a separate row at the bottom of the editor");
7071 "When transforming strips, changes to the animation data are flushed to other views");
7088 {0,
nullptr, 0,
nullptr,
nullptr},
7099 prop,
"rna_ConsoleLine_body_get",
"rna_ConsoleLine_body_length",
"rna_ConsoleLine_body_set");
7107 "rna_ConsoleLine_current_character_get",
7108 "rna_ConsoleLine_current_character_set",
7170 srna,
"File Select ID Filter",
"Which ID types to show/hide, when browsing a library");
7177 for (
uint i = 0; individual_ids_and_categories[
i];
i++) {
7178 for (
int j = 0; individual_ids_and_categories[
i][j].
identifier; j++) {
7182 prop,
nullptr,
"filter_id", individual_ids_and_categories[
i][j].
flag);
7184 individual_ids_and_categories[
i][j].name,
7185 individual_ids_and_categories[
i][j].description);
7199 "File Select Asset Filter",
7200 "Which asset types to show/hide, when browsing an asset library");
7209 if (is_experimental) {
7211 SNPRINTF(experimental_prop_names[
i],
"experimental_%s", identifier);
7212 identifier = experimental_prop_names[
i];
7234 "rna_FileBrowser_FileSelectEntry_name_get",
7235 "rna_FileBrowser_FileSelectEntry_name_length",
7242 "rna_FileBrowser_FileSelectEntry_relative_path_get",
7243 "rna_FileBrowser_FileSelectEntry_relative_path_length",
7247 "Path relative to the directory currently displayed in the File "
7248 "Browser (includes the file name)");
7258 "Unique integer identifying the preview of this file as an icon (zero means invalid)",
7263 prop,
"rna_FileBrowser_FileSelectEntry_preview_icon_id_get",
nullptr,
nullptr);
7268 prop,
"rna_FileBrowser_FileSelectEntry_asset_data_get",
nullptr,
nullptr,
nullptr);
7270 prop,
"Asset Data",
"Asset data, valid if the file represents an asset");
7279 {32,
"TINY", 0,
"Tiny",
""},
7280 {64,
"SMALL", 0,
"Small",
""},
7281 {96,
"NORMAL", 0,
"Medium",
""},
7282 {128,
"BIG", 0,
"Big",
""},
7283 {192,
"LARGE", 0,
"Large",
""},
7284 {0,
nullptr, 0,
nullptr,
nullptr},
7312 prop,
"Library Browser",
"Whether we may browse Blender files' content or not");
7326 prop,
nullptr,
nullptr,
"rna_FileSelectParams_recursion_level_itemf");
7339 "File Modification Date",
7340 "Show a column listing the date and time of modification for each file");
7363 prop,
"Reverse Sorting",
"Sort items descending, from highest value to lowest");
7381 prop,
"Filter Blender Backup Files",
"Show .blend1, .blend2, etc. files");
7430 prop,
"Filter Blender IDs",
"Show .blend files items (objects, materials, etc.)");
7437 prop,
"Only Assets",
"Hide .blend files items that are not data-blocks with asset metadata");
7444 prop,
"rna_FileSelectParams_filter_id_get",
nullptr,
nullptr,
nullptr);
7446 prop,
"Filter ID Types",
"Which ID types to show/hide, when browsing a library");
7452 "UNIX shell-like filename patterns matching, supports wildcards ('*') "
7453 "and list of patterns separated by ';'");
7460 prop,
"Name or Tag Filter",
"Filter by name or tag, supports '*' wildcard");
7476 prop,
"Display Size",
"Change the size of thumbnails in discrete steps");
7504 "Follow Preferences",
7505 "Use the import method set in the Preferences for this asset library, don't override it "
7506 "for this Asset Browser"},
7512 "Import the assets as copied data-block, with no link to the original asset data-block"},
7516 "Append (Reuse Data)",
7517 "Import the assets as copied data-block while avoiding multiple copies of nested, "
7518 "typically heavy data. For example the textures of a material asset, or the mesh of an "
7519 "object asset, don't have to be copied every time this asset is imported. The instances of "
7520 "the asset share the data instead"},
7521 {0,
nullptr, 0,
nullptr,
nullptr},
7524 srna =
RNA_def_struct(brna,
"FileAssetSelectParams",
"FileSelectParams");
7526 srna,
"Asset Select Parameters",
"Settings for the file selection in Asset Browser mode");
7529 "rna_FileAssetSelectParams_asset_library_get",
7530 "rna_FileAssetSelectParams_asset_library_set");
7536 "rna_FileAssetSelectParams_catalog_id_get",
7537 "rna_FileAssetSelectParams_catalog_id_length",
7538 "rna_FileAssetSelectParams_catalog_id_set");
7546 prop,
"rna_FileAssetSelectParams_filter_id_get",
nullptr,
nullptr,
nullptr);
7548 "Filter Asset Types",
7549 "Which asset types to show/hide, when browsing an asset library");
7562 "Instance Collections on Linking",
7563 "Create instances for collections when linking, rather than adding "
7564 "them directly to the scene");
7571 "Instance Collections on Appending",
7572 "Create instances for collections when appending, rather than adding "
7573 "them directly to the scene");
7588 "rna_FileBrowser_FSMenuEntry_path_get",
7589 "rna_FileBrowser_FSMenuEntry_path_length",
7590 "rna_FileBrowser_FSMenuEntry_path_set");
7597 "rna_FileBrowser_FSMenuEntry_name_get",
7598 "rna_FileBrowser_FSMenuEntry_name_length",
7599 "rna_FileBrowser_FSMenuEntry_name_set");
7606 "rna_FileBrowser_FSMenuEntry_icon_get",
7607 "rna_FileBrowser_FSMenuEntry_icon_set",
7614 prop,
"Save",
"Whether this path is saved in bookmarks, or generated from OS");
7640 "Type of the File Editor view (regular file browsing or asset browsing)");
7646 prop,
"rna_FileBrowser_params_get",
nullptr,
"rna_FileBrowser_params_typef",
nullptr);
7648 prop,
"Filebrowser Parameter",
"Parameters and Settings for the Filebrowser");
7663 "FileBrowserFSMenuEntry",
7665 "System's folders (usually root, available hard drives, etc)");
7667 "rna_FileBrowser_FSMenuSystem_data_begin",
7668 "rna_FileBrowser_FSMenu_next",
7669 "rna_FileBrowser_FSMenu_end",
7670 "rna_FileBrowser_FSMenu_get",
7671 "rna_FileBrowser_FSMenuSystem_data_length",
7678 "system_folders_active",
7682 "Active System Folder",
7683 "Index of active system folder (-1 if none)",
7688 "rna_FileBrowser_FSMenuSystem_active_get",
7689 "rna_FileBrowser_FSMenuSystem_active_set",
7690 "rna_FileBrowser_FSMenuSystem_active_range");
7697 "FileBrowserFSMenuEntry",
7699 "System's bookmarks");
7701 "rna_FileBrowser_FSMenuSystemBookmark_data_begin",
7702 "rna_FileBrowser_FSMenu_next",
7703 "rna_FileBrowser_FSMenu_end",
7704 "rna_FileBrowser_FSMenu_get",
7705 "rna_FileBrowser_FSMenuSystemBookmark_data_length",
7712 "system_bookmarks_active",
7716 "Active System Bookmark",
7717 "Index of active system bookmark (-1 if none)",
7722 "rna_FileBrowser_FSMenuSystemBookmark_active_get",
7723 "rna_FileBrowser_FSMenuSystemBookmark_active_set",
7724 "rna_FileBrowser_FSMenuSystemBookmark_active_range");
7730 srna,
"bookmarks",
"FileBrowserFSMenuEntry",
"Bookmarks",
"User's bookmarks");
7732 "rna_FileBrowser_FSMenuBookmark_data_begin",
7733 "rna_FileBrowser_FSMenu_next",
7734 "rna_FileBrowser_FSMenu_end",
7735 "rna_FileBrowser_FSMenu_get",
7736 "rna_FileBrowser_FSMenuBookmark_data_length",
7748 "Index of active bookmark (-1 if none)",
7753 "rna_FileBrowser_FSMenuBookmark_active_get",
7754 "rna_FileBrowser_FSMenuBookmark_active_set",
7755 "rna_FileBrowser_FSMenuBookmark_active_range");
7761 srna,
"recent_folders",
"FileBrowserFSMenuEntry",
"Recent Folders",
"");
7763 "rna_FileBrowser_FSMenuRecent_data_begin",
7764 "rna_FileBrowser_FSMenu_next",
7765 "rna_FileBrowser_FSMenu_end",
7766 "rna_FileBrowser_FSMenu_get",
7767 "rna_FileBrowser_FSMenuRecent_data_length",
7774 "recent_folders_active",
7778 "Active Recent Folder",
7779 "Index of active recent folder (-1 if none)",
7784 "rna_FileBrowser_FSMenuRecent_active_get",
7785 "rna_FileBrowser_FSMenuRecent_active_set",
7786 "rna_FileBrowser_FSMenuRecent_active_range");
7833 {0,
"NAME", 0,
"Name",
"Filter based on the operator name"},
7834 {1,
"KEY", 0,
"Key-Binding",
"Filter based on key bindings"},
7835 {0,
nullptr, 0,
nullptr,
nullptr},
7885 prop,
"rna_SpaceNodeEditor_path_get",
"rna_SpaceNodeEditor_path_length",
nullptr);
7897 parm =
RNA_def_pointer(func,
"node_tree",
"NodeTree",
"Node Tree",
"");
7900 func =
RNA_def_function(srna,
"append",
"rna_SpaceNodeEditor_path_append");
7904 func,
"node_tree",
"NodeTree",
"Node Tree",
"Node tree to append to the node editor path");
7906 parm =
RNA_def_pointer(func,
"node",
"Node",
"Node",
"Group node linking to this node tree");
7925 "Use the material preview scene for the node previews"},
7926 {0,
nullptr, 0,
nullptr,
nullptr},
7934 srna,
"Overlay Settings",
"Settings for display of overlays in the Node Editor");
7946 prop,
"Show Wire Colors",
"Color node links based on their connected sockets");
7954 "Show Reroute Auto Labels",
7955 "Label reroute nodes based on the label of connected reroute nodes");
7974 prop,
"Show Named Attributes",
"Show when nodes are using named attributes");
7981 prop,
"Show Node Previews",
"Display each node's preview if node is toggled");
7998 {
SNODE_TEX_WORLD,
"WORLD", ICON_WORLD_DATA,
"World",
"Edit texture nodes from World"},
7999 {
SNODE_TEX_BRUSH,
"BRUSH", ICON_BRUSH_DATA,
"Brush",
"Edit texture nodes from Brush"},
8000# ifdef WITH_FREESTYLE
8005 "Edit texture nodes from Line Style"},
8007 {0,
nullptr, 0,
nullptr,
nullptr},
8011 {
SNODE_SHADER_OBJECT,
"OBJECT", ICON_OBJECT_DATA,
"Object",
"Edit shader nodes from Object"},
8012 {
SNODE_SHADER_WORLD,
"WORLD", ICON_WORLD_DATA,
"World",
"Edit shader nodes from World"},
8013# ifdef WITH_FREESTYLE
8018 "Edit shader nodes from Line Style"},
8020 {0,
nullptr, 0,
nullptr,
nullptr},
8028 "Edit node group from active object's active modifier"},
8033 "Edit any geometry node group for use as an operator"},
8034 {0,
nullptr, 0,
nullptr,
nullptr},
8040 ICON_IMAGE_RGB_ALPHA,
8042 "Display image with RGB colors and alpha transparency"},
8043 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
8044 {
SNODE_SHOW_ALPHA,
"ALPHA", ICON_IMAGE_ALPHA,
"Alpha",
"Display alpha transparency channel"},
8048 {0,
nullptr, 0,
nullptr,
nullptr},
8054 {0,
nullptr, 0,
nullptr,
nullptr},
8066 "rna_SpaceNodeEditor_tree_type_get",
8067 "rna_SpaceNodeEditor_tree_type_set",
8068 "rna_SpaceNodeEditor_tree_type_itemf");
8103 prop,
"ID From",
"Data-block from which the edited data-block is linked");
8109 prop,
"Node Tree Path",
"Path from the data-block to the currently edited node tree");
8115 "rna_SpaceNodeEditor_node_tree_set",
8117 "rna_SpaceNodeEditor_node_tree_poll");
8137 prop,
"Backdrop",
"Use active Viewer Node output as backdrop for compositing nodes");
8143 prop,
nullptr,
nullptr,
nullptr,
"rna_SpaceNodeEditor_geometry_nodes_tool_tree_poll");
8176 "rna_SpaceNodeEditor_cursor_location_get",
8177 "rna_SpaceNodeEditor_cursor_location_set",
8186 prop,
"Auto-offset Direction",
"Direction to offset nodes on insertion");
8208 prop,
"Overlay Settings",
"Settings for display of overlays in the Node Editor");
8214 "Supports Previews",
8215 "Whether the node editor's type supports displaying node previews");
8227 {
SC_VIEW_CLIP,
"CLIP", ICON_SEQUENCE,
"Clip",
"Show editing clip preview"},
8228 {
SC_VIEW_GRAPH,
"GRAPH", ICON_GRAPH,
"Graph",
"Show graph view for active element"},
8233 "Dope Sheet view for tracking data"},
8234 {0,
nullptr, 0,
nullptr,
nullptr},
8242 "Show annotation data-block which belongs to movie clip"},
8247 "Show annotation data-block which belongs to active track"},
8248 {0,
nullptr, 0,
nullptr,
nullptr},
8253 "BOUNDING_BOX_CENTER",
8254 ICON_PIVOT_BOUNDBOX,
8255 "Bounding Box Center",
8256 "Pivot around bounding box center of selected object(s)"},
8257 {
V3D_AROUND_CURSOR,
"CURSOR", ICON_PIVOT_CURSOR,
"2D Cursor",
"Pivot around the 2D cursor"},
8259 "INDIVIDUAL_ORIGINS",
8260 ICON_PIVOT_INDIVIDUAL,
8261 "Individual Origins",
8262 "Pivot around each object's own origin"},
8267 "Pivot around the median point of selected objects"},
8268 {0,
nullptr, 0,
nullptr,
nullptr},
8292 prop,
"Movie Clip User",
"Parameters defining which frame of the movie clip is displayed");
8329 prop,
"Lock to Selection",
"Lock viewport to selected markers during playback");
8337 prop,
"Lock to Time Cursor",
"Lock curves view to time cursor during playback and tracking");
8405 prop,
"Show Stable",
"Show stable footage in editor (if stabilization is enabled)");
8432 "Show curve for per-frame average error (camera motion should be solved first)");
8440 "Show Tracks Motion",
8441 "Display the speed curves (in \"x\" direction red, in \"y\" direction green) "
8442 "for the selected tracks");
8449 prop,
"Show Tracks Error",
"Display the reprojection error curve for selected tracks");
8456 prop,
"Only Show Selected",
"Only include channels relating to selected objects and data");
8464 prop,
"Display Hidden",
"Include channels from objects/bone that are not visible");
8536 "rna_SpaceClipEditor_zoom_percentage_get",
8537 "rna_SpaceClipEditor_zoom_percentage_set",
8553 srna,
"Spreadsheet Column ID",
"Data used to identify a spreadsheet column");
8570 {0,
nullptr, 0,
nullptr,
nullptr},
8576 srna,
"Spreadsheet Column",
"Persistent data associated with a spreadsheet column");
8582 prop,
"Data Type",
"The data type of the corresponding column visible in the spreadsheet");
8591 prop,
"ID",
"Data used to identify the corresponding data from the data source");
8601 srna,
"Spreadsheet Table ID",
"Data used to identify a spreadsheet table");
8616 srna =
RNA_def_struct(brna,
"SpreadsheetTableIDGeometry",
"SpreadsheetTableID");
8627 prop,
"Geometry Component",
"Part of the geometry to display data from");
8661 "rna_iterator_SpreadsheetTable_columns_begin",
8662 "rna_iterator_array_next",
8663 "rna_iterator_array_end",
8664 "rna_iterator_array_dereference_get",
8665 "rna_iterator_SpreadsheetTable_columns_length",
8680 "Spreadsheet Tables",
8681 "Active table and persisted state of previously displayed tables");
8686 prop,
"rna_SpreadsheetTables_active_get",
nullptr,
nullptr,
nullptr);
8699 {0,
nullptr, 0,
nullptr,
nullptr},
8785 "FOREACH_GEOMETRY_ELEMENT_ZONE",
8787 "For Each Geometry Element",
8790 {0,
nullptr, 0,
nullptr,
nullptr},
8809 prop,
"UI Name",
"Name that can be displayed in the UI for this element");
8818 srna =
RNA_def_struct(brna,
"IDViewerPathElem",
"ViewerPathElem");
8829 srna =
RNA_def_struct(brna,
"ModifierViewerPathElem",
"ViewerPathElem");
8840 srna =
RNA_def_struct(brna,
"GroupNodeViewerPathElem",
"ViewerPathElem");
8851 srna =
RNA_def_struct(brna,
"SimulationZoneViewerPathElem",
"ViewerPathElem");
8862 srna =
RNA_def_struct(brna,
"RepeatZoneViewerPathElem",
"ViewerPathElem");
8873 srna =
RNA_def_struct(brna,
"ForeachGeometryElementZoneViewerPathElem",
"ViewerPathElem");
8884 srna =
RNA_def_struct(brna,
"EvaluateClosureNodeViewerPathElem",
"ViewerPathElem");
8901 srna =
RNA_def_struct(brna,
"ViewerNodeViewerPathElem",
"ViewerPathElem");
8954 "Show Internal Attributes",
8955 "Display attributes with names starting with a period that are meant for internal use");
8966 prop,
"Viewer Path",
"Path to the data that is displayed in the spreadsheet");
8971 prop,
"Show Only Selected",
"Only include rows that correspond to selected elements");
8979 prop,
"Geometry Component",
"Part of the geometry to display data from");
8982 "rna_SpaceSpreadsheet_geometry_component_type_update");
8988 prop,
nullptr,
nullptr,
"rna_SpaceSpreadsheet_attribute_domain_itemf");
9002 "rna_iterator_SpaceSpreadsheet_tables_begin",
9003 "rna_iterator_array_next",
9004 "rna_iterator_array_end",
9005 "rna_iterator_array_dereference_get",
9006 "rna_iterator_SpaceSpreadsheet_tables_length",
9011 prop,
"Tables",
"Persistent data for the tables shown in this spreadsheet editor");
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)
void * BLI_findlink(const ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
#define LISTBASE_FOREACH(type, var, list)
BLI_INLINE bool BLI_listbase_is_empty(const ListBase *lb)
#define LISTBASE_FOREACH_INDEX(type, var, list, index_var)
int BLI_findstringindex(const 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 SNPRINTF(dst, format,...)
char * STRNCPY(char(&dst)[N], const char *src)
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)
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_RENDER_LAYER
#define BLT_I18NCONTEXT_EDITOR_VIEW3D
#define BLT_I18NCONTEXT_AMOUNT
#define BLT_I18NCONTEXT_ID_TEXT
#define CTX_N_(context, msgid)
#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)
@ 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
@ FILE_SORT_ASSET_CATALOG
@ SI_OVERLAY_SHOW_OVERLAYS
@ SI_OVERLAY_DRAW_TEXT_INFO
@ SI_OVERLAY_SHOW_GRID_BACKGROUND
@ SI_OVERLAY_DRAW_RENDER_REGION
@ SEQ_RENDER_SIZE_PROXY_25
@ SEQ_RENDER_SIZE_PROXY_75
@ SEQ_RENDER_SIZE_PROXY_50
@ SEQ_RENDER_SIZE_PROXY_100
@ FILE_TYPE_BLENDER_BACKUP
@ SPREADSHEET_TABLE_ID_TYPE_GEOMETRY
@ 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
@ 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
@ SCLIP_GIZMO_HIDE_NAVIGATE
@ SNODE_INSERTOFS_DIR_RIGHT
@ SNODE_INSERTOFS_DIR_LEFT
@ 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_FINAL_OUT
@ SEQ_DRAW_IMG_VECTORSCOPE
@ SEQ_GIZMO_HIDE_NAVIGATE
@ SNODE_GIZMO_HIDE_ACTIVE_NODE
@ 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
@ FILE_ASSET_IMPORT_INSTANCE_COLLECTIONS_ON_LINK
@ FILE_ASSET_IMPORT_INSTANCE_COLLECTIONS_ON_APPEND
@ SPREADSHEET_FLAG_SHOW_INTERNAL_ATTRIBUTES
@ 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_GIZMO_SHOW_CAMERA_DOF_DIST
@ V3D_GIZMO_SHOW_CAMERA_LENS
@ V3D_GP_SHOW_MATERIAL_NAME
@ V3D_GP_SHOW_MULTIEDIT_LINES
@ V3D_GP_ONION_SKIN_ACTIVE_OBJECT
@ V3D_GP_SHOW_STROKE_DIRECTION
@ V3D_GP_FADE_NOACTIVE_GPENCIL
@ V3D_GP_FADE_NOACTIVE_LAYERS
@ V3D_GIZMO_HIDE_MODIFIER
@ V3D_GIZMO_HIDE_NAVIGATE
@ V3D_SHADING_CAVITY_BOTH
@ V3D_SHADING_CAVITY_SSAO
@ V3D_SHADING_CAVITY_CURVATURE
@ V3D_SHOW_CAMERA_PASSEPARTOUT
@ V3D_SHOW_RECONSTRUCTION
@ 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_OVERLAY_WPAINT_CONTOURS
@ V3D_DEBUG_FREEZE_CULLING
@ V3D_GIZMO_SHOW_LIGHT_LOOK_AT
@ V3D_GIZMO_SHOW_LIGHT_SIZE
@ V3D_GIZMO_SHOW_EMPTY_FORCE_FIELD
@ V3D_GIZMO_SHOW_EMPTY_IMAGE
@ V3D_GIZMO_SHOW_OBJECT_ROTATE
@ V3D_GIZMO_SHOW_OBJECT_SCALE
@ V3D_GIZMO_SHOW_OBJECT_TRANSLATE
@ 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_AROUND_CENTER_BOUNDS
@ V3D_AROUND_CENTER_MEDIAN
@ V3D_AROUND_LOCAL_ORIGINS
@ 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
@ 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_EVALUATE_CLOSURE
@ 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_start(ARegion *region, SpaceNode *snode, bNodeTree *ntree, ID *id, ID *from)
void ED_node_cursor_location_set(SpaceNode *snode, const float value[2])
void ED_node_tree_pop(ARegion *region, SpaceNode *snode)
void ED_node_tree_path_get(SpaceNode *snode, char *value)
void ED_node_tree_push(ARegion *region, SpaceNode *snode, bNodeTree *ntree, bNode *gnode)
int ED_node_tree_path_length(SpaceNode *snode)
void ED_node_cursor_location_get(const SpaceNode *snode, float value[2])
bool ED_node_supports_preview(SpaceNode *snode)
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)
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)
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)
BMesh const char void * data
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
constexpr const char * c_str() const
IndexRange index_range() const
constexpr T clamp(T, U, U) RET
float length(VecOp< float, D >) RET
#define FILTER_ID_GD_LEGACY
#define FILTER_ID_CU_LEGACY
#define ID_IS_OVERRIDE_LIBRARY(_id)
RenderEngineType * RE_engines_find(const char *idname)
void * MEM_malloc_arrayN(size_t len, size_t size, const char *str)
void MEM_freeN(void *vmemh)
ccl_device_inline float2 mask(const MaskType mask, const float2 a)
int library_reference_to_enum_value(const AssetLibraryReference *library)
AssetLibraryReference library_reference_from_enum_value(int value)
void tree_update(const bContext *C)
ID * get_current_id(const SpaceSpreadsheet *sspreadsheet)
SpreadsheetTable * get_active_table(SpaceSpreadsheet &sspreadsheet)
Editing * editing_get(const Scene *scene)
int rendersize_to_proxysize(int render_size)
bool proxy_rebuild_context(Main *bmain, Depsgraph *depsgraph, Scene *scene, Strip *strip, blender::Set< std::string > *processed_paths, ListBase *queue, bool build_only_on_bad_performance)
constexpr int MAX_CHANNELS
ProxyJob * ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job)
void cache_cleanup(Scene *scene)
ListBase * active_seqbase_get(const Editing *ed)
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[]
bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna)
void rna_iterator_array_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, void *data, int itemsize, int length, bool free_ptr, IteratorSkipFunc skip)
const PointerRNA PointerRNA_NULL
void rna_iterator_listbase_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, ListBase *lb, IteratorSkipFunc skip)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
void * rna_iterator_listbase_get(CollectionPropertyIterator *iter)
PointerRNA RNA_pointer_create_with_parent(const PointerRNA &parent, StructRNA *type, void *data)
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_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
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_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_dummy_DEFAULT_items[]
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_spreadsheet_table(BlenderRNA *brna)
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 spreadsheet_table_id_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_spreadsheet_table_id(BlenderRNA *brna)
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 void rna_def_spreadsheet_table_id_geometry(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_properties_filter(StructRNA *srna)
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[]
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 spreadsheet_object_eval_state_items[]
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[]
static const EnumPropertyItem fileselectparams_display_type_items[]
#define V3D_S3D_CAMERA_RIGHT
static void rna_def_evaluate_closure_node_viewer_path_elem(BlenderRNA *brna)
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_spreadsheet_tables(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)
union CollectionPropertyIterator::@251313231040372062304153161337117373343066046335 internal
ListBaseIterator listbase
AssetRepresentationHandle * asset
void(* view_draw)(struct RenderEngine *engine, const struct bContext *context, struct Depsgraph *depsgraph)
SpaceAction_Runtime runtime
struct MovieClipScopes scopes
FileSelectParams * params
SpaceGraph_Runtime runtime
SpreadsheetTable ** tables
char name[BKE_ST_MAXNAME]
SpreadsheetColumn ** columns
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.
bool(* poll)(const bContext *C, bNodeTreeType *ntreetype)
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)
bScreen * WM_window_get_active_screen(const wmWindow *win)
bool WM_xr_session_exists(const wmXrData *xr)