56 "Mesh component containing point, corner, edge and face data"},
61 "Point cloud component containing only point data"},
66 "Curve component containing spline and control point data"},
71 "Instances of objects or collections"},
76 "Grease Pencil component containing layers and curves data"},
81 "Volume component containing volume grids"},
82 {0,
nullptr, 0,
nullptr,
nullptr},
101 "Manipulate objects in a 3D environment"},
106 "View and edit images and UV Maps"},
111 "Editor for node-based shading and compositing tools"},
116 "Non-linear editor for arranging and mixing scenes, video, audio, and effects"},
117 {
SPACE_CLIP,
"CLIP_EDITOR", ICON_TRACKER,
"Movie Clip Editor",
"Motion tracking tools"},
126 "Timeline and playback controls (NOTE: Switch to 'Timeline' mode)"},
128 {
SPACE_ACTION,
"DOPESHEET_EDITOR", ICON_ACTION,
"Dope Sheet",
"Adjust timing of keyframes"},
133 "Edit drivers and keyframe interpolation"},
134 {
SPACE_NLA,
"NLA_EDITOR", ICON_NLA,
"Nonlinear Animation",
"Combine and layer Actions"},
142 "Edit scripts and in-file documentation"},
147 "Interactive programmatic console for "
148 "advanced editing and script development"},
149 {
SPACE_INFO,
"INFO", ICON_INFO,
"Info",
"Log of operations, warnings and error messages"},
155 "Global bar at the top of the screen for "
156 "global per-window settings"},
161 "Global bar at the bottom of the "
162 "screen for general status information"},
170 "Overview of scene graph and all available data-blocks"},
175 "Edit properties of active object and related data-blocks"},
176 {
SPACE_FILE,
"FILE_BROWSER", ICON_FILEBROWSER,
"File Browser",
"Browse for files and assets"},
181 "Explore geometry data in a table"},
186 "Edit persistent configuration settings"},
191 "Manage the current Blender project"},
192 {0,
nullptr, 0,
nullptr,
nullptr},
200 "Edit animation/keyframes displayed as 2D curves"},
205 "Define and edit drivers that link properties to custom functions or other data"},
206 {0,
nullptr, 0,
nullptr,
nullptr},
215 "Sequencer & Preview",
217 {0,
nullptr, 0,
nullptr,
nullptr},
225 "Built-in file manager for opening, saving, and linking data"},
230 "Manage assets in the current file and access linked asset libraries"},
231 {0,
nullptr, 0,
nullptr,
nullptr},
234#define SACT_ITEM_DOPESHEET \
235 {SACTCONT_DOPESHEET, "DOPESHEET", ICON_ACTION, "Dope Sheet", "Edit all keyframes in scene"}
236#define SACT_ITEM_ACTION \
241 "Edit keyframes in active object's Object-level action"}
242#define SACT_ITEM_SHAPEKEY \
243 {SACTCONT_SHAPEKEY, \
245 ICON_SHAPEKEY_DATA, \
246 "Shape Key Editor", \
247 "Edit keyframes in active object's Shape Keys action"}
248#define SACT_ITEM_GPENCIL \
251 ICON_OUTLINER_OB_GREASEPENCIL, \
253 "Edit timings for all Grease Pencil sketches in file"}
254#define SACT_ITEM_MASK \
255 {SACTCONT_MASK, "MASK", ICON_MOD_MASK, "Mask", "Edit timings for Mask Editor splines"}
256#define SACT_ITEM_CACHEFILE \
257 {SACTCONT_CACHEFILE, \
261 "Edit timings for Cache File data-blocks"}
262#define SACT_ITEM_TIMELINE \
263 {SACTCONT_TIMELINE, \
267 "Simple timeline view with playback controls in the header, without channel list, " \
268 "side-panel, or footer"}
281 {0,
nullptr, 0,
nullptr,
nullptr},
290 {0,
nullptr, 0,
nullptr,
nullptr},
297 {0,
nullptr, 0,
nullptr,
nullptr},
300#undef SACT_ITEM_DOPESHEET
301#undef SACT_ITEM_ACTION
302#undef SACT_ITEM_SHAPEKEY
303#undef SACT_ITEM_GPENCIL
305#undef SACT_ITEM_CACHEFILE
306#undef SACT_ITEM_TIMELINE
308#define SI_ITEM_VIEW(identifier, name, icon) \
309 {SI_MODE_VIEW, identifier, icon, name, "Inspect images or render results"}
310#define SI_ITEM_UV {SI_MODE_UV, "UV", ICON_UV, "UV Editor", "View and edit UVs"}
311#define SI_ITEM_PAINT {SI_MODE_PAINT, "PAINT", ICON_TPAINT_HLT, "Paint", "Paint images in 2D"}
312#define SI_ITEM_MASK {SI_MODE_MASK, "MASK", ICON_MOD_MASK, "Mask", "View and edit masks"}
319 {0,
nullptr, 0,
nullptr,
nullptr},
326 {0,
nullptr, 0,
nullptr,
nullptr},
330 SI_ITEM_VIEW(
"IMAGE_EDITOR",
"Image Editor", ICON_IMAGE),
332 {0,
nullptr, 0,
nullptr,
nullptr},
340#define V3D_S3D_CAMERA_LEFT {STEREO_LEFT_ID, "LEFT", ICON_RESTRICT_RENDER_OFF, "Left", ""},
341#define V3D_S3D_CAMERA_RIGHT {STEREO_RIGHT_ID, "RIGHT", ICON_RESTRICT_RENDER_OFF, "Right", ""},
342#define V3D_S3D_CAMERA_S3D {STEREO_3D_ID, "S3D", ICON_CAMERA_STEREO, "3D", ""},
344# define V3D_S3D_CAMERA_VIEWS {STEREO_MONO_ID, "MONO", ICON_RESTRICT_RENDER_OFF, "Views", ""},
352static const EnumPropertyItem multiview_camera_items[] = {
357#undef V3D_S3D_CAMERA_LEFT
358#undef V3D_S3D_CAMERA_RIGHT
359#undef V3D_S3D_CAMERA_S3D
360#undef V3D_S3D_CAMERA_VIEWS
367 {
FILE_SORT_ALPHA,
"FILE_SORT_ALPHA", ICON_NONE,
"Name",
"Sort the file list alphabetically"},
369 "FILE_SORT_EXTENSION",
372 "Sort the file list by extension/type"},
377 "Sort files by modification time"},
378 {
FILE_SORT_SIZE,
"FILE_SORT_SIZE", ICON_NONE,
"Size",
"Sort files by size"},
383 "Sort the asset list so that assets in the same catalog are kept together. Within a single "
384 "catalog, assets are ordered by name. The catalogs are in order of the flattened catalog "
386 {0,
nullptr, 0,
nullptr,
nullptr},
395 "Show assets from the active catalog only"},
400 "Show assets not assigned to any catalog"},
401 {0,
nullptr, 0,
nullptr,
nullptr},
408 "Follow Asset or Preferences",
409 "Use the import method set in the Preferences for this asset library, don't override it "
410 "for this Asset Browser"},
415 "Import the assets as linked data-block"},
420 "Import the asset as copied data-block, with no link to the original asset data-block"},
424 "Append (Reuse Data)",
425 "Import the asset as copied data-block while avoiding multiple copies of nested, "
426 "typically heavy data. For example the textures of a material asset, or the mesh of an "
427 "object asset, don't have to be copied every time this asset is imported. The instances of "
428 "the asset share the data instead"},
433 "Import the asset as linked data-block, and pack it in the current file (ensures that it "
434 "remains unchanged in case the library data is modified, is not available anymore, etc.)"},
435 {0,
nullptr, 0,
nullptr,
nullptr},
442 "Online and Offline",
443 "Show assets that are both hosted online (need downloading) and available on disk already"},
448 "Show only assets that need downloading (requires internet access)"},
453 "Show only assets that are available on disk already (no internet access needed)"},
454 {0,
nullptr, 0,
nullptr,
nullptr},
461 {0,
nullptr, 0,
nullptr,
nullptr},
468 ICON_IMAGE_RGB_ALPHA,
470 "Display image with RGB colors and alpha transparency"},
471 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
472 {
SI_SHOW_ALPHA,
"ALPHA", ICON_IMAGE_ALPHA,
"Alpha",
"Display alpha transparency channel"},
477 "Display Z-buffer associated with image (mapped from camera clip start to end)"},
478 {
SI_SHOW_R,
"RED", ICON_RGB_RED,
"Red",
""},
479 {
SI_SHOW_G,
"GREEN", ICON_RGB_GREEN,
"Green",
""},
480 {
SI_SHOW_B,
"BLUE", ICON_RGB_BLUE,
"Blue",
""},
481 {0,
nullptr, 0,
nullptr,
nullptr},
489 "Display only edges of geometry without surface shading"},
494 "Display objects with flat lighting and basic surface shading"},
497 ICON_SHADING_TEXTURE,
499 "Preview materials using predefined environment lights"},
502 ICON_SHADING_RENDERED,
504 "Preview the final scene using the active render engine"},
505 {0,
nullptr, 0,
nullptr,
nullptr},
510 {
V3D_LIGHTING_MATCAP,
"MATCAP", 0,
"MatCap",
"Display using matcap material and lighting"},
512 {0,
nullptr, 0,
nullptr,
nullptr},
524 "Show the texture from the active image texture node using the active UV map coordinates"},
526 {0,
nullptr, 0,
nullptr,
nullptr},
534 "Show scene wireframes with the theme's wire color"},
537 {0,
nullptr, 0,
nullptr,
nullptr},
541 {0,
"DEFAULT", 0,
"Default",
""},
542 {0,
nullptr, 0,
nullptr,
nullptr},
576 "Denoising Diffuse Albedo",
581 "Denoising Specular Albedo",
587 {0,
nullptr, 0,
nullptr,
nullptr},
591 {
SC_MODE_TRACKING,
"TRACKING", ICON_ANIM_DATA,
"Tracking",
"Show tracking and solving tools"},
592 {
SC_MODE_MASKEDIT,
"MASK", ICON_MOD_MASK,
"Mask",
"Show mask editing tools"},
593 {0,
nullptr, 0,
nullptr,
nullptr},
601 {
BCONTEXT_TOOL,
"TOOL", ICON_TOOL_SETTINGS,
"Tool",
"Active Tool and Workspace settings"},
602 {
BCONTEXT_RENDER,
"RENDER", ICON_SCENE,
"Render",
"Render Properties"},
603 {
BCONTEXT_OUTPUT,
"OUTPUT", ICON_OUTPUT,
"Output",
"Output Properties"},
604 {
BCONTEXT_SCENE,
"SCENE", ICON_SCENE_DATA,
"Scene",
"Scene Properties"},
605 {
BCONTEXT_VIEW_LAYER,
"VIEW_LAYER", ICON_RENDER_RESULT,
"View Layer",
"View Layer Properties"},
608 ICON_NODE_COMPOSITING,
609 "Compositor & Effects",
610 "Procedural scene post-processing"},
611 {
BCONTEXT_WORLD,
"WORLD", ICON_WORLD,
"World",
"World Properties"},
613 {
BCONTEXT_OBJECT,
"OBJECT", ICON_OBJECT_DATA,
"Object",
"Object Properties"},
618 "Object Constraint Properties"},
619 {
BCONTEXT_MODIFIER,
"MODIFIER", ICON_MODIFIER,
"Modifiers",
"Modifier Properties"},
620 {
BCONTEXT_DATA,
"DATA", ICON_NONE,
"Data",
"Object Data Properties"},
621 {
BCONTEXT_BONE,
"BONE", ICON_BONE_DATA,
"Bone",
"Bone Properties"},
624 ICON_CONSTRAINT_BONE,
626 "Bone Constraint Properties"},
627 {
BCONTEXT_MATERIAL,
"MATERIAL", ICON_MATERIAL,
"Material",
"Material Properties"},
628 {
BCONTEXT_TEXTURE,
"TEXTURE", ICON_TEXTURE,
"Texture",
"Texture Properties"},
629 {
BCONTEXT_PARTICLE,
"PARTICLES", ICON_PARTICLES,
"Particles",
"Particle Properties"},
630 {
BCONTEXT_PHYSICS,
"PHYSICS", ICON_PHYSICS,
"Physics",
"Physics Properties"},
631 {
BCONTEXT_SHADERFX,
"SHADERFX", ICON_SHADERFX,
"Effects",
"Visual Effects Properties"},
632 {
BCONTEXT_STRIP,
"STRIP", ICON_SEQ_STRIP,
"Strip",
"Strip Properties"},
635 ICON_SEQ_STRIP_MODIFIER,
637 "Strip Modifier Properties"},
638 {0,
nullptr, 0,
nullptr,
nullptr},
642 {0,
"NONE", 0,
"None",
"Only list current directory's content, with no recursion"},
643 {1,
"BLEND", 0,
"Blend File",
"List .blend files' content"},
644 {2,
"ALL_1", 0,
"One Level",
"List all sub-directories' content, one level of recursion"},
645 {3,
"ALL_2", 0,
"Two Levels",
"List all sub-directories' content, two levels of recursion"},
650 "List all sub-directories' content, three levels of recursion"},
651 {0,
nullptr, 0,
nullptr,
nullptr},
659 "Display files as a vertical list"},
664 "Display files as a horizontal list"},
665 {
FILE_IMGDISPLAY,
"THUMBNAIL", ICON_IMGDISPLAY,
"Thumbnails",
"Display files as thumbnails"},
666 {0,
nullptr, 0,
nullptr,
nullptr},
673 {0,
nullptr, 0,
nullptr,
nullptr},
681 "Use data from fully or partially evaluated object"},
686 "Use data from original object without any modifiers applied"},
691 "Use intermediate data from viewer node"},
692 {0,
nullptr, 0,
nullptr,
nullptr},
700 "Table contains geometry data"},
701 {0,
nullptr, 0,
nullptr,
nullptr},
710# include <fmt/format.h>
795 return RNA_SpaceView3D;
797 return RNA_SpaceGraphEditor;
799 return RNA_SpaceOutliner;
801 return RNA_SpaceProperties;
803 return RNA_SpaceFileBrowser;
805 return RNA_SpaceImageEditor;
807 return RNA_SpaceInfo;
809 return RNA_SpaceSequenceEditor;
811 return RNA_SpaceTextEditor;
813 return RNA_SpaceDopeSheetEditor;
817 return RNA_SpaceNodeEditor;
819 return RNA_SpaceConsole;
821 return RNA_SpacePreferences;
823 return RNA_SpaceClipEditor;
825 return RNA_SpaceSpreadsheet;
827 return RNA_SpaceProject;
845 switch (
GS(ptr->owner_id->name)) {
849 for (
ScrArea &area : win.global_areas.areabase) {
858 const bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
868static void area_region_from_regiondata(
bScreen *screen,
876 for (
ScrArea &area : screen->areabase) {
877 for (
ARegion ®ion : area.regionbase) {
878 if (region.regiondata == regiondata) {
889 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
890 void *regiondata = (ptr->data);
892 area_region_from_regiondata(screen, regiondata, r_area, r_region);
900static void rna_space_active_tool_reset(
const PointerRNA *ptr)
902 if (
ScrArea *area = rna_area_from_space(ptr)) {
903 area->runtime.tool =
nullptr;
904 area->runtime.is_tool_set =
false;
915static bool rna_Space_bool_from_region_flag_get_by_type(
PointerRNA *ptr,
916 const int region_type,
919 ScrArea *area = rna_area_from_space(ptr);
922 return (region->flag & region_flag);
927static void rna_Space_bool_from_region_flag_set_by_type(
PointerRNA *ptr,
928 const int region_type,
932 ScrArea *area = rna_area_from_space(ptr);
940static void rna_Space_bool_from_region_flag_update_by_type(
bContext *
C,
942 const int region_type,
945 ScrArea *area = rna_area_from_space(ptr);
978static bool rna_Space_show_region_header_get(
PointerRNA *ptr)
982static void rna_Space_show_region_header_set(
PointerRNA *ptr,
bool value)
987 bool value_for_tool_header = value;
989 ScrArea *area = rna_area_from_space(ptr);
991 if (region_tool_header !=
nullptr) {
995 rna_Space_bool_from_region_flag_set_by_type(
1005static bool rna_Space_show_region_footer_get(
PointerRNA *ptr)
1009static void rna_Space_show_region_footer_set(
PointerRNA *ptr,
bool value)
1022static bool rna_Space_show_region_tool_header_get(
PointerRNA *ptr)
1024 return !rna_Space_bool_from_region_flag_get_by_type(
1027static void rna_Space_show_region_tool_header_set(
PointerRNA *ptr,
bool value)
1029 rna_Space_bool_from_region_flag_set_by_type(
1039static bool rna_Space_show_region_toolbar_get(
PointerRNA *ptr)
1043static void rna_Space_show_region_toolbar_set(
PointerRNA *ptr,
bool value)
1052static bool rna_Space_show_region_tool_props_get(
PointerRNA *ptr)
1056static void rna_Space_show_region_tool_props_set(
PointerRNA *ptr,
bool value)
1066static bool rna_Space_show_region_channels_get(
PointerRNA *ptr)
1070static void rna_Space_show_region_channels_set(
PointerRNA *ptr,
bool value)
1080static bool rna_Space_show_region_ui_get(
PointerRNA *ptr)
1084static void rna_Space_show_region_ui_set(
PointerRNA *ptr,
bool value)
1087 ScrArea *area = rna_area_from_space(ptr);
1089 const float aspect = (region->v2d.flag &
V2D_IS_INIT) ?
1097 const int new_width = region->runtime->type->prefsizex ? region->runtime->type->prefsizex :
1099 region->sizex = short(new_width / aspect);
1110static bool rna_Space_show_region_hud_get(
PointerRNA *ptr)
1114static void rna_Space_show_region_hud_set(
PointerRNA *ptr,
bool value)
1124static bool rna_Space_show_region_asset_shelf_get(
PointerRNA *ptr)
1128static void rna_Space_show_region_asset_shelf_set(
PointerRNA *ptr,
bool value)
1132static int rna_Space_show_region_asset_shelf_editable(
const PointerRNA *ptr,
const char **r_info)
1134 ScrArea *area = rna_area_from_space(ptr);
1144 "The asset shelf is not available in the current context (try changing the active mode "
1156 rna_Space_bool_from_region_flag_update_by_type(
1162static bool rna_Space_view2d_sync_get(
PointerRNA *ptr)
1167 area = rna_area_from_space(ptr);
1168 if (area ==
nullptr) {
1179 View2D *v2d = ®ion->v2d;
1186static void rna_Space_view2d_sync_set(
PointerRNA *ptr,
bool value)
1191 area = rna_area_from_space(ptr);
1199 "'show_locked_time' is not supported for the '%s' editor",
1211 View2D *v2d = ®ion->v2d;
1226 area = rna_area_from_space(ptr);
1227 if (area ==
nullptr) {
1239 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
1240 View2D *v2d = ®ion->v2d;
1250 if (v3d->scenelock && scene !=
nullptr) {
1253 scene->
camera = v3d->camera;
1258static void rna_SpaceView3D_use_local_camera_set(
PointerRNA *ptr,
bool value)
1261 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
1263 v3d->scenelock = !value;
1270 if (scene !=
nullptr) {
1271 v3d->camera = scene->
camera;
1276static float rna_View3DOverlay_GridScaleUnit_get(
PointerRNA *ptr)
1279 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
1281 if (scene !=
nullptr) {
1293 ScrArea *area = rna_area_from_space(ptr);
1294 void *regiondata =
nullptr;
1296 ListBaseT<ARegion> *regionbase = (area->spacedata.first_as<
View3D>() == v3d) ?
1299 ARegion *region = regionbase->last();
1306static void rna_SpaceView3D_object_type_visibility_update(
Main * ,
1313static void rna_SpaceView3D_shading_use_compositor_update(
Main * ,
1330static void rna_SpaceView3D_show_overlay_update(
Main *bmain,
Scene *scene,
PointerRNA *ptr)
1335 rna_SpaceView3D_retopology_update(bmain, scene, ptr);
1343 ScrArea *area = rna_area_from_space(ptr);
1347 ((area && area->spacedata.first_as<
View3D>() == v3d) ? &area->regionbase : &v3d->regionbase)
1349 ListBaseT<ARegion> lb = {
nullptr,
nullptr};
1352 while (i-- && region) {
1353 region = region->prev;
1376 rna_area_region_from_regiondata(ptr, &area, ®ion);
1383static void rna_RegionView3D_quadview_clip_update(
Main * ,
1390 rna_area_region_from_regiondata(ptr, &area, ®ion);
1402static bool rna_RegionView3D_pause_render_get(
PointerRNA *ptr)
1404 const RenderEngine *engine = rna_RegionView3D_engine_get(ptr);
1408static void rna_RegionView3D_pause_render_set(
PointerRNA *ptr,
const bool value)
1412 rna_area_region_from_regiondata(ptr, &area, ®ion);
1416 for (
ARegion ®ion_iter : area->regionbase) {
1421 if (rv3d && rv3d->view_render) {
1430 if (
RenderEngine *engine = rna_RegionView3D_engine_get(ptr)) {
1436static bool rna_RegionView3D_support_pause_render_get(
PointerRNA *ptr)
1438 const RenderEngine *engine = rna_RegionView3D_engine_get(ptr);
1439 return engine && engine->type->view_pause && engine->type->view_resume;
1442static void rna_RegionView3D_pause_render_update(
Main *bmain,
1454static void rna_RegionView3D_view_rotation_set_validate_view_axis(
RegionView3D *rv3d)
1462 const float eps_quat = 1e-6f;
1464 rv3d->viewquat, eps_quat, &rv3d->view, &rv3d->view_axis_roll);
1467static void rna_RegionView3D_view_location_get(
PointerRNA *ptr,
float *values)
1473static void rna_RegionView3D_view_location_set(
PointerRNA *ptr,
const float *values)
1479static void rna_RegionView3D_view_rotation_get(
PointerRNA *ptr,
float *values)
1485static void rna_RegionView3D_view_rotation_set(
PointerRNA *ptr,
const float *values)
1489 rna_RegionView3D_view_rotation_set_validate_view_axis(rv3d);
1492static void rna_RegionView3D_view_matrix_set(
PointerRNA *ptr,
const float *values)
1496 invert_m4_m4(mat,
reinterpret_cast<float (*)[4]
>(
const_cast<float *
>(values)));
1498 rna_RegionView3D_view_rotation_set_validate_view_axis(rv3d);
1501static bool rna_RegionView3D_is_orthographic_side_view_get(
PointerRNA *ptr)
1509static void rna_RegionView3D_is_orthographic_side_view_set(
PointerRNA *ptr,
bool value)
1515 if (was_axis_view) {
1519 const float eps_quat =
FLT_MAX;
1521 rv3d->viewquat, eps_quat, &rv3d->view, &rv3d->view_axis_roll);
1526 if (!was_axis_view) {
1536 return &shading->
prop;
1541 ID *
id = ptr->owner_id;
1552 for (
Object &ob : bmain->objects) {
1553 if (ob.runtime->sculpt_session) {
1559 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
1560 for (
ScrArea &area : screen->areabase) {
1564 if (&v3d->shading == shading) {
1576 ID *
id = ptr->owner_id;
1578 return id_cast<Scene *>(
id);
1585 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
1593 ID *
id = ptr->owner_id;
1602 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
1607static int rna_3DViewShading_type_get(
PointerRNA *ptr)
1610 Scene *scene = rna_3DViewShading_scene(ptr);
1615 return shading->type;
1621 if (shading->type ==
OB_RENDER && !(type && type->view_draw)) {
1625 return shading->type;
1630static void rna_3DViewShading_type_set(
PointerRNA *ptr,
int value)
1633 if (value != shading->type && value ==
OB_RENDER) {
1634 shading->prev_type = shading->type;
1644 Scene *scene = rna_3DViewShading_scene(ptr);
1662 if (type && type->view_draw) {
1692static void rna_View3DShading_studio_light_get_storage(
View3DShading *shading,
1696 *dna_storage = shading->studio_light;
1702 *dna_storage = shading->matcap;
1707 *dna_storage = shading->lookdev_light;
1711static int rna_View3DShading_studio_light_get(
PointerRNA *ptr)
1717 rna_View3DShading_studio_light_get_storage(shading, &dna_storage, &flag);
1728static void rna_View3DShading_studio_light_set(
PointerRNA *ptr,
int value)
1734 rna_View3DShading_studio_light_get_storage(shading, &dna_storage, &flag);
1757 if ((sl.flag & flags) == flags) {
1766 int icon_id = sl.icon_id_irradiance;
1767 bool show_studiolight =
false;
1772 show_studiolight =
true;
1776 switch (shading->type) {
1785 icon_id = sl.icon_id_radiance;
1794 if (show_studiolight) {
1819 const bool eevee_active =
STREQ(scene->r.engine,
"BLENDER_EEVEE");
1827 aov_template.value = item->value;
1828 aov_template.icon = 0;
1829 aov_template.description = item->description;
1834 aov_template.name = aov.name;
1835 aov_template.identifier = aov.name;
1837 aov_template.value++;
1840 else if (
ELEM(item->value,
1847 else if (!aov_available &&
STREQ(item->name,
"Shader AOV")) {
1859static int rna_3DViewShading_render_pass_get(
PointerRNA *ptr)
1863 ViewLayer *view_layer = rna_3DViewShading_view_layer(ptr);
1871 if (aov_index == -1) {
1874 return result + aov_index;
1880static void rna_3DViewShading_render_pass_set(
PointerRNA *ptr,
int value)
1883 ViewLayer *view_layer = rna_3DViewShading_view_layer(ptr);
1884 shading->aov_name[0] = 0;
1900 STRNCPY(shading->aov_name, aov->name);
1903 shading->render_pass = value;
1928 return multiview_camera_items;
1935static void rna_SpaceView3D_mirror_xr_session_update(
Main *
main,
1939# ifdef WITH_XR_OPENXR
1944 const View3D *v3d =
static_cast<const View3D *
>(ptr->data);
1945 const ScrArea *area = rna_area_from_space(ptr);
1954static int rna_SpaceView3D_icon_from_show_object_viewport_get(
PointerRNA *ptr)
1958 &v3d->object_type_exclude_select);
1961static std::optional<std::string> rna_View3DShading_path(
const PointerRNA *ptr)
1963 if (
GS(ptr->owner_id->name) ==
ID_SCE) {
1964 return "display.shading";
1966 else if (
GS(ptr->owner_id->name) ==
ID_SCR) {
1967 const bScreen *screen =
reinterpret_cast<bScreen *
>(ptr->owner_id);
1970 for (
const auto [area_index, area] : screen->areabase.enumerate()) {
1971 for (
const auto [space_index, sl] : area.spacedata.enumerate()) {
1973 const View3D *v3d =
reinterpret_cast<const View3D *
>(&sl);
1974 if (&v3d->shading == shading) {
1975 return fmt::format(
"areas[{}].spaces[{}].shading", area_index, space_index);
1990static std::optional<std::string> rna_View3DOverlay_path(
const PointerRNA *ptr)
1993 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
2003static std::optional<std::string> rna_SpaceImageOverlay_path(
const PointerRNA *ptr)
2006 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
2009static std::optional<std::string> rna_SpaceUVEditor_path(
const PointerRNA *ptr)
2012 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"uv_editor");
2022 if (scene !=
nullptr) {
2027 rna_space_active_tool_reset(ptr);
2030static void rna_SpaceImageEditor_show_stereo_set(
PointerRNA *ptr,
bool value)
2042static bool rna_SpaceImageEditor_show_stereo_get(
PointerRNA *ptr)
2048static void rna_SpaceImageEditor_show_stereo_update(
Main * ,
2053 Image *ima = sima->image;
2065static void rna_SpaceImageEditor_show_sequencer_scene_set(
PointerRNA *ptr,
bool value)
2077static bool rna_SpaceImageEditor_show_sequencer_scene_get(
PointerRNA *ptr)
2083static bool rna_SpaceImageEditor_show_render_get(
PointerRNA *ptr)
2089static bool rna_SpaceImageEditor_show_paint_get(
PointerRNA *ptr)
2095static bool rna_SpaceImageEditor_show_uvedit_get(
PointerRNA *ptr)
2098 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
2099 Object *obedit =
nullptr;
2101 if (win !=
nullptr) {
2112static bool rna_SpaceImageEditor_show_maskedit_get(
PointerRNA *ptr)
2115 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
2116 Object *obedit =
nullptr;
2118 if (win !=
nullptr) {
2129static void rna_SpaceImageEditor_image_set(
PointerRNA *ptr,
2138static void rna_SpaceImageEditor_mask_set(
PointerRNA *ptr,
2188static int rna_SpaceImageEditor_display_channels_get(
PointerRNA *ptr)
2198 return sima->flag &
mask;
2201static void rna_SpaceImageEditor_zoom_get(
PointerRNA *ptr,
float *values)
2207 values[0] = values[1] = 1;
2210 area = rna_area_from_space(ptr);
2217static float rna_SpaceImageEditor_zoom_percentage_get(
PointerRNA *ptr)
2220 return sima->
zoom * 100.0f;
2223static void rna_SpaceImageEditor_zoom_percentage_set(
PointerRNA *ptr,
const float value)
2226 sima->
zoom = value / 100.0f;
2229static void rna_SpaceImageEditor_cursor_location_get(
PointerRNA *ptr,
float *values)
2240 values[0] = sima->cursor[0] *
w;
2241 values[1] = sima->cursor[1] * h;
2245static void rna_SpaceImageEditor_cursor_location_set(
PointerRNA *ptr,
const float *values)
2256 sima->cursor[0] = values[0] /
w;
2257 sima->cursor[1] = values[1] / h;
2264 Image *ima = sima->image;
2301 "BOUNDING_BOX_CENTER",
2302 ICON_PIVOT_BOUNDBOX,
2303 "Bounding Box Center",
2308 "INDIVIDUAL_ORIGINS",
2309 ICON_PIVOT_INDIVIDUAL,
2310 "Individual Origins",
2311 "Pivot around each selected island's own median point"},
2312 {0,
nullptr, 0,
nullptr,
nullptr},
2325static void rna_SpaceUVEditor_tile_grid_shape_set(
PointerRNA *ptr,
const int *values)
2329 int clamp[2] = {10, 100};
2330 for (
int i = 0; i < 2; i++) {
2331 data->tile_grid_shape[i] = std::clamp(values[i], 1,
clamp[i]);
2335static void rna_SpaceUVEditor_custom_grid_subdiv_set(
PointerRNA *ptr,
const int *values)
2339 for (
int i = 0; i < 2; i++) {
2340 data->custom_grid_subdiv[i] = std::clamp(values[i], 1, 5000);
2346static void rna_SpaceTextEditor_word_wrap_set(
PointerRNA *ptr,
bool value)
2354static void rna_SpaceTextEditor_text_set(
PointerRNA *ptr,
2360 st->
text =
static_cast<Text *
>(value.data);
2361 if (st->text !=
nullptr) {
2365 ScrArea *area = rna_area_from_space(ptr);
2374static bool rna_SpaceTextEditor_text_is_syntax_highlight_supported(
SpaceText *space)
2388static int rna_SpaceTextEditor_visible_lines_get(
PointerRNA *ptr)
2410 ID *
id = sbuts->pinid;
2412 if (
id ==
nullptr) {
2417 switch (
GS(
id->name)) {
2435static void rna_SpaceProperties_context_set(
PointerRNA *ptr,
int value)
2455 int totitem_added = 0;
2456 bool add_separator =
true;
2459 if (add_separator) {
2461 add_separator =
false;
2467 add_separator =
true;
2471 (item + totitem_added - 1)->icon = sbuts->dataicon;
2481static void rna_SpaceProperties_context_update(
Main * ,
2492static int rna_SpaceProperties_tab_search_results_getlength(
const PointerRNA *ptr,
2499 length[0] = context_tabs_array.size();
2504static void rna_SpaceProperties_tab_search_results_get(
PointerRNA *ptr,
bool *values)
2510 for (
const int i : context_tabs_array.index_range()) {
2515static void rna_SpaceProperties_search_filter_get(
PointerRNA *ptr,
char *value)
2520 strcpy(value, search_filter);
2523static int rna_SpaceProperties_search_filter_length(
PointerRNA *ptr)
2530static void rna_SpaceProperties_search_filter_set(
PointerRNA *ptr,
const char *value)
2537static void rna_SpaceProperties_search_filter_update(
Main * ,
2541 ScrArea *area = rna_area_from_space(ptr);
2550static int rna_SpaceUserPref_tab_search_results_getlength(
const PointerRNA *ptr,
2558static void rna_SpaceUserPref_tab_search_results_get(
PointerRNA *ptr,
bool *values)
2562 for (
const int i : tabs.index_range()) {
2566static void rna_SpaceUserPref_search_filter_get(
PointerRNA *ptr,
char *value)
2570 strcpy(value, search_filter);
2572static int rna_SpaceUserPref_search_filter_length(
PointerRNA *ptr)
2577static void rna_SpaceUserPref_search_filter_set(
PointerRNA *ptr,
const char *value)
2582static void rna_SpaceUserPref_search_filter_update(
Main * ,
2586 ScrArea *area = rna_area_from_space(ptr);
2593static int rna_SpaceUserPref_search_filter_editable(
const PointerRNA * ,
2594 const char **r_info)
2597 *r_info =
N_(
"Use the search in Extensions.");
2601 *r_info =
N_(
"Use the search in Add-ons.");
2608static void rna_ConsoleLine_body_get(
PointerRNA *ptr,
char *value)
2611 memcpy(value, ci->line, ci->len + 1);
2614static int rna_ConsoleLine_body_length(
PointerRNA *ptr)
2620static void rna_ConsoleLine_body_set(
PointerRNA *ptr,
const char *value)
2623 size_t len = strlen(value);
2625 if ((
len >=
size_t(ci->len_alloc)) ||
2626 (
len * 2 <
size_t(ci->len_alloc))) {
2627 MEM_delete(ci->line);
2629 ci->len_alloc = int(
len + 1);
2631 memcpy(ci->line, value,
len + 1);
2634 if (
size_t(ci->cursor) >
len) {
2636 ci->cursor = int(
len);
2640static int rna_ConsoleLine_current_character_get(
PointerRNA *ptr)
2646static void rna_ConsoleLine_current_character_set(
PointerRNA *ptr,
const int index)
2659 if (area && area->spacedata.first_as<
SpaceAction>() == saction) {
2661 if (channels_region) {
2672 saction->mode_prev = saction->mode;
2679 ScrArea *area = rna_area_from_space(ptr);
2702 ListBaseT<bAnimListElem> anim_data = {
nullptr,
nullptr};
2722static bool rna_SpaceGraphEditor_has_ghost_curves_get(
PointerRNA *ptr)
2725 return (sipo->runtime.ghost_curves.is_empty() ==
false);
2737 if (scene ==
nullptr) {
2758 for (
Strip &strip : *seqbase) {
2759 if (strip.type !=
STRIP_TYPE_MOVIE || strip.data ==
nullptr || strip.data->proxy ==
nullptr) {
2782 if (scene ==
nullptr) {
2786 seq_build_proxy(
C, ptr);
2790static bool rna_SequenceEditor_clamp_view_get(
PointerRNA *ptr)
2796static void rna_SequenceEditor_clamp_view_set(
PointerRNA *ptr,
bool value)
2802 area = rna_area_from_space(ptr);
2803 if (area ==
nullptr) {
2822 ScrArea *area = rna_area_from_space(ptr);
2831static std::optional<std::string> rna_SpaceSequencerPreviewOverlay_path(
const PointerRNA *ptr)
2835 "{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"preview_overlay");
2843static std::optional<std::string> rna_SpaceSequencerTimelineOverlay_path(
const PointerRNA *ptr)
2847 "{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"timeline_overlay");
2855static std::optional<std::string> rna_SpaceSequencerCacheOverlay_path(
const PointerRNA *ptr)
2858 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"cache_overlay");
2861static float rna_SpaceSequenceEditor_zoom_percentage_get(
PointerRNA *ptr)
2863 ScrArea *area = rna_area_from_space(ptr);
2864 if (area ==
nullptr) {
2868 if (region ==
nullptr) {
2872 View2D *v2d = ®ion->v2d;
2878static void rna_SpaceSequenceEditor_zoom_percentage_set(
PointerRNA *ptr,
const float value)
2880 ScrArea *area = rna_area_from_space(ptr);
2881 if (area ==
nullptr) {
2885 if (region ==
nullptr) {
2889 View2D *v2d = ®ion->v2d;
2901static std::optional<std::string> rna_SpaceDopeSheetOverlay_path(
const PointerRNA *ptr)
2905 return std::nullopt;
2907 return editor_path.value() +
".overlays";
2916static bool rna_SpaceNode_supports_previews(
PointerRNA *ptr)
2921static std::optional<std::string> rna_SpaceNodeOverlay_path(
const PointerRNA *ptr)
2924 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
2927static void rna_SpaceNodeEditor_node_tree_set(
PointerRNA *ptr,
2933 reinterpret_cast<const SpaceLink *
>(snode));
2938static bool rna_SpaceNodeEditor_selected_node_group_poll(
PointerRNA *space_node_pointer,
2950 if (!ntree.geometry_node_asset_traits) {
2959static bool space_node_node_geometry_nodes_poll(
const SpaceNode &snode,
const bNodeTree &ntree)
2963 if (!ntree.geometry_node_asset_traits) {
2971 if (!ntree.geometry_node_asset_traits) {
2988 if (!
STREQ(snode->tree_idname, ntree->idname)) {
2992 if (!space_node_node_geometry_nodes_poll(*snode, *ntree)) {
3004static const EnumPropertyItem *rna_SpaceNodeEditor_node_tree_sub_type_itemf(
3015 N_(
"Edit node group from active object's active modifier")},
3020 N_(
"Edit any geometry node group for use as an operator")},
3021 {0,
nullptr, 0,
nullptr,
nullptr},
3029 N_(
"Edit compositor node group for the active scene compositor effect")},
3034 N_(
"Edit compositing node group for Sequencer strip modifiers")},
3035 {0,
nullptr, 0,
nullptr,
nullptr},
3040 return geometry_nodes_sub_type_items;
3043 return compositor_sub_type_items;
3047static void rna_SpaceNodeEditor_node_tree_sub_type_update(
Main * ,
3064static int rna_SpaceNodeEditor_tree_type_get(
PointerRNA *ptr)
3069static void rna_SpaceNodeEditor_tree_type_set(
PointerRNA *ptr,
int value)
3078 return type->poll(
C, type);
3085static void rna_SpaceNodeEditor_cursor_location_get(
PointerRNA *ptr,
float value[2])
3092static void rna_SpaceNodeEditor_cursor_location_set(
PointerRNA *ptr,
const float value[2])
3112static void rna_SpaceNodeEditor_path_get(
PointerRNA *ptr,
char *value)
3118static int rna_SpaceNodeEditor_path_length(
PointerRNA *ptr)
3136 reinterpret_cast<const SpaceLink *
>(snode));
3147 ARegion *region = find_snode_region(snode,
C);
3152static void rna_SpaceNodeEditor_path_append(
SpaceNode *snode,
3157 ARegion *region = find_snode_region(snode,
C);
3159 region, snode,
static_cast<bNodeTree *
>(node_tree->data),
static_cast<bNode *
>(
node->data));
3165 ARegion *region = find_snode_region(snode,
C);
3170static void rna_SpaceNodeEditor_show_backdrop_update(
Main * ,
3179static void rna_SpaceNodeEditor_cursor_location_from_region(
SpaceNode *snode,
3186 float cursor_location[2];
3195static void rna_SpaceClipEditor_clip_set(
PointerRNA *ptr,
3200 bScreen *screen = id_cast<bScreen *>(ptr->owner_id);
3205static void rna_SpaceClipEditor_mask_set(
PointerRNA *ptr,
3214static void rna_SpaceClipEditor_clip_mode_update(
Main * ,
3223 ScrArea *area = rna_area_from_space(ptr);
3230static void rna_SpaceClipEditor_lock_selection_update(
Main * ,
3240static void rna_SpaceClipEditor_view_type_update(
Main * ,
3244 ScrArea *area = rna_area_from_space(ptr);
3248static float rna_SpaceClipEditor_zoom_percentage_get(
PointerRNA *ptr)
3251 return sc->
zoom * 100.0f;
3254static void rna_SpaceClipEditor_zoom_percentage_set(
PointerRNA *ptr,
const float value)
3257 sc->
zoom = value / 100.0f;
3265static std::optional<std::string> rna_SpaceClipOverlay_path(
const PointerRNA *ptr)
3268 return fmt::format(
"{}{}{}", editor_path.value_or(
""), editor_path ?
"." :
"",
"overlay");
3273static std::optional<std::string> rna_FileSelectParams_path(
const PointerRNA *ptr)
3276 if (!space_ptr.owner_id) {
3277 return std::nullopt;
3282 return std::nullopt;
3284 return fmt::format(
"{}.params", *editor_path);
3287int rna_FileSelectParams_filename_editable(
const PointerRNA *ptr,
const char **r_info)
3292 *r_info =
N_(
"Only directories can be chosen for the current operation.");
3299static bool rna_FileSelectParams_use_lib_get(
PointerRNA *ptr)
3382 items[0].description =
N_(
"Sort the asset list alphabetically");
3404static void rna_FileSelectParams_filter_glob_set(
PointerRNA *ptr,
const char *value)
3408 STRNCPY(params->filter_glob, value);
3419static int rna_FileAssetSelectParams_asset_library_get(
PointerRNA *ptr)
3423 BLI_assert(ptr->type == RNA_FileAssetSelectParams);
3428static void rna_FileAssetSelectParams_asset_library_set(
PointerRNA *ptr,
int value)
3443 if (!entry->asset) {
3454 if (entry->asset->is_local_id()) {
3462static int rna_FileBrowser_FileSelectEntry_name_editable(
const PointerRNA *ptr,
3463 const char **r_info)
3471 PointerRNA asset_data_ptr = rna_FileBrowser_FileSelectEntry_asset_data_get_impl(ptr);
3481 return rna_FileBrowser_FileSelectEntry_asset_data_get_impl(ptr);
3484static void rna_FileBrowser_FileSelectEntry_name_get(
PointerRNA *ptr,
char *value)
3487 strcpy(value, entry->name);
3490static int rna_FileBrowser_FileSelectEntry_name_length(
PointerRNA *ptr)
3493 return int(strlen(entry->name));
3496static void rna_FileBrowser_FileSelectEntry_relative_path_get(
PointerRNA *ptr,
char *value)
3499 strcpy(value, entry->relpath);
3502static int rna_FileBrowser_FileSelectEntry_relative_path_length(
PointerRNA *ptr)
3505 return int(strlen(entry->relpath));
3508static int rna_FileBrowser_FileSelectEntry_preview_icon_id_get(
PointerRNA *ptr)
3520 return RNA_FileSelectParams;
3523 return RNA_FileAssetSelectParams;
3534 StructRNA *params_struct = rna_FileBrowser_params_typef(ptr);
3536 if (params && params_struct) {
3543static void rna_FileBrowser_FSMenuEntry_path_get(
PointerRNA *ptr,
char *value)
3547 strcpy(value, path ? path :
"");
3550static int rna_FileBrowser_FSMenuEntry_path_length(
PointerRNA *ptr)
3554 return int(path ? strlen(path) : 0);
3557static void rna_FileBrowser_FSMenuEntry_path_set(
PointerRNA *ptr,
const char *value)
3566static void rna_FileBrowser_FSMenuEntry_name_get(
PointerRNA *ptr,
char *value)
3571static int rna_FileBrowser_FSMenuEntry_name_length(
PointerRNA *ptr)
3576static void rna_FileBrowser_FSMenuEntry_name_set(
PointerRNA *ptr,
const char *value)
3585static int rna_FileBrowser_FSMenuEntry_name_get_editable(
const PointerRNA *ptr,
3593static int rna_FileBrowser_FSMenuEntry_icon_get(
PointerRNA *ptr)
3599static void rna_FileBrowser_FSMenuEntry_icon_set(
PointerRNA *ptr,
int value)
3605static bool rna_FileBrowser_FSMenuEntry_use_save_get(
PointerRNA *ptr)
3619 iter->valid = (
internal->link !=
nullptr);
3625 iter->valid = (
internal->link !=
nullptr);
3636 internal->link = (fsmentry) ?
reinterpret_cast<Link *
>(fsmentry) :
nullptr;
3639 iter->valid = (
internal->link !=
nullptr);
3646 iter->parent, RNA_FileBrowserFSMenuEntry,
internal->link);
3658static int rna_FileBrowser_FSMenuSystem_data_length(
PointerRNA * )
3671static int rna_FileBrowser_FSMenuSystemBookmark_data_length(
PointerRNA * )
3684static int rna_FileBrowser_FSMenuBookmark_data_length(
PointerRNA * )
3697static int rna_FileBrowser_FSMenuRecent_data_length(
PointerRNA * )
3711 actnr = sf->systemnr;
3714 actnr = sf->system_bookmarknr;
3717 actnr = sf->bookmarknr;
3720 actnr = sf->recentnr;
3730static void rna_FileBrowser_FSMenu_active_set(
PointerRNA *ptr,
3738 if (fsm && sf->params) {
3741 sf->systemnr = value;
3744 sf->system_bookmarknr = value;
3747 sf->bookmarknr = value;
3750 sf->recentnr = value;
3757 STRNCPY(sf->params->dir, fsm->path);
3761static void rna_FileBrowser_FSMenu_active_range(
PointerRNA * ,
3770 *
min = *softmin = -1;
3776 ScrArea *area = rna_area_from_space(ptr);
3780static int rna_FileBrowser_FSMenuSystem_active_get(
PointerRNA *ptr)
3785static void rna_FileBrowser_FSMenuSystem_active_set(
PointerRNA *ptr,
int value)
3790static void rna_FileBrowser_FSMenuSystem_active_range(
3796static int rna_FileBrowser_FSMenuSystemBookmark_active_get(
PointerRNA *ptr)
3801static void rna_FileBrowser_FSMenuSystemBookmark_active_set(
PointerRNA *ptr,
int value)
3806static void rna_FileBrowser_FSMenuSystemBookmark_active_range(
3809 rna_FileBrowser_FSMenu_active_range(
3813static int rna_FileBrowser_FSMenuBookmark_active_get(
PointerRNA *ptr)
3818static void rna_FileBrowser_FSMenuBookmark_active_set(
PointerRNA *ptr,
int value)
3823static void rna_FileBrowser_FSMenuBookmark_active_range(
3829static int rna_FileBrowser_FSMenuRecent_active_get(
PointerRNA *ptr)
3834static void rna_FileBrowser_FSMenuRecent_active_set(
PointerRNA *ptr,
int value)
3839static void rna_FileBrowser_FSMenuRecent_active_range(
3845static void rna_SpaceFileBrowser_browse_mode_update(
Main * ,
3849 ScrArea *area = rna_area_from_space(ptr);
3853static void rna_SpaceSpreadsheet_geometry_component_type_update(
Main * ,
3858 switch (sspreadsheet->geometry_id.geometry_component_type) {
3900 sspreadsheet->geometry_id.geometry_component_type);
3903 if (used_id !=
nullptr) {
3904 if (
GS(used_id->name) ==
ID_OB) {
3905 Object *used_object = id_cast<Object *>(used_id);
3964 return RNA_SpreadsheetTableIDGeometry;
3966 return RNA_SpreadsheetTableID;
3974 iter, ptr, table->columns,
sizeof(
SpreadsheetTable *), table->num_columns, 0,
nullptr);
3977static int rna_iterator_SpreadsheetTable_columns_length(
PointerRNA *ptr)
3989 sspreadsheet->tables,
3991 sspreadsheet->num_tables,
3996static int rna_iterator_SpaceSpreadsheet_tables_length(
PointerRNA *ptr)
4014 return RNA_IDViewerPathElem;
4016 return RNA_ModifierViewerPathElem;
4018 return RNA_GroupNodeViewerPathElem;
4020 return RNA_SimulationZoneViewerPathElem;
4022 return RNA_ViewerNodeViewerPathElem;
4024 return RNA_RepeatZoneViewerPathElem;
4026 return RNA_ForeachGeometryElementZoneViewerPathElem;
4028 return RNA_EvaluateClosureNodeViewerPathElem;
4034static void rna_FileAssetSelectParams_catalog_id_get(
PointerRNA *ptr,
char *value)
4040static int rna_FileAssetSelectParams_catalog_id_length(
PointerRNA * )
4045static void rna_FileAssetSelectParams_catalog_id_set(
PointerRNA *ptr,
const char *value)
4049 if (value[0] ==
'\0') {
4057 printf(
"UUID %s not formatted correctly, ignoring new value\n", value);
4061 params->catalog_id = new_uuid;
4065static const EnumPropertyItem *rna_FileAssetSelectParams_import_method_itemf(
4080 &
U, params->asset_library_ref.custom_library_index);
4089 if (
U.experimental.no_data_block_packing) {
4095 if (!
U.experimental.no_data_block_packing) {
4113 if (!ptr->owner_id || (
GS(ptr->owner_id->name) !=
ID_SCR)) {
4117 const bScreen *screen = blender::id_cast<bScreen *>(ptr->owner_id);
4124static int rna_SpaceProject_active_section_get(
PointerRNA *ptr)
4126 ARegion *main_region = rna_SpaceProject_main_region_get(ptr);
4127 return rna_region_active_panel_category_get(main_region);
4129static void rna_SpaceProject_active_section_set(
PointerRNA *ptr,
int value)
4131 ARegion *main_region = rna_SpaceProject_main_region_get(ptr);
4132 rna_region_active_panel_category_set(main_region, value);
4139 ARegion *main_region = rna_SpaceProject_main_region_get(ptr);
4140 return rna_region_active_panel_category_itemf(main_region, r_free);
4150 {
SI_UVDT_OUTLINE,
"OUTLINE", 0,
"Outline",
"Display white edges with black outline"},
4151 {
SI_UVDT_DASH,
"DASH", 0,
"Dash",
"Display dashed black-white edges"},
4152 {
SI_UVDT_BLACK,
"BLACK", 0,
"Black",
"Display black edges"},
4153 {
SI_UVDT_WHITE,
"WHITE", 0,
"White",
"Display white edges"},
4154 {0,
nullptr, 0,
nullptr,
nullptr},
4159 {
FILTER_ID_SCE,
"category_scene", ICON_SCENE_DATA,
"Scenes",
"Show scenes"},
4160 {
FILTER_ID_AC,
"category_animation", ICON_ANIM_DATA,
"Animations",
"Show animation data"},
4164 "Objects & Collections",
4165 "Show objects and collections"},
4168 "category_geometry",
4169 ICON_GEOMETRY_NODES,
4171 "Show meshes, curves, lattice, armatures and metaballs data"},
4176 "Show materials, node-trees, textures and Freestyle's line-styles"},
4181 "Show images, movie clips, sounds and masks"},
4183 "category_environment",
4186 "Show worlds, lights, cameras and speakers"},
4192 "Show other data types"},
4193 {0,
nullptr, 0,
nullptr,
nullptr},
4200# define DEF_SHOW_REGION_PROPERTY(identifier, label, description) \
4202 prop = RNA_def_property(srna, STRINGIFY(identifier), PROP_BOOLEAN, PROP_NONE); \
4203 RNA_def_property_flag(prop, PROP_CONTEXT_UPDATE); \
4204 RNA_def_property_boolean_funcs(prop, \
4205 STRINGIFY(rna_Space_##identifier##_get), \
4206 STRINGIFY(rna_Space_##identifier##_set)); \
4207 RNA_def_property_ui_text(prop, label, description); \
4208 RNA_def_property_update(prop, 0, STRINGIFY(rna_Space_##identifier##_update)); \
4250 prop,
"rna_Space_show_region_asset_shelf_get",
"rna_Space_show_region_asset_shelf_set");
4255 "Display a region with assets that may currently be relevant (such as "
4256 "brushes in paint modes, or poses in Pose Mode)");
4285 "Sync Visible Range",
4286 "Synchronize the visible timeline range with other time-based editors");
4302 "Show alpha channel of the mask"},
4307 "Combine space background image with the mask"},
4308 {0,
nullptr, 0,
nullptr,
nullptr},
4358 {0,
nullptr, 0,
nullptr,
nullptr},
4365 {0,
nullptr, 0,
nullptr,
nullptr},
4372 {0,
nullptr, 0,
nullptr,
nullptr},
4393 "Display faces colored according to the difference in shape between UVs and "
4394 "their 3D coordinates (blue for low distortion, red for high distortion)");
4407 prop,
"Display Modified Edges",
"Display edges after modifiers are applied");
4423 prop,
"Pixel Coordinates",
"Display UV coordinates in pixels rather than from 0.0 to 1.0");
4438 prop,
"Tile Grid Shape",
"How many tiles will be shown in the background");
4459 prop,
"Dynamic Grid Size",
"Number of grid units in UV space that make one UV Unit");
4494 "Constrain to Image Bounds",
4495 "Constraint to stay within the image bounds while editing");
4503 "Continuously unwrap the selected UV island while transforming pinned vertices");
4517 "Display scenes and their view layers, collections and objects"},
4522 "Display collections and objects in the view layer"},
4527 "Display data belonging to the Video Sequencer"},
4532 "Display data of current file and linked libraries"},
4537 "Display low level Blender data and its properties"},
4539 "LIBRARY_OVERRIDES",
4540 ICON_LIBRARY_DATA_OVERRIDE,
4541 "Library Overrides",
4542 "Display data-blocks with library overrides and list their overridden properties"},
4547 "Display data that is unused and/or will be lost when the file is reloaded"},
4548 {0,
nullptr, 0,
nullptr,
nullptr},
4551 static const EnumPropertyItem rna_enum_space_outliner_sort_method_items[] = {
4552 {
SO_SORT_ALPHA,
"ALPHA", 0,
"Alphabetical",
"Order items alphabetically"},
4558 "Order items according to the actual internal data (matches the order in which "
4559 "operators will typically process them when working on collections/objects "
4561 {0,
nullptr, 0,
nullptr,
nullptr},
4569 "Display all local override data-blocks with their overridden properties and buttons to "
4575 "Display library override relationships"},
4576 {0,
nullptr, 0,
nullptr,
nullptr},
4585 {0,
nullptr, 0,
nullptr,
nullptr},
4601 "Library Override View Mode",
4602 "Choose different visualizations of library override data");
4614 prop,
"Case Sensitive Matches Only",
"Only use case sensitive matches of search string");
4620 prop,
"Complete Matches Only",
"Only use complete matches of search string");
4631 prop,
"Sync Outliner Selection",
"Sync outliner selection with other editors");
4637 prop,
"Show Mode Column",
"Show the mode column for mode toggle and activation");
4645 "Scroll the active item into view when it changes outside of the outliner");
4651 prop,
"Expand on Focus",
"Uncollapse the active item when scrolling it into view");
4657 "Show Users Column",
4658 "Display a column showing the number of users for each data-block");
4713 prop,
"Show Object Contents",
"Show what is inside the objects elements");
4777 prop,
"Show Other Objects",
"Show curves, lattices, light probes, fonts, ...");
4796 "Show System Overrides",
4797 "For libraries with overrides created, show the overridden values that are "
4798 "defined/controlled automatically (e.g. to make users of an overridden data-block point to "
4799 "the override data, not the original linked data)");
4868 "Use a custom color limited to this viewport only"},
4869 {0,
nullptr, 0,
nullptr,
nullptr},
4877 "Cavity shading computed in world space, useful for larger-scale occlusion"},
4882 "Curvature-based shading, useful for making fine details more visible"},
4884 {0,
nullptr, 0,
nullptr,
nullptr},
4892 "The compositor is disabled"},
4897 "The compositor is enabled only in camera view"},
4902 "The compositor is always enabled regardless of the view"},
4903 {0,
nullptr, 0,
nullptr,
nullptr},
4911 srna,
"3D View Shading Settings",
"Settings for shading in the 3D viewport");
4917 "rna_3DViewShading_type_get",
4918 "rna_3DViewShading_type_set",
4919 "rna_3DViewShading_type_itemf");
4921 prop,
"Viewport Shading",
"Method to display/shade objects in the 3D View");
4941 "rna_View3DShading_studio_light_get",
4942 "rna_View3DShading_studio_light_set",
4943 "rna_View3DShading_studio_light_itemf");
4951 prop,
"World Space Lighting",
"Make the lighting fixed and not follow the camera");
4957 prop,
"Backface Culling",
"Use back face culling to hide the back side of faces");
5007 prop,
"rna_View3DShading_selected_studio_light_get",
nullptr,
nullptr,
nullptr);
5014 prop,
"Studiolight Rotation",
"Rotation of the studiolight around the Z-Axis");
5050 prop,
"World Space Lighting",
"Make the HDR rotation fixed and not follow the camera");
5123 "Use depth of field on viewport using the values from the active camera");
5179 "rna_3DViewShading_render_pass_get",
5180 "rna_3DViewShading_render_pass_set",
5181 "rna_3DViewShading_render_pass_itemf");
5195 prop,
"Compositor",
"When to preview the compositor output inside the viewport");
5198 "rna_SpaceView3D_shading_use_compositor_update");
5211 srna,
"3D View Overlay Settings",
"Settings for display of overlays in the 3D viewport");
5246 prop,
"Grid Scale",
"Multiplier for the distance between 3D View grid lines");
5254 prop,
"Grid Lines",
"Number of grid lines to display in perspective view");
5268 prop,
"Grid Scale Unit",
"Grid cell size scaled by scene unit system settings");
5273 prop,
"Outline Selected",
"Show an outline highlight around selected objects");
5286 "All Object Origins",
5287 "Show the object origin center dot for all (selected and unselected) objects");
5293 "Relationship Lines",
5294 "Show dashed lines indicating parent or constraint relationships");
5316 "Display viewport performance timings:\n"
5317 " \u2022 Evaluation: Time to evaluate the dependency graph.\n"
5318 " \u2022 Synchronization: Time to build the GPU buffers.");
5336 prop,
"Extras",
"Object details, including empty wire, cameras and other visual guides");
5347 prop,
"Show Bones",
"Display bones (disable to show motion paths only)");
5360 prop,
"Fade Inactive Objects",
"Fade inactive geometry using the viewport background color");
5386 prop,
"Bone Wireframe Opacity",
"Maximum opacity of bones in wireframe display mode");
5409 "Reference Spheres",
5410 "Show reference spheres with neutral shading that react to lighting to "
5411 "assist in look development");
5423 "Wireframe Threshold",
5424 "Adjust the angle threshold for displaying edges "
5433 "Wireframe Opacity",
5434 "Opacity of the displayed edges "
5435 "(1.0 for opaque)");
5449 prop,
"Viewer Attribute Opacity",
"Opacity of the attribute that is currently visualized");
5458 prop,
"View Attribute Text",
"Show attribute values as text in viewport");
5470 "Show Weight Contours",
5471 "Show contour lines formed by points with the same interpolated weight");
5483 "Hide the solid mesh and offset the overlay towards the view. "
5484 "Selection is occluded by inactive geometry, unless X-Ray is enabled");
5491 prop,
"Retopology Offset",
"Offset used to draw edit mesh in front of other geometry");
5510 prop,
"Display Custom Normals",
"Display vertex-per-face normals as lines");
5522 "Display Face Center",
5523 "Display face center when face selection is enabled in solid shading modes");
5529 prop,
"Display Creases",
"Display creases created for Subdivision Surface modifier");
5535 prop,
"Display Bevel Weights",
"Display weights created for the Bevel modifier");
5546 prop,
"Display Sharp",
"Display sharp edges, used with the Edge Split modifier");
5553 "Display Freestyle Edge Marks",
5554 "Display Freestyle edge marks, used with the Freestyle renderer");
5561 "Display Freestyle Face Marks",
5562 "Display Freestyle face marks, used with the Freestyle renderer");
5568 prop,
"Mesh Analysis",
"Display statistical information about the mesh");
5576 "Display selected edge lengths, using global values when set in the transform panel");
5584 "Display selected edge angle, using global values when set in the transform panel");
5591 "Display the angles in the selected edges, "
5592 "using global values when set in the transform panel");
5599 "Display the area of selected faces, "
5600 "using global values when set in the transform panel");
5606 prop,
"Indices",
"Display the index numbers of selected vertices, edges, and faces");
5613 prop,
"Display Handles",
"Limit the display of curve handles in Edit Mode");
5639 "Constant Screen Size Normals",
5640 "Keep size of normals constant in relation to 3D view");
5646 prop,
"Stencil Mask Opacity",
"Opacity of the texture paint mode stencil mask overlay");
5653 prop,
"Stencil Mask Opacity",
"Opacity of the texture paint mode stencil mask overlay");
5660 prop,
"Weight Paint Opacity",
"Opacity of the weight paint mode overlay");
5673 prop,
"Sculpt Curves Cage",
"Show original curves that are currently being edited");
5679 prop,
"Curves Sculpt Cage Opacity",
"Opacity of the cage overlay in curves sculpt mode");
5710 "Fade all viewport objects with a full color layer to improve visibility");
5721 prop,
"Fade Layers",
"Toggle fading of Grease Pencil layers except the active one");
5727 prop,
"Fade Grease Pencil Objects",
"Fade Grease Pencil Objects, except the active one");
5739 "Show stroke drawing direction with a bigger green dot (start) "
5740 "and smaller red dot (end) points");
5746 prop,
"Stroke Material Name",
"Show material name assigned to each stroke");
5794 prop,
"Opacity",
"Fade layer opacity for Grease Pencil layers except the active one");
5812 prop,
"Onion Skins",
"Show ghosts of the keyframes before and after the current frame");
5819 prop,
"Active Object Only",
"Show only the onion skins of the active object");
5852 {
RV3D_ORTHO,
"ORTHO", 0,
"Orthographic",
""},
5854 {0,
nullptr, 0,
nullptr,
nullptr},
5862 {
OB_CUBE,
"CUBE", 0,
"Cube",
""},
5865 {0,
nullptr, 0,
nullptr,
nullptr},
5883 "Active camera used in this view (when unlocked from the scene's active camera)");
5892 "Use a region within the frame size for rendered viewport "
5893 "(when not viewing through the camera)");
5924 prop,
"Lock to Object",
"3D View center is locked to this object's position");
5930 prop,
"Lock to Bone",
"3D View center is locked to this bone's position");
5936 prop,
"Lock to Cursor",
"3D View center is locked to the cursor's position");
5944 "Display an isolated subset of objects, apart from the scene visibility");
5956 prop,
"Clip Start",
"3D View near clipping distance (perspective view only)");
5968 prop,
"Lock Camera to View",
"Enable view navigation within the camera view");
6035 prop,
"Show Light Look-At",
"Gizmo to adjust the direction of the light");
6042 prop,
"Show Camera Lens",
"Gizmo to adjust camera focal length or orthographic scale");
6049 "Show Camera Focus Distance",
6050 "Gizmo to adjust camera focus distance "
6051 "(depends on limits display)");
6059 "Use a local camera in this view, rather than scene's active camera");
6068 "3D region for this space. When the space is in quad view, the camera region");
6073 "rna_SpaceView3D_region_quadviews_begin",
6074 "rna_iterator_listbase_next",
6075 "rna_iterator_listbase_end",
6076 "rna_SpaceView3D_region_quadviews_get",
6082 "Quad View Regions",
6083 "3D regions (the third one defines quad view settings, "
6084 "the fourth one is same as 'region_3d')");
6089 prop,
"Show Reconstruction",
"Display reconstruction data from active movie clip");
6113 prop,
"Show 3D Marker Names",
"Show names for reconstructed tracks objects");
6119 prop,
"Local Collections",
"Display a different set of collections in this viewport");
6168 "Mirror VR Session",
6169 "Synchronize the viewer perspective of virtual reality sessions with this 3D viewport");
6175 "rna_SpaceView3D_object_type_visibility_update");
6180 prop,
"rna_SpaceView3D_icon_from_show_object_viewport_get",
nullptr,
nullptr);
6200 prop,
"Overlay Settings",
"Settings for display of overlays in the 3D viewport");
6216 prop,
"Lock Rotation",
"Lock view rotation of side views to Top/Front/Right");
6227 prop,
"Clip Contents",
"Clip view contents based on what is visible in other side views");
6237 prop,
"Perspective Matrix",
"Current perspective matrix (``window_matrix * view_matrix``)");
6267 "rna_RegionView3D_is_orthographic_side_view_get",
6268 "rna_RegionView3D_is_orthographic_side_view_set");
6272 "Whether the current view is aligned to an axis "
6273 "(does not check whether the view is orthographic, use \"is_perspective\" for that). "
6274 "Setting this will rotate the view to the closest axis");
6286 const int default_value[] = {6, 4};
6298 prop,
"rna_RegionView3D_view_location_get",
"rna_RegionView3D_view_location_set",
nullptr);
6311 prop,
"rna_RegionView3D_view_rotation_get",
"rna_RegionView3D_view_rotation_set",
nullptr);
6342 prop,
"rna_RegionView3D_pause_render_get",
"rna_RegionView3D_pause_render_set");
6352 "Support Pause Render",
6353 "The render engine currently rendering this viewport can be paused and resumed");
6362 constexpr std::array<StringRefNull, BCONTEXT_TOT> filter_items = {
6363 "show_properties_tool",
"show_properties_render",
6364 "show_properties_output",
"show_properties_scene",
6365 "show_properties_view_layer",
"show_properties_compositor",
6366 "show_properties_world",
"show_properties_collection",
6367 "show_properties_object",
"show_properties_constraints",
6368 "show_properties_modifiers",
"show_properties_data",
6369 "show_properties_bone",
"show_properties_bone_constraints",
6370 "show_properties_material",
"show_properties_texture",
6371 "show_properties_particles",
"show_properties_physics",
6372 "show_properties_effects",
"show_properties_strip",
6373 "show_properties_strip_modifier",
6378 const int value = (1 << item.
value);
6399 "Always change tabs when clicking an icon in an outliner"},
6404 "Never change tabs when clicking an icon in an outliner"},
6409 "Change tabs only when this editor shares a border with an outliner"},
6410 {0,
nullptr, 0,
nullptr,
nullptr},
6421 prop,
nullptr,
"rna_SpaceProperties_context_set",
"rna_SpaceProperties_context_itemf");
6434 prop,
nullptr,
nullptr,
"rna_SpaceProperties_pin_id_typef",
nullptr);
6453 prop,
"Tab Search Results",
"Whether or not each visible tab has a search result");
6459 "rna_SpaceProperties_search_filter_get",
6460 "rna_SpaceProperties_search_filter_length",
6461 "rna_SpaceProperties_search_filter_set");
6473 "Change to the corresponding tab when outliner data icons are clicked");
6487 srna,
"Overlay Settings",
"Settings for display of overlays in the UV/Image editor");
6513 prop,
"Passepartout Alpha",
"Opacity of the darkened overlay outside the render region");
6534 prop,
nullptr,
"rna_SpaceImageEditor_image_set",
nullptr,
nullptr);
6541 "rna_SpaceImageEditor_image_update");
6549 "Parameters defining which layer, pass and frame of the image is displayed");
6562 prop,
"Image Pin",
"Display current image regardless of object selection");
6579 "rna_SpaceImageEditor_zoom_percentage_get",
6580 "rna_SpaceImageEditor_zoom_percentage_set",
6591 prop,
"Display Repeated",
"Display the image repeated outside of the main view");
6603 "rna_SpaceImageEditor_display_channels_get",
6605 "rna_SpaceImageEditor_display_channels_itemf");
6611 prop,
"rna_SpaceImageEditor_show_stereo_get",
"rna_SpaceImageEditor_show_stereo_set");
6619 "rna_SpaceImageEditor_show_sequencer_scene_get",
6620 "rna_SpaceImageEditor_show_sequencer_scene_set");
6623 "Show Sequencer Scene",
6624 "Display the render result for the sequencer scene instead of the active scene");
6633 prop,
"rna_SpaceImageEditor_uvedit_get",
nullptr,
nullptr,
nullptr);
6653 "rna_SpaceImageEditor_cursor_location_get",
6654 "rna_SpaceImageEditor_cursor_location_set",
6671 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
6680 "Update Automatically",
6681 "Update other affected window spaces automatically to reflect changes "
6682 "during interactive operations such as transform");
6727 prop,
"Overlay Settings",
"Settings for display of overlays in the UV/Image editor");
6751 prop,
"Safe Areas",
"Show TV title safe and action safe areas in preview");
6758 prop,
"Center-Cut Safe Areas",
"Show safe areas to fit content in a different aspect ratio");
6790 prop,
"Golden Triangle A",
"Display golden triangle A composition guide");
6797 prop,
"Golden Triangle B",
"Display golden triangle B composition guide");
6815 prop,
"Composition Guide Color",
"Color and alpha for compositional guide overlays");
6843 prop,
"Composition Guides",
"Display composition guides over the preview");
6852 srna =
RNA_def_struct(brna,
"SequencerTimelineOverlay",
nullptr);
6863 "Display waveforms for all sound strips"},
6864 {0,
"DEFAULT_WAVEFORMS", 0,
"Strip",
"Display waveforms depending on strip setting"},
6869 "Don't display waveforms for any sound strips"},
6870 {0,
nullptr, 0,
nullptr,
nullptr},
6880 {0,
"FULL_WAVEFORMS", 0,
"Full",
"Display full waveform"},
6885 "Display upper half of the absolute value waveform"},
6886 {0,
nullptr, 0,
nullptr,
nullptr},
6900 "Show single thumbnail in the middle of each strip"},
6905 "Show thumbnails only at the beginning and end of the strip"},
6910 "Display thumbnails as a filmstrip"},
6911 {0,
nullptr, 0,
nullptr,
nullptr}};
6941 prop,
"Show Source",
"Display path to source file, or name of source data-block");
6965 prop,
"Show Color Tags",
"Display the strip color tags in the sequencer");
7013 {0,
nullptr, 0,
nullptr,
nullptr},
7023 {0,
nullptr, 0,
nullptr,
nullptr},
7030 {0,
nullptr, 0,
nullptr,
nullptr},
7036 ICON_IMAGE_RGB_ALPHA,
7038 "Display image with RGB colors and alpha transparency"},
7039 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
7040 {0,
nullptr, 0,
nullptr,
nullptr},
7057 prop,
"View Type",
"Type of the Sequencer view (sequencer, preview or both)");
7065 prop,
"Display Mode",
"View mode to use for displaying sequencer output");
7089 "If any exists, show markers in a separate row at the bottom of the editor");
7097 "Preview all channels less than or equal to this value. 0 shows every channel, and negative "
7098 "values climb that many meta-strip levels if applicable, showing every channel there.");
7113 prop,
"Zoom to Fit",
"Automatically zoom preview image to make it fully fit the region");
7126 "Proxy Render Size",
7127 "Display preview using full resolution or different proxy resolutions");
7135 prop,
"Use Proxies",
"Use optimized files for faster scrubbing when available");
7142 prop,
"rna_SequenceEditor_clamp_view_get",
"rna_SequenceEditor_clamp_view_set");
7144 prop,
"Limit View to Contents",
"Limit timeline height to maximum used channel slot");
7150 "Show Scrubbing Region",
7151 "Region with full playback range for scrubbing in the sequencer");
7159 prop,
nullptr,
nullptr,
nullptr,
"rna_GPencil_datablocks_annotations_poll");
7174 "Preview Edit Point",
7175 "While editing in the timeline, show the affected frame instead of "
7176 "the current frame, such as in the blade tool, or when tweaking handles");
7210 prop,
"rna_SpaceSequenceEditor_preview_overlay_get",
nullptr,
nullptr,
nullptr);
7217 prop,
"rna_SpaceSequenceEditor_timeline_overlay_get",
nullptr,
nullptr,
nullptr);
7224 prop,
"rna_SpaceSequenceEditor_cache_overlay_get",
nullptr,
nullptr,
nullptr);
7240 "rna_SpaceSequenceEditor_zoom_percentage_get",
7241 "rna_SpaceSequenceEditor_zoom_percentage_set",
7273 prop,
"Word Wrap",
"Wrap words if there is not enough horizontal space");
7284 "is_syntax_highlight_supported",
7285 "rna_SpaceTextEditor_text_is_syntax_highlight_supported");
7287 RNA_def_boolean(func,
"is_syntax_highlight_supported",
false,
"",
""));
7289 "Returns True if the editor supports syntax highlighting "
7290 "for the current text data-block");
7336 prop,
"Visible Lines",
"Amount of lines that can be visible in current editor");
7342 prop,
"Overwrite",
"Overwrite characters when typing rather than inserting them");
7354 prop,
"Find All",
"Search in all text data-blocks, instead of only the active one");
7360 prop,
"Find Wrap",
"Search again from the start of the file when reaching the end");
7366 prop,
"Match Case",
"Search string is sensitive to uppercase and lowercase letters");
7377 prop,
"Replace Text",
"Text to replace selected text with using the replace tool");
7403 "Show Scene Strip Range",
7404 "When using scene time synchronization in the sequence editor, display "
7405 "the range of the current scene strip");
7453 "Show Pose Markers",
7454 "Show markers belonging to the active action instead of Scene markers "
7455 "(Action and Shape Key Editors only)");
7461 "Show Handles and Interpolation",
7462 "Display keyframe handle types and non-Bézier interpolation modes");
7468 "Show Curve Extremes",
7469 "Mark keyframes where the key value flow changes direction, based on "
7470 "comparison with adjacent keys");
7478 "If any exists, show markers in a separate row at the bottom of the editor");
7492 "When transforming keyframes, changes to the animation data are flushed to other views");
7539 prop,
"Simulation Nodes",
"Show the active object's simulation nodes cache and bake data");
7556 prop,
"rna_SpaceDopeSheet_overlay_get",
nullptr,
nullptr,
nullptr);
7570 "BOUNDING_BOX_CENTER",
7571 ICON_PIVOT_BOUNDBOX,
7572 "Bounding Box Center",
7576 "INDIVIDUAL_ORIGINS",
7577 ICON_PIVOT_INDIVIDUAL,
7578 "Individual Centers",
7582 {0,
nullptr, 0,
nullptr,
nullptr},
7621 "Auto-Lock Key Axis",
7622 "Automatically locks the movement of keyframes to the dominant axis");
7628 prop,
"Only Selected Keyframes Handles",
"Only show and edit handles of selected keyframes");
7636 "If any exists, show markers in a separate row at the bottom of the editor");
7655 "When transforming keyframes, changes to the animation data are flushed to other views");
7667 prop,
"Cursor X-Value",
"Graph Editor 2D-Value cursor - X-Value component");
7673 prop,
"Cursor Y-Value",
"Graph Editor 2D-Value cursor - Y-Value component");
7693 prop,
"Has Ghost Curves",
"Graph Editor instance has some ghost curves stored");
7699 "Use Normalization",
7700 "Display curves in normalized range from -1 to 1, "
7701 "for easier editing of multiple curves with different ranges");
7709 "Auto Normalization",
7710 "Automatically recalculate curve normalization on every curve edit");
7742 "Show Local Markers",
7743 "Show action-local markers on the strips, useful when synchronizing timing across strips");
7751 "If any exists, show markers in a separate row at the bottom of the editor");
7760 "When transforming strips, changes to the animation data are flushed to other views");
7777 {0,
nullptr, 0,
nullptr,
nullptr},
7788 prop,
"rna_ConsoleLine_body_get",
"rna_ConsoleLine_body_length",
"rna_ConsoleLine_body_set");
7796 "rna_ConsoleLine_current_character_get",
7797 "rna_ConsoleLine_current_character_set",
7859 srna,
"File Select ID Filter",
"Which ID types to show/hide, when browsing a library");
7866 for (
uint i = 0; individual_ids_and_categories[i]; i++) {
7867 for (
int j = 0; individual_ids_and_categories[i][j].
identifier; j++) {
7871 prop,
nullptr,
"filter_id", individual_ids_and_categories[i][j].flag);
7873 individual_ids_and_categories[i][j].name,
7874 individual_ids_and_categories[i][j].description);
7888 "File Select Asset Filter",
7889 "Which asset types to show/hide, when browsing an asset library");
7898 if (is_experimental) {
7900 SNPRINTF(experimental_prop_names[i],
"experimental_%s", identifier);
7901 identifier = experimental_prop_names[i];
7923 "rna_FileBrowser_FileSelectEntry_name_get",
7924 "rna_FileBrowser_FileSelectEntry_name_length",
7931 "rna_FileBrowser_FileSelectEntry_relative_path_get",
7932 "rna_FileBrowser_FileSelectEntry_relative_path_length",
7936 "Path relative to the directory currently displayed in the File "
7937 "Browser (includes the file name)");
7947 "Unique integer identifying the preview of this file as an icon (zero means invalid)",
7952 prop,
"rna_FileBrowser_FileSelectEntry_preview_icon_id_get",
nullptr,
nullptr);
7957 prop,
"rna_FileBrowser_FileSelectEntry_asset_data_get",
nullptr,
nullptr,
nullptr);
7959 prop,
"Asset Data",
"Asset data, valid if the file represents an asset");
7968 {32,
"TINY", 0,
"Tiny",
""},
7969 {64,
"SMALL", 0,
"Small",
""},
7970 {96,
"NORMAL", 0,
"Medium",
""},
7971 {128,
"BIG", 0,
"Big",
""},
7972 {192,
"LARGE", 0,
"Large",
""},
7973 {0,
nullptr, 0,
nullptr,
nullptr},
8001 prop,
"Library Browser",
"Whether we may browse Blender files' content or not");
8016 prop,
nullptr,
nullptr,
"rna_FileSelectParams_recursion_level_itemf");
8029 "File Modification Date",
8030 "Show a column listing the date and time of modification for each file");
8053 prop,
"Reverse Sorting",
"Sort items descending, from highest value to lowest");
8071 prop,
"Filter Blender Backup Files",
"Show .blend1, .blend2, etc. files");
8120 prop,
"Filter Blender IDs",
"Show .blend files items (objects, materials, etc.)");
8127 prop,
"Only Assets",
"Hide .blend files items that are not data-blocks with asset metadata");
8134 prop,
"rna_FileSelectParams_filter_id_get",
nullptr,
nullptr,
nullptr);
8136 prop,
"Filter ID Types",
"Which ID types to show/hide, when browsing a library");
8142 "UNIX shell-like filename patterns matching, supports wildcards ('*') "
8143 "and list of patterns separated by ';'");
8150 prop,
"Name or Tag Filter",
"Filter by name or tag, supports '*' wildcard");
8166 prop,
"Display Size",
"Change the size of thumbnails in discrete steps");
8190 srna =
RNA_def_struct(brna,
"FileAssetSelectParams",
"FileSelectParams");
8192 srna,
"Asset Select Parameters",
"Settings for the file selection in Asset Browser mode");
8195 "rna_FileAssetSelectParams_asset_library_get",
8196 "rna_FileAssetSelectParams_asset_library_set");
8202 "rna_FileAssetSelectParams_catalog_id_get",
8203 "rna_FileAssetSelectParams_catalog_id_length",
8204 "rna_FileAssetSelectParams_catalog_id_set");
8212 prop,
"Catalog Visibility",
"Which assets to show based on catalog filter");
8219 prop,
"rna_FileAssetSelectParams_filter_id_get",
nullptr,
nullptr,
nullptr);
8221 "Filter Asset Types",
8222 "Which asset types to show/hide, when browsing an asset library");
8227 prop,
nullptr,
nullptr,
"rna_FileAssetSelectParams_import_method_itemf");
8237 "Instance Collections on Linking",
8238 "Create instances for collections when linking, rather than adding "
8239 "them directly to the scene");
8245 prop,
"Asset Access",
"Choose the visibility of online and offline assets");
8252 "Instance Collections on Appending",
8253 "Create instances for collections when appending, rather than adding "
8254 "them directly to the scene");
8269 "rna_FileBrowser_FSMenuEntry_path_get",
8270 "rna_FileBrowser_FSMenuEntry_path_length",
8271 "rna_FileBrowser_FSMenuEntry_path_set");
8278 "rna_FileBrowser_FSMenuEntry_name_get",
8279 "rna_FileBrowser_FSMenuEntry_name_length",
8280 "rna_FileBrowser_FSMenuEntry_name_set");
8287 "rna_FileBrowser_FSMenuEntry_icon_get",
8288 "rna_FileBrowser_FSMenuEntry_icon_set",
8295 prop,
"Save",
"Whether this path is saved in bookmarks, or generated from OS");
8316 "Type of the File Editor view (regular file browsing or asset browsing)");
8322 prop,
"rna_FileBrowser_params_get",
nullptr,
"rna_FileBrowser_params_typef",
nullptr);
8324 prop,
"Filebrowser Parameter",
"Parameters and Settings for the Filebrowser");
8339 "FileBrowserFSMenuEntry",
8341 "System's folders (usually root, available hard drives, etc)");
8343 "rna_FileBrowser_FSMenuSystem_data_begin",
8344 "rna_FileBrowser_FSMenu_next",
8345 "rna_FileBrowser_FSMenu_end",
8346 "rna_FileBrowser_FSMenu_get",
8347 "rna_FileBrowser_FSMenuSystem_data_length",
8354 "system_folders_active",
8358 "Active System Folder",
8359 "Index of active system folder (-1 if none)",
8364 "rna_FileBrowser_FSMenuSystem_active_get",
8365 "rna_FileBrowser_FSMenuSystem_active_set",
8366 "rna_FileBrowser_FSMenuSystem_active_range");
8373 "FileBrowserFSMenuEntry",
8375 "System's bookmarks");
8377 "rna_FileBrowser_FSMenuSystemBookmark_data_begin",
8378 "rna_FileBrowser_FSMenu_next",
8379 "rna_FileBrowser_FSMenu_end",
8380 "rna_FileBrowser_FSMenu_get",
8381 "rna_FileBrowser_FSMenuSystemBookmark_data_length",
8388 "system_bookmarks_active",
8392 "Active System Bookmark",
8393 "Index of active system bookmark (-1 if none)",
8398 "rna_FileBrowser_FSMenuSystemBookmark_active_get",
8399 "rna_FileBrowser_FSMenuSystemBookmark_active_set",
8400 "rna_FileBrowser_FSMenuSystemBookmark_active_range");
8406 srna,
"bookmarks",
"FileBrowserFSMenuEntry",
"Bookmarks",
"User's bookmarks");
8408 "rna_FileBrowser_FSMenuBookmark_data_begin",
8409 "rna_FileBrowser_FSMenu_next",
8410 "rna_FileBrowser_FSMenu_end",
8411 "rna_FileBrowser_FSMenu_get",
8412 "rna_FileBrowser_FSMenuBookmark_data_length",
8424 "Index of active bookmark (-1 if none)",
8429 "rna_FileBrowser_FSMenuBookmark_active_get",
8430 "rna_FileBrowser_FSMenuBookmark_active_set",
8431 "rna_FileBrowser_FSMenuBookmark_active_range");
8437 srna,
"recent_folders",
"FileBrowserFSMenuEntry",
"Recent Folders",
"");
8439 "rna_FileBrowser_FSMenuRecent_data_begin",
8440 "rna_FileBrowser_FSMenu_next",
8441 "rna_FileBrowser_FSMenu_end",
8442 "rna_FileBrowser_FSMenu_get",
8443 "rna_FileBrowser_FSMenuRecent_data_length",
8450 "recent_folders_active",
8454 "Active Recent Folder",
8455 "Index of active recent folder (-1 if none)",
8460 "rna_FileBrowser_FSMenuRecent_active_get",
8461 "rna_FileBrowser_FSMenuRecent_active_set",
8462 "rna_FileBrowser_FSMenuRecent_active_range");
8509 {0,
"NAME", 0,
"Name",
"Filter based on the operator name"},
8510 {1,
"KEY", 0,
"Key-Binding",
"Filter based on key bindings"},
8511 {0,
nullptr, 0,
nullptr,
nullptr},
8541 prop,
"Tab Search Results",
"Whether or not each visible tab has a search result");
8546 "rna_SpaceUserPref_search_filter_get",
8547 "rna_SpaceUserPref_search_filter_length",
8548 "rna_SpaceUserPref_search_filter_set");
8584 prop,
"rna_SpaceNodeEditor_path_get",
"rna_SpaceNodeEditor_path_length",
nullptr);
8596 parm =
RNA_def_pointer(func,
"node_tree",
"NodeTree",
"Node Tree",
"");
8599 func =
RNA_def_function(srna,
"append",
"rna_SpaceNodeEditor_path_append");
8603 func,
"node_tree",
"NodeTree",
"Node Tree",
"Node tree to append to the node editor path");
8605 parm =
RNA_def_pointer(func,
"node",
"Node",
"Node",
"Group node linking to this node tree");
8624 "Use the material preview scene for the node previews"},
8625 {0,
nullptr, 0,
nullptr,
nullptr},
8633 srna,
"Overlay Settings",
"Settings for display of overlays in the Node Editor");
8645 prop,
"Show Wire Colors",
"Color node links based on their connected sockets");
8653 "Show Reroute Auto Labels",
8654 "Label reroute nodes based on the label of connected reroute nodes");
8673 prop,
"Show Named Attributes",
"Show when nodes are using named attributes");
8680 prop,
"Show Node Previews",
"Display each node's preview if node is toggled");
8705 prop,
"Passepartout Alpha",
"Opacity of the darkened overlay outside the render region");
8715 {
SNODE_TEX_WORLD,
"WORLD", ICON_WORLD_DATA,
"World",
"Edit texture nodes from World"},
8716 {
SNODE_TEX_BRUSH,
"BRUSH", ICON_BRUSH_DATA,
"Brush",
"Edit texture nodes from Brush"},
8717# ifdef WITH_FREESTYLE
8722 "Edit texture nodes from Line Style"},
8724 {0,
nullptr, 0,
nullptr,
nullptr},
8728 {
SNODE_SHADER_OBJECT,
"OBJECT", ICON_OBJECT_DATA,
"Object",
"Edit shader nodes from Object"},
8729 {
SNODE_SHADER_WORLD,
"WORLD", ICON_WORLD_DATA,
"World",
"Edit shader nodes from World"},
8730# ifdef WITH_FREESTYLE
8735 "Edit shader nodes from Line Style"},
8737 {0,
nullptr, 0,
nullptr,
nullptr},
8743 ICON_IMAGE_RGB_ALPHA,
8745 "Display image with RGB colors and alpha transparency"},
8746 {0,
"COLOR", ICON_IMAGE_RGB,
"Color",
"Display image with RGB colors"},
8747 {
SNODE_SHOW_ALPHA,
"ALPHA", ICON_IMAGE_ALPHA,
"Alpha",
"Display alpha transparency channel"},
8751 {0,
nullptr, 0,
nullptr,
nullptr},
8757 {0,
nullptr, 0,
nullptr,
nullptr},
8770 "rna_SpaceNodeEditor_tree_type_get",
8771 "rna_SpaceNodeEditor_tree_type_set",
8772 "rna_SpaceNodeEditor_tree_type_itemf");
8795 prop,
nullptr,
nullptr,
"rna_SpaceNodeEditor_node_tree_sub_type_itemf");
8808 prop,
"ID From",
"Data-block from which the edited data-block is linked");
8814 prop,
"Node Tree Path",
"Path from the data-block to the currently edited node tree");
8820 "rna_SpaceNodeEditor_node_tree_set",
8822 "rna_SpaceNodeEditor_node_tree_poll");
8843 prop,
"Backdrop",
"Use active Viewer Node output as backdrop for compositing nodes");
8850 prop,
nullptr,
nullptr,
nullptr,
"rna_SpaceNodeEditor_selected_node_group_poll");
8883 "rna_SpaceNodeEditor_cursor_location_get",
8884 "rna_SpaceNodeEditor_cursor_location_set",
8893 prop,
"Auto-offset Direction",
"Direction to offset nodes on insertion");
8914 prop,
"Overlay Settings",
"Settings for display of overlays in the Node Editor");
8920 "Supports Previews",
8921 "Whether the node editor's type supports displaying node previews");
8937 srna,
"Overlay Settings",
"Settings for display of overlays in the Movie Clip editor");
8956 {
SC_VIEW_CLIP,
"CLIP", ICON_SEQUENCE,
"Clip",
"Show editing clip preview"},
8957 {
SC_VIEW_GRAPH,
"GRAPH", ICON_GRAPH,
"Graph",
"Show graph view for active element"},
8962 "Dope Sheet view for tracking data"},
8963 {0,
nullptr, 0,
nullptr,
nullptr},
8971 "Show annotation data-block which belongs to movie clip"},
8976 "Show annotation data-block which belongs to active track"},
8977 {0,
nullptr, 0,
nullptr,
nullptr},
8982 "BOUNDING_BOX_CENTER",
8983 ICON_PIVOT_BOUNDBOX,
8984 "Bounding Box Center",
8985 "Pivot around bounding box center of selected object(s)"},
8986 {
V3D_AROUND_CURSOR,
"CURSOR", ICON_PIVOT_CURSOR,
"2D Cursor",
"Pivot around the 2D cursor"},
8988 "INDIVIDUAL_ORIGINS",
8989 ICON_PIVOT_INDIVIDUAL,
8990 "Individual Origins",
8991 "Pivot around each object's own origin"},
8996 "Pivot around the median point of selected objects"},
8997 {0,
nullptr, 0,
nullptr,
nullptr},
9022 prop,
"Movie Clip User",
"Parameters defining which frame of the movie clip is displayed");
9059 prop,
"Lock to Selection",
"Lock viewport to selected markers during playback");
9067 prop,
"Lock to Time Cursor",
"Lock curves view to time cursor during playback and tracking");
9135 prop,
"Show Stable",
"Show stable footage in editor (if stabilization is enabled)");
9162 "Show curve for per-frame average error (camera motion should be solved first)");
9169 prop,
"Show Tracks Motion",
"Display speed curves for the selected tracks");
9176 prop,
"Show Tracks Error",
"Display the reprojection error curve for selected tracks");
9183 prop,
"Only Show Selected",
"Only include channels relating to selected objects and data");
9191 prop,
"Display Hidden",
"Include channels from objects/bone that are not visible");
9267 "rna_SpaceClipEditor_zoom_percentage_get",
9268 "rna_SpaceClipEditor_zoom_percentage_set",
9281 prop,
"Overlay Settings",
"Settings for display of overlays in the Movie Clip editor");
9294 srna,
"Spreadsheet Column ID",
"Data used to identify a spreadsheet column");
9311 {0,
nullptr, 0,
nullptr,
nullptr},
9317 srna,
"Spreadsheet Column",
"Persistent data associated with a spreadsheet column");
9323 prop,
"Data Type",
"The data type of the corresponding column visible in the spreadsheet");
9332 prop,
"ID",
"Data used to identify the corresponding data from the data source");
9342 srna,
"Spreadsheet Table ID",
"Data used to identify a spreadsheet table");
9357 srna =
RNA_def_struct(brna,
"SpreadsheetTableIDGeometry",
"SpreadsheetTableID");
9368 prop,
"Geometry Component",
"Part of the geometry to display data from");
9407 "rna_iterator_SpreadsheetTable_columns_begin",
9408 "rna_iterator_array_next",
9409 "rna_iterator_array_end",
9410 "rna_iterator_array_dereference_get",
9411 "rna_iterator_SpreadsheetTable_columns_length",
9426 "Spreadsheet Tables",
9427 "Active table and persisted state of previously displayed tables");
9432 prop,
"rna_SpreadsheetTables_active_get",
nullptr,
nullptr,
nullptr);
9445 {0,
nullptr, 0,
nullptr,
nullptr},
9541 "FOREACH_GEOMETRY_ELEMENT_ZONE",
9543 "For Each Geometry Element",
9546 {0,
nullptr, 0,
nullptr,
nullptr},
9565 prop,
"UI Name",
"Name that can be displayed in the UI for this element");
9574 srna =
RNA_def_struct(brna,
"IDViewerPathElem",
"ViewerPathElem");
9585 srna =
RNA_def_struct(brna,
"ModifierViewerPathElem",
"ViewerPathElem");
9596 srna =
RNA_def_struct(brna,
"GroupNodeViewerPathElem",
"ViewerPathElem");
9607 srna =
RNA_def_struct(brna,
"SimulationZoneViewerPathElem",
"ViewerPathElem");
9618 srna =
RNA_def_struct(brna,
"RepeatZoneViewerPathElem",
"ViewerPathElem");
9629 srna =
RNA_def_struct(brna,
"ForeachGeometryElementZoneViewerPathElem",
"ViewerPathElem");
9640 srna =
RNA_def_struct(brna,
"EvaluateClosureNodeViewerPathElem",
"ViewerPathElem");
9657 srna =
RNA_def_struct(brna,
"ViewerNodeViewerPathElem",
"ViewerPathElem");
9710 "Show Internal Attributes",
9711 "Display attributes with names starting with a period that are meant for internal use");
9722 prop,
"Viewer Path",
"Path to the data that is displayed in the spreadsheet");
9727 prop,
"Show Only Selected",
"Only include rows that correspond to selected elements");
9741 prop,
"Geometry Component",
"Part of the geometry to display data from");
9744 "rna_SpaceSpreadsheet_geometry_component_type_update");
9750 prop,
nullptr,
nullptr,
"rna_SpaceSpreadsheet_attribute_domain_itemf");
9764 "rna_iterator_SpaceSpreadsheet_tables_begin",
9765 "rna_iterator_array_next",
9766 "rna_iterator_array_end",
9767 "rna_iterator_array_dereference_get",
9768 "rna_iterator_SpaceSpreadsheet_tables_length",
9773 prop,
"Tables",
"Persistent data for the tables shown in this spreadsheet editor");
9799 "rna_SpaceProject_active_section_get",
9800 "rna_SpaceProject_active_section_set",
9801 "rna_SpaceProject_active_section_itemf");
Main runtime representation of an asset.
#define SNPRINTF(dst, format,...)
#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
#define FILTER_ID_GD_LEGACY
#define FILTER_ID_CU_LEGACY
Object is a sort of wrapper for general info.
#define RV3D_VIEW_IS_AXIS(view)
#define ED_ASSET_TYPE_IDS_NON_EXPERIMENTAL_FLAGS
#define RNA_MAX_ARRAY_DIMENSION
#define RNA_TRANSLATION_PREC_DEFAULT
#define RNA_ENUM_ITEM_HEADING(name, description)
#define UI_PANEL_CATEGORY_MIN_WIDTH
#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
#define BLI_assert_unreachable()
#define SET_FLAG_FROM_TEST(value, test, flag)
#define BLI_assert_msg(a, msg)
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
SIMD_FORCE_INLINE btScalar length() const
Return the length of the vector.
constexpr IndexRange()=default
constexpr const char * c_str() const
constexpr T clamp(T, U, U) RET
ccl_device_inline dual1 len(const ccl_private dual< T > &a)
Scene * scene_or_sequencer_scene_from_context(const bContext &C)
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)
bool proxy_build_start(Main *bmain, Scene *scene, Strip *strip, Set< std::string > *processed_paths, bool build_only_on_bad_performance, Vector< ProxyBuildContext * > &r_queue)
ListBaseT< Strip > * active_seqbase_get(const Editing *ed)
IMB_Proxy_Size rendersize_to_proxysize(eSpaceSeq_Proxy_RenderSize render_size)
Editing * editing_get(const Scene *scene)
constexpr int MAX_CHANNELS
ProxyJob * ED_seq_proxy_job_get(const bContext *C, wmJob *wm_job)
wmJob * ED_seq_proxy_wm_job_get(const bContext *C)
void cache_cleanup(Scene *scene, CacheCleanup mode)
void view2d_region_to_view(const View2D *v2d, float x, float y, float *r_view_x, float *r_view_y) ATTR_NONNULL()
void view2d_sync(bScreen *screen, ScrArea *area, View2D *v2dcur, int flag)
void ED_area_type_hud_ensure(bContext *C, ScrArea *area)
bool view2d_area_supports_sync(ScrArea *area)
void RE_engine_view_pause_set(RenderEngine *engine, const bool pause)
@ V3D_OVERLAY_HIDE_OBJECT_ORIGINS
@ V3D_OVERLAY_SCULPT_SHOW_MASK
@ V3D_OVERLAY_FADE_INACTIVE
@ V3D_OVERLAY_VIEWER_ATTRIBUTE
@ V3D_OVERLAY_ONION_SKINS
@ V3D_OVERLAY_HIDE_MOTION_PATHS
@ V3D_OVERLAY_SCULPT_SHOW_FACE_SETS
@ V3D_OVERLAY_SCULPT_CURVES_CAGE
@ V3D_OVERLAY_VIEWER_ATTRIBUTE_TEXT
@ V3D_OVERLAY_PERFORMANCE
@ V3D_OVERLAY_HIDE_OBJECT_XTRAS
@ V3D_OVERLAY_SHOW_LIGHT_COLORS
@ V3D_OVERLAY_FACE_ORIENTATION
@ V3D_OVERLAY_BONE_SELECT
@ V3D_OVERLAY_HIDE_CURSOR
void WM_main_add_notifier(uint type, void *reference)
bool ED_node_is_compositor(const SpaceNode *snode)
static const EnumPropertyItem fileselectparams_display_type_items[]
void RNA_def_property_srna(PropertyRNA *prop, const char *type)
static void rna_def_id_viewer_path_elem(BlenderRNA *brna)
BLI_assert(slot->slot_subtype.map==BMO_OP_SLOT_SUBTYPE_MAP_FLT)
void RNA_def_struct_ui_text(StructRNA *srna, const char *name, const char *description)
eSpaceSeq_Proxy_RenderSize
@ SEQ_RENDER_SIZE_PROXY_75
@ SEQ_RENDER_SIZE_PROXY_50
@ SEQ_RENDER_SIZE_PROXY_100
@ SEQ_RENDER_SIZE_PROXY_25
@ SI_PIXEL_ROUND_DISABLED
MINLINE void negate_v3_v3(float r[3], const float a[3])
static const EnumPropertyItem rna_enum_space_image_mode_ui_items[]
static void rna_def_space_text(BlenderRNA *brna)
@ SEQ_GIZMO_HIDE_NAVIGATE
void RNA_def_property_editable_func(PropertyRNA *prop, const char *editable)
@ SO_FILTER_NO_OB_MATERIAL
@ SO_FILTER_NO_OB_CONSTRAINTS
@ SO_FILTER_NO_OB_SHAPE_KEYS
@ SO_FILTER_NO_ARMATURE_BONE_COLLECTION
@ SO_FILTER_NO_OB_ARMATURE
@ SO_FILTER_NO_OB_MODIFIERS
@ SO_FILTER_NO_OB_GREASE_PENCIL
@ SO_FILTER_NO_VIEW_LAYERS
@ SO_FILTER_OB_STATE_INVERSE
@ SO_FILTER_NO_GREASE_PENCIL_EFFECTS
@ SO_FILTER_NO_POSE_BONES
@ SO_FILTER_NO_OB_CONTENT
@ SO_FILTER_NO_OB_DEFGROUP
@ SO_FILTER_NO_COLLECTION
@ SO_FILTER_SHOW_SYSTEM_OVERRIDES
@ SO_FILTER_NO_OB_ANIMATION
static void rna_def_spreadsheet_table_id(BlenderRNA *brna)
bool ED_view3d_quat_to_axis_view_and_reset_quat(float quat[4], float epsilon, eRegionView3D_View *r_view, eRegionView3D_ViewAxisRoll *r_view_axis_roll)
@ MASK_OVERLAY_ALPHACHANNEL
@ COMPOSITION_GUIDES_THIRDS
@ COMPOSITION_GUIDES_GOLDEN
@ COMPOSITION_GUIDES_CENTER_DIAG
@ COMPOSITION_GUIDES_HARMONY_TRI_B
@ COMPOSITION_GUIDES_GOLDEN_TRI_A
@ COMPOSITION_GUIDES_HARMONY_TRI_A
@ COMPOSITION_GUIDES_CENTER
@ COMPOSITION_GUIDES_GOLDEN_TRI_B
@ FILE_ASSET_IMPORT_FOLLOW_PREFS
@ FILE_ASSET_IMPORT_APPEND_REUSE
@ FILE_ASSET_IMPORT_APPEND
void RNA_enum_item_add(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item)
ScrArea * CTX_wm_area(const bContext *C)
void ED_node_tree_push(ARegion *region, SpaceNode *snode, bNodeTree *ntree, bNode *gnode)
void RNA_def_property_ui_text(PropertyRNA *prop, const char *name, const char *description)
static void rna_def_space_userpref(BlenderRNA *brna)
@ STUDIOLIGHT_EXTERNAL_FILE
@ STUDIOLIGHT_TYPE_MATCAP
@ STUDIOLIGHT_TYPE_STUDIO
const EnumPropertyItem rna_enum_shading_type_items[]
char * STRNCPY(char(&dst)[N], const char *src)
void RNA_def_property_dynamic_array_funcs(PropertyRNA *prop, const char *getlength)
ViewLayer * WM_windows_view_layer_get_from_screen(const wmWindowManager *wm, const bScreen *screen)
void RNA_def_property_string_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void BKE_image_multiview_index(const Image *ima, ImageUser *iuser)
@ SEQ_TIMELINE_ALL_WAVEFORMS
@ SEQ_TIMELINE_SHOW_STRIP_OFFSETS
@ SEQ_TIMELINE_SHOW_STRIP_DURATION
@ SEQ_TIMELINE_SHOW_STRIP_NAME
@ SEQ_TIMELINE_MIDDLE_THUMBNAILS
@ SEQ_TIMELINE_NO_WAVEFORMS
@ SEQ_TIMELINE_STRIP_END_THUMBNAILS
@ SEQ_TIMELINE_SHOW_STRIP_RETIMING
@ SEQ_TIMELINE_SHOW_FCURVES
@ SEQ_TIMELINE_SHOW_STRIP_SOURCE
@ SEQ_TIMELINE_SHOW_THUMBNAILS
@ SEQ_TIMELINE_WAVEFORMS_HALF
@ SEQ_TIMELINE_CONTINUOUS_THUMBNAILS
@ SEQ_TIMELINE_SHOW_STRIP_COLOR_TAG
void ED_file_change_dir_ex(bContext *C, ScrArea *area)
@ SPREADSHEET_FILTER_SELECTED_ONLY
@ SPREADSHEET_FILTER_ENABLE
bool ED_node_is_geometry(const SpaceNode *snode)
static void rna_def_simulation_zone_viewer_path_elem(BlenderRNA *brna)
const EnumPropertyItem rna_enum_id_type_items[]
static void rna_def_spreadsheet_row_filter(BlenderRNA *brna)
void RNA_def_property_boolean_negative_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
Scene * CTX_data_sequencer_scene(const bContext *C)
void RNA_def_property_enum_default(PropertyRNA *prop, int value)
const EnumPropertyItem rna_enum_transform_pivot_full_items[]
bool ED_view3d_local_collections_set(const Main *bmain, View3D *v3d)
void RNA_def_property_enum_default_func(PropertyRNA *prop, const char *get_default)
const EnumPropertyItem rna_enum_space_type_items[]
static void rna_def_space_clip_overlay(BlenderRNA *brna)
const EnumPropertyItem rna_enum_geometry_item_type_items[]
int rna_node_tree_idname_to_enum(const char *idname)
bool RNA_struct_is_a(const StructRNA *type, const StructRNA *srna)
int ED_file_icon(const FileDirEntry *file)
void RNA_api_region_view3d(StructRNA *srna)
@ V3D_SHADING_USE_COMPOSITOR_CAMERA
@ V3D_SHADING_USE_COMPOSITOR_ALWAYS
@ V3D_SHADING_USE_COMPOSITOR_DISABLED
static void rna_def_space_dopesheet_overlays(BlenderRNA *brna)
void * MEM_new_array_uninitialized(size_t len, size_t size, const char *str) ATTR_WARN_UNUSED_RESULT ATTR_ALLOC_SIZE(1
SpaceNodeGeometryNodesType
@ SNODE_GEOMETRY_MODIFIER
@ V2D_VIEWSYNC_SCREEN_TIME
static void rna_def_space_properties(BlenderRNA *brna)
const char * ED_buttons_search_string_get(SpaceProperties *sbuts)
void RNA_def_property_float_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
void RNA_def_property_pointer_sdna(PropertyRNA *prop, const char *structname, const char *propname)
int ED_space_text_visible_lines_get(const SpaceText *st)
bool ED_space_image_check_show_maskedit(SpaceImage *sima, Object *obedit)
@ RGN_TYPE_ASSET_SHELF_HEADER
const EnumPropertyItem rna_enum_space_file_browse_mode_items[]
static const EnumPropertyItem viewer_path_elem_type_items[]
void RNA_def_property_pointer_funcs(PropertyRNA *prop, const char *get, const char *set, const char *type_fn, const char *poll)
int ED_node_tree_path_length(SpaceNode *snode)
@ V3D_GIZMO_SHOW_OBJECT_TRANSLATE
@ V3D_GIZMO_SHOW_OBJECT_SCALE
@ V3D_GIZMO_SHOW_OBJECT_ROTATE
void RNA_def_property_collection_sdna(PropertyRNA *prop, const char *structname, const char *propname, const char *lengthpropname)
PointerRNA RNA_id_pointer_create(ID *id)
@ ASSET_LIBRARY_USE_REMOTE_URL
@ ANIM_UNITCONV_NORMALIZE
void RNA_def_struct_refine_func(StructRNA *srna, const char *refine)
const EnumPropertyItem buttons_context_items[]
void ED_node_tree_pop(ARegion *region, SpaceNode *snode)
bool WM_xr_session_exists(const wmXrData *xr)
@ FILE_SORT_ASSET_CATALOG
MINLINE void copy_v2_v2(float r[2], const float a[2])
void RNA_def_property_boolean_funcs(PropertyRNA *prop, const char *get, const char *set)
FSMenuEntry * ED_fsmenu_get_entry(FSMenu *fsmenu, FSMenuCategory category, int idx)
StructRNA * ID_code_to_RNA_type(short idcode)
static void rna_def_space_view3d(BlenderRNA *brna)
void RNA_def_property_multi_array(PropertyRNA *prop, int dimension, const int length[])
@ SPREADSHEET_OBJECT_EVAL_STATE_VIEWER_NODE
@ SPREADSHEET_OBJECT_EVAL_STATE_ORIGINAL
@ SPREADSHEET_OBJECT_EVAL_STATE_EVALUATED
char * ED_fsmenu_entry_get_name(FSMenuEntry *fsentry)
void RNA_def_struct_system_idprops_func(StructRNA *srna, const char *system_idproperties)
void ED_node_cursor_location_get(const SpaceNode *snode, float value[2])
static void rna_def_space_sequencer_preview_overlay(BlenderRNA *brna)
static EnumPropertyItem rna_enum_space_action_mode_all_items[]
static void rna_def_console_line(BlenderRNA *brna)
void RNA_def_function_ui_description(FunctionRNA *func, const char *description)
void ED_fsmenu_entry_set_path(FSMenuEntry *fsentry, const char *path)
bool BKE_regiontype_uses_category_tabs(const ARegionType *region_type)
static void rna_def_fileselect_params(BlenderRNA *brna)
ImBuf * ED_space_image_acquire_buffer(SpaceImage *sima, void **r_lock, int tile, const bool ensure_host_buffer)
bool ANIM_animdata_get_context(const bContext *C, bAnimContext *ac)
bool invert_m4_m4(float inverse[4][4], const float mat[4][4])
void BLI_rctf_resize(struct rctf *rect, float x, float y)
static const EnumPropertyItem dt_uv_items[]
void ED_space_image_get_size(SpaceImage *sima, int *r_width, int *r_height)
static void rna_def_spreadsheet_column_id(BlenderRNA *brna)
@ V3D_AROUND_CENTER_BOUNDS
@ V3D_AROUND_LOCAL_ORIGINS
@ V3D_AROUND_CENTER_MEDIAN
PropertyRNA * RNA_def_pointer(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
static void rna_def_spreadsheet_tables(BlenderRNA *brna)
@ SPREADSHEET_FLAG_SHOW_INTERNAL_ATTRIBUTES
@ SPREADSHEET_FLAG_PINNED
@ SNODE_GIZMO_HIDE_ACTIVE_NODE
void rna_def_object_type_visibility_flags_common(StructRNA *srna, int noteflag, const char *update_func)
struct bUserAssetLibrary * BKE_preferences_asset_library_find_index(const struct UserDef *userdef, int index) ATTR_NONNULL() ATTR_WARN_UNUSED_RESULT
@ FILE_BROWSE_MODE_ASSETS
@ GEO_NODE_ASSET_MODIFIER
const IDFilterEnumPropertyItem rna_enum_id_type_filter_items[]
void RNA_def_property_struct_type(PropertyRNA *prop, const char *type)
static const EnumPropertyItem display_channels_items[]
void ED_region_search_filter_update(const ScrArea *area, ARegion *region)
@ SEQ_VIEW_SEQUENCE_PREVIEW
void ED_node_tree_start(ARegion *region, SpaceNode *snode, bNodeTree *ntree, ID *id, ID *from)
@ SI_OVERLAY_SHOW_OVERLAYS
@ SI_OVERLAY_SHOW_GRID_BACKGROUND
@ SI_OVERLAY_DRAW_TEXT_INFO
@ SI_OVERLAY_DRAW_RENDER_REGION
const EnumPropertyItem rna_enum_geometry_component_type_items[]
static void rna_def_viewer_node_viewer_path_elem(BlenderRNA *brna)
ARegion ARegion ScrArea ARegion * BKE_screen_find_region_in_space(const bScreen *screen, const SpaceLink *sl, int region_type) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
void RNA_def_space(BlenderRNA *brna)
void invert_qt_qt(float q1[4], const float q2[4])
const EnumPropertyItem rna_enum_fileselect_params_sort_items[]
Vector< eSpaceButtons_Context > ED_buttons_tabs_list(const SpaceProperties *sbuts, bool apply_filter=true)
ViewLayer * WM_window_get_active_view_layer(const wmWindow *win)
void ED_region_tag_redraw(ARegion *region)
void RNA_def_struct_nested(BlenderRNA *brna, StructRNA *srna, const char *structname)
void ED_space_image_release_buffer(SpaceImage *sima, ImBuf *ibuf, void *lock)
bool ED_userpref_tab_has_search_result(SpaceUserPref *sprefs, int index)
@ V3D_SHADING_WORLD_ORIENTATION
@ V3D_SHADING_SCENE_WORLD
@ V3D_SHADING_BACKFACE_CULLING
@ V3D_SHADING_STUDIOLIGHT_VIEW_ROTATION
@ V3D_SHADING_XRAY_WIREFRAME
@ V3D_SHADING_SCENE_LIGHTS
@ V3D_SHADING_MATCAP_FLIP_X
@ V3D_SHADING_SCENE_LIGHTS_RENDER
@ V3D_SHADING_OBJECT_OUTLINE
@ V3D_SHADING_SPECULAR_HIGHLIGHT
@ V3D_SHADING_DEPTH_OF_FIELD
@ V3D_SHADING_SCENE_WORLD_RENDER
void ED_space_image_set(Main *bmain, SpaceImage *sima, Image *ima, bool automatic)
int rna_AssetMetaData_editable(const PointerRNA *ptr, const char **r_info)
void RNA_def_property_enum_bitflag_sdna(PropertyRNA *prop, const char *structname, const char *propname)
void RNA_define_animate_sdna(bool animate)
const EnumPropertyItem rna_enum_space_action_mode_items[]
@ V3D_SHOW_RECONSTRUCTION
@ V3D_SHOW_CAMERA_PASSEPARTOUT
ViewLayer * CTX_data_view_layer(const bContext *C)
@ SPREADSHEET_GEOMETRY_ITEM_TYPE_DOMAIN
@ SPREADSHEET_GEOMETRY_ITEM_TYPE_BUNDLE
@ USER_SEQ_PROXY_SETUP_AUTOMATIC
int ED_fsmenu_entry_get_icon(FSMenuEntry *fsentry)
void RNA_def_property_ui_range(PropertyRNA *prop, double min, double max, double step, int precision)
@ ADS_OVERLAY_SHOW_OVERLAYS
@ ADS_SHOW_SCENE_STRIP_FRAME_RANGE
void RNA_def_property_float_sdna(PropertyRNA *prop, const char *structname, const char *propname)
static const EnumPropertyItem stereo3d_eye_items[]
static void rna_def_space_filebrowser(BlenderRNA *brna)
@ RGN_ALIGN_HIDE_WITH_PREV
@ SPREADSHEET_ROW_FILTER_BOOL_VALUE
@ SPREADSHEET_ROW_FILTER_UI_EXPAND
@ SPREADSHEET_ROW_FILTER_ENABLED
static void rna_def_spreadsheet_table(BlenderRNA *brna)
void WM_jobs_start(wmWindowManager *wm, wmJob *wm_job)
void RNA_def_property_float_default(PropertyRNA *prop, float value)
@ SO_RESTRICT_INDIRECT_ONLY
void ED_fsmenu_entry_set_name(FSMenuEntry *fsentry, const char *name)
void ED_space_text_scroll_to_cursor(SpaceText *st, ARegion *region, bool center)
static const EnumPropertyItem rna_enum_curve_display_handle_items[]
void ED_space_clip_set_mask(bContext *C, SpaceClip *sc, Mask *mask)
struct StudioLight * BKE_studiolight_findindex(int index, int flag)
struct StudioLight * BKE_studiolight_find(const char *name, int flag)
static void rna_def_space_properties_filter(StructRNA *srna)
@ TIME_CACHE_DYNAMICPAINT
@ TIME_CACHE_SIMULATION_NODES
static const EnumPropertyItem stereo3d_camera_items[]
@ SEQ_OVERLAY_FRAME_TYPE_CURRENT
@ SEQ_OVERLAY_FRAME_TYPE_REFERENCE
@ SEQ_OVERLAY_FRAME_TYPE_RECT
PropertyRNA * RNA_def_property(StructOrFunctionRNA *cont_, const char *identifier_c_str, int type, int subtype)
static const EnumPropertyItem spreadsheet_table_id_type_items[]
@ V3D_SHADING_CAVITY_SSAO
@ V3D_SHADING_CAVITY_CURVATURE
@ V3D_SHADING_CAVITY_BOTH
void * BLI_findlink(const ListBase *listbase, int number) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
@ SNODE_COMPOSITOR_SEQUENCER
int BLI_findstringindex(const ListBase *listbase, const char *id, int offset) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
int BLI_findindex(const ListBase *listbase, const void *vlink) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
static void rna_def_space_sequencer_cache_overlay(BlenderRNA *brna)
static void rna_def_group_node_viewer_path_elem(BlenderRNA *brna)
BLI_INLINE int BLI_rcti_size_y(const struct rcti *rct)
@ SC_SHOW_GRAPH_TRACKS_MOTION
@ SC_SHOW_GRAPH_TRACKS_ERROR
char * BLI_strncpy(char *__restrict dst, const char *__restrict src, size_t dst_maxncpy) ATTR_NONNULL(1
void RNA_def_struct_sdna(StructRNA *srna, const char *structname)
void RNA_def_parameter_clear_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
void RNA_def_property_enum_items(PropertyRNA *prop, const EnumPropertyItem *item)
void ED_region_visibility_change_update_animated(bContext *C, ScrArea *area, ARegion *region)
Scene * WM_window_get_active_scene(const wmWindow *win)
bool ED_space_image_show_paint(const SpaceImage *sima)
ListBaseT< StudioLight > & BKE_studiolight_listbase()
bool BKE_scene_uses_blender_eevee(const Scene *scene)
bool ED_space_image_show_render(const SpaceImage *sima)
@ USER_SECTION_EXTENSIONS
size_t ANIM_animdata_filter(bAnimContext *ac, ListBaseT< bAnimListElem > *anim_data, const eAnimFilter_Flags filter_mode, void *data, const eAnimCont_Types datatype)
static void rna_def_space_info(BlenderRNA *brna)
static void rna_def_viewer_path(BlenderRNA *brna)
@ SI_GIZMO_HIDE_ACTIVE_NODE
static void rna_def_space_generic_show_region_toggles(StructRNA *srna, int region_type_mask)
@ ANIMFILTER_LIST_VISIBLE
@ ANIMFILTER_DATA_VISIBLE
@ ANIMFILTER_CURVE_VISIBLE
void RNA_def_parameter_flags(PropertyRNA *prop, PropertyFlag flag_property, ParameterFlag flag_parameter)
PropertyRNA * rna_def_asset_library_ui_reference_common(StructRNA *srna, const char *get, const char *set)
int rna_object_type_visibility_icon_get_common(int object_type_exclude_viewport, const int *object_type_exclude_select)
@ SEQ_DRAW_EDIT_POINT_PREVIEW
RenderPass * BKE_image_multilayer_index(RenderResult *rr, ImageUser *iuser)
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)
bke::bNodeTreeType * rna_node_tree_type_from_enum(int value)
static const EnumPropertyItem rna_enum_asset_catalog_visibility_items[]
void RNA_def_property_int_funcs(PropertyRNA *prop, const char *get, const char *set, const char *range)
int ED_buttons_search_string_length(SpaceProperties *sbuts)
Object * BKE_view_layer_edit_object_get(const ViewLayer *view_layer)
void DEG_id_tag_update(ID *id, unsigned int flags)
const EnumPropertyItem rna_enum_space_sequencer_view_type_items[]
BMesh const char void * data
static void rna_def_fileselect_asset_params(BlenderRNA *brna)
static void rna_def_filemenu_entry(BlenderRNA *brna)
wmWindowManager * CTX_wm_manager(const bContext *C)
void RNA_def_property_boolean_sdna(PropertyRNA *prop, const char *structname, const char *propname, int64_t booleanbit)
void RNA_def_property_range(PropertyRNA *prop, double min, double max)
@ SPREADSHEET_ROW_FILTER_GREATER
@ SPREADSHEET_ROW_FILTER_EQUAL
@ SPREADSHEET_ROW_FILTER_LESS
@ SEQ_PREVIEW_SHOW_SAFE_CENTER
@ SEQ_PREVIEW_SHOW_METADATA
@ SEQ_PREVIEW_SHOW_OUTLINE_SELECTED
@ SEQ_PREVIEW_SHOW_COMPOSITION_GUIDES
@ SEQ_PREVIEW_SHOW_GPENCIL
@ SEQ_PREVIEW_SHOW_2D_CURSOR
@ SEQ_PREVIEW_SHOW_SAFE_MARGINS
const EnumPropertyItem rna_enum_space_image_mode_items[]
const EnumPropertyItem rna_enum_space_graph_mode_items[]
@ VIEWER_PATH_ELEM_TYPE_REPEAT_ZONE
@ VIEWER_PATH_ELEM_TYPE_SIMULATION_ZONE
@ VIEWER_PATH_ELEM_TYPE_MODIFIER
@ VIEWER_PATH_ELEM_TYPE_GROUP_NODE
@ VIEWER_PATH_ELEM_TYPE_VIEWER_NODE
@ VIEWER_PATH_ELEM_TYPE_EVALUATE_CLOSURE
@ VIEWER_PATH_ELEM_TYPE_FOREACH_GEOMETRY_ELEMENT_ZONE
@ VIEWER_PATH_ELEM_TYPE_ID
void RNA_def_struct_path_func(StructRNA *srna, const char *path)
static void rna_def_node_tree_path(BlenderRNA *brna)
@ SO_FILTER_OB_SELECTABLE
@ V3D_GIZMO_SHOW_CAMERA_DOF_DIST
@ V3D_GIZMO_SHOW_CAMERA_LENS
static void rna_def_space_sequencer(BlenderRNA *brna)
@ SEQ_CACHE_SHOW_FINAL_OUT
void RNA_def_function_return(FunctionRNA *func, PropertyRNA *ret)
bool BKE_layer_collection_local_sync(const Main &bmain, const Scene *scene, ViewLayer *view_layer, const View3D *v3d)
Vector< int > ED_userpref_tabs_list(SpaceUserPref *prefs)
static const EnumPropertyItem rna_enum_fileselect_params_asset_import_method_items[]
bool BKE_view_layer_synced_ensure(const Main &bmain, const Scene *scene, ViewLayer *view_layer)
@ BCONTEXT_STRIP_MODIFIER
@ BCONTEXT_BONE_CONSTRAINT
@ FILE_ASSET_IMPORT_INSTANCE_COLLECTIONS_ON_APPEND
@ FILE_ASSET_IMPORT_INSTANCE_COLLECTIONS_ON_LINK
bool BLI_path_extension_glob_validate(char *ext_fnmatch) ATTR_NONNULL(1)
static void rna_def_space_node_path_api(BlenderRNA *brna, PropertyRNA *cprop)
float ED_view3d_grid_scale(const Scene *scene, const View3D *v3d, const char **r_grid_unit)
static void rna_def_space_image_overlay(BlenderRNA *brna)
static void rna_def_space_graph(BlenderRNA *brna)
PointerRNA RNA_pointer_create_discrete(ID *id, StructRNA *type, void *data)
static void rna_def_space_dopesheet(BlenderRNA *brna)
@ V3D_GP_ONION_SKIN_ACTIVE_OBJECT
@ V3D_GP_SHOW_MATERIAL_NAME
@ V3D_GP_SHOW_STROKE_DIRECTION
@ V3D_GP_FADE_NOACTIVE_LAYERS
@ V3D_GP_SHOW_MULTIEDIT_LINES
@ V3D_GP_FADE_NOACTIVE_GPENCIL
void RNA_enum_items_add_value(EnumPropertyItem **items, int *totitem, const EnumPropertyItem *item, int value)
@ V3D_GIZMO_SHOW_LIGHT_LOOK_AT
@ V3D_GIZMO_SHOW_LIGHT_SIZE
@ V3D_OVERLAY_WPAINT_CONTOURS
Scene * ED_screen_scene_find(const bScreen *screen, const wmWindowManager *wm)
static const EnumPropertyItem rna_enum_shading_wire_color_type_items[]
void RNA_enum_item_end(EnumPropertyItem **items, int *totitem)
const EnumPropertyItem rna_enum_dummy_DEFAULT_items[]
void RNA_def_property_enum_funcs(PropertyRNA *prop, const char *get, const char *set, const char *item)
int ED_space_image_get_display_channel_mask(ImBuf *ibuf)
bool RE_engine_view_pause_get(const RenderEngine *engine)
void RNA_api_space_node(StructRNA *srna)
static const EnumPropertyItem rna_enum_studio_light_items[]
FunctionRNA * RNA_def_function(StructRNA *srna, const char *identifier_c_str, const char *call)
void ED_region_toggle_hidden(bContext *C, ARegion *region)
@ SIPO_NO_DRAW_EXTRAPOLATION
const EnumPropertyItem rna_enum_dummy_NULL_items[]
@ V3D_GIZMO_SHOW_EMPTY_FORCE_FIELD
@ V3D_GIZMO_SHOW_EMPTY_IMAGE
static void rna_def_space_console(BlenderRNA *brna)
const char * ED_userpref_search_string_get(SpaceUserPref *sprefs)
@ V3D_SHADING_SINGLE_COLOR
@ V3D_SHADING_RANDOM_COLOR
@ V3D_SHADING_MATERIAL_COLOR
@ V3D_SHADING_VERTEX_COLOR
@ V3D_SHADING_TEXTURE_COLOR
@ V3D_SHADING_OBJECT_COLOR
static const EnumPropertyItem fileselectparams_recursion_level_items[]
bool ED_buttons_tab_has_search_result(SpaceProperties *sbuts, int index)
FileSelectParams * ED_fileselect_get_active_params(const SpaceFile *sfile)
static IDFilterEnumPropertyItem rna_enum_space_file_id_filter_categories[]
ARegion ARegion ScrArea ARegion std::optional< std::string > BKE_screen_path_to_space(const PointerRNA *ptr)
static const EnumPropertyItem rna_enum_shading_color_type_items[]
BLI_INLINE int BLI_rcti_size_x(const struct rcti *rct)
void ED_view3d_quadview_update(ScrArea *area, ARegion *region, bool do_clip)
static void rna_def_foreach_geometry_element_zone_viewer_path_elem(BlenderRNA *brna)
void RNA_def_property_enum_sdna(PropertyRNA *prop, const char *structname, const char *propname)
PropertyRNA * RNA_def_collection(StructOrFunctionRNA *cont_, const char *identifier, const char *type, const char *ui_name, const char *ui_description)
RenderEngineType * RE_engines_find(const char *idname)
void RNA_def_property_boolean_default(PropertyRNA *prop, bool value)
static void rna_def_evaluate_closure_node_viewer_path_elem(BlenderRNA *brna)
void BKE_image_init_imageuser(Image *ima, ImageUser *iuser)
@ SEQ_DRAW_IMG_VECTORSCOPE
int ED_userpref_search_string_length(SpaceUserPref *sprefs)
void ED_userpref_search_string_set(SpaceUserPref *sprefs, const char *value)
void ED_space_image_scopes_update(const bContext *C, SpaceImage *sima, ImBuf *ibuf, bool use_view_settings)
static void rna_def_space_view3d_overlay(BlenderRNA *brna)
void RNA_def_property_translation_context(PropertyRNA *prop, const char *context)
void RNA_def_property_clear_flag(PropertyRNA *prop, PropertyFlag flag)
void ED_node_cursor_location_set(SpaceNode *snode, const float value[2])
bool BKE_view_layer_has_valid_aov(ViewLayer *view_layer)
static void rna_def_viewer_path_elem(BlenderRNA *brna)
void WM_windows_scene_data_sync(const ListBaseT< wmWindow > *win_lb, Scene *scene)
void ED_fsmenu_entry_set_icon(FSMenuEntry *fsentry, int icon)
int BLI_str_utf8_offset_from_index(const char *str, size_t str_len, int index_target) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
void ED_region_visibility_change_update(bContext *C, ScrArea *area, ARegion *region)
ARegion * BKE_area_find_region_type(const ScrArea *area, int region_type)
@ V3D_SHADING_BACKGROUND_VIEWPORT
@ V3D_SHADING_BACKGROUND_WORLD
@ V3D_SHADING_BACKGROUND_THEME
void id_us_ensure_real(ID *id)
@ FILE_SHOW_ASSETS_FROM_CATALOG
@ FILE_SHOW_ASSETS_WITHOUT_CATALOG
@ FILE_SHOW_ASSETS_ALL_CATALOGS
void RNA_def_function_flag(FunctionRNA *func, FunctionFlag flag)
bool BLI_uuid_parse_string(bUUID *uuid, const char *buffer) ATTR_NONNULL()
void RNA_def_property_flag(PropertyRNA *prop, PropertyFlag flag)
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_iterator_listbase_get(CollectionPropertyIterator *iter)
FileSelectParams * ED_fileselect_get_file_params(const SpaceFile *sfile)
@ SO_LIB_OVERRIDE_VIEW_PROPERTIES
@ SO_LIB_OVERRIDE_VIEW_HIERARCHIES
static EnumPropertyItem rna_enum_space_action_ui_mode_items[]
void BKE_reportf(ReportList *reports, eReportType type, const char *format,...) ATTR_PRINTF_FORMAT(3
@ SPREADSHEET_TABLE_ID_TYPE_GEOMETRY
void BLI_uuid_format(char *buffer, bUUID uuid) ATTR_NONNULL()
FileAssetSelectParams * ED_fileselect_get_asset_params(const SpaceFile *sfile)
char * ED_fsmenu_entry_get_path(FSMenuEntry *fsentry)
@ IMA_SHOW_SEQUENCER_SCENE
bool BKE_scene_uses_blender_workbench(const Scene *scene)
static void rna_def_modifier_viewer_path_elem(BlenderRNA *brna)
Main * CTX_data_main(const bContext *C)
void RNA_api_space_text(StructRNA *srna)
static void rna_def_space_spreadsheet(BlenderRNA *brna)
void RNA_enum_item_add_separator(EnumPropertyItem **items, int *totitem)
BLI_INLINE float BLI_rctf_size_x(const struct rctf *rct)
static void rna_def_space_node(BlenderRNA *brna)
static void rna_def_space_mask_info(StructRNA *srna, int noteflag, const char *mask_set_func)
@ EEVEE_RENDER_PASS_CRYPTOMATTE_ASSET
@ EEVEE_RENDER_PASS_SPECULAR_LIGHT
@ EEVEE_RENDER_PASS_DIFFUSE_COLOR
@ EEVEE_RENDER_PASS_DENOISING_NORMAL
@ EEVEE_RENDER_PASS_CRYPTOMATTE_MATERIAL
@ EEVEE_RENDER_PASS_ENVIRONMENT
@ EEVEE_RENDER_PASS_DENOISING_ROUGHNESS
@ EEVEE_RENDER_PASS_DENOISING_DIFFUSE_ALBEDO
@ EEVEE_RENDER_PASS_CRYPTOMATTE_OBJECT
@ EEVEE_RENDER_PASS_COMBINED
@ EEVEE_RENDER_PASS_VOLUME_LIGHT
@ EEVEE_RENDER_PASS_DENOISING_SPECULAR_ALBEDO
@ EEVEE_RENDER_PASS_TRANSPARENT
@ EEVEE_RENDER_PASS_NORMAL
@ EEVEE_RENDER_PASS_POSITION
@ EEVEE_RENDER_PASS_DIFFUSE_LIGHT
@ EEVEE_RENDER_PASS_SPECULAR_COLOR
@ EEVEE_RENDER_PASS_SHADOW
@ EEVEE_RENDER_PASS_DENOISING_DEPTH
static void rna_def_space(BlenderRNA *brna)
static void rna_def_space_project(BlenderRNA *brna)
@ V3D_DEBUG_FREEZE_CULLING
void ANIM_animdata_freelist(ListBaseT< bAnimListElem > *anim_data)
Scene * WM_windows_scene_get_from_screen(const wmWindowManager *wm, const bScreen *screen)
StructRNA * RNA_def_struct(BlenderRNA *brna, const char *identifier, const char *from)
float ANIM_unit_mapping_get_factor(Scene *scene, ID *id, FCurve *fcu, short flag, float *r_offset)
static const EnumPropertyItem rna_enum_viewport_lighting_items[]
ARegion ARegion ScrArea * BKE_screen_find_area_from_space(const bScreen *screen, const SpaceLink *sl) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1
ID_Type GS(const char *name)
void RNA_def_property_int_sdna(PropertyRNA *prop, const char *structname, const char *propname)
const EnumPropertyItem rna_enum_asset_access_items[]
void ED_drivers_editor_init(bContext *C, ScrArea *area)
const EnumPropertyItem * rna_node_tree_type_itemf(void *data, bool(*poll)(void *data, bke::bNodeTreeType *), bool *r_free)
const EnumPropertyItem * RNA_enum_node_tree_types_itemf_impl(bContext *C, bool *r_free)
@ FILE_TYPE_BLENDER_BACKUP
void ED_render_view3d_pause_notify(Main *bmain)
static void rna_def_space_outliner(BlenderRNA *brna)
void ED_space_image_set_mask(bContext *C, SpaceImage *sima, Mask *mask)
@ V3D_OVERLAY_EDIT_LOOP_NORMALS
@ V3D_OVERLAY_EDIT_WEIGHT
@ V3D_OVERLAY_EDIT_CONSTANT_SCREEN_SIZE_NORMALS
@ V3D_OVERLAY_EDIT_BWEIGHTS
@ V3D_OVERLAY_EDIT_FACE_AREA
@ V3D_OVERLAY_EDIT_STATVIS
@ V3D_OVERLAY_EDIT_CREASES
@ V3D_OVERLAY_EDIT_EDGE_ANG
@ V3D_OVERLAY_EDIT_EDGE_LEN
@ V3D_OVERLAY_EDIT_VERT_NORMALS
@ V3D_OVERLAY_EDIT_FACE_NORMALS
@ V3D_OVERLAY_EDIT_FREESTYLE_EDGE
@ V3D_OVERLAY_EDIT_FACE_ANG
@ V3D_OVERLAY_EDIT_CU_NORMALS
@ V3D_OVERLAY_EDIT_RETOPOLOGY
@ V3D_OVERLAY_EDIT_FREESTYLE_FACE
@ V3D_OVERLAY_EDIT_FACE_DOT
@ V3D_OVERLAY_EDIT_INDICES
void ED_space_image_get_zoom(SpaceImage *sima, const ARegion *region, float *r_zoomx, float *r_zoomy)
void RNA_def_property_update(PropertyRNA *prop, int noteflag, const char *func)
static void rna_def_space_image(BlenderRNA *brna)
PointerRNA RNA_pointer_create_with_parent(const PointerRNA &parent, StructRNA *type, void *data)
void ED_node_set_tree_type(SpaceNode *snode, bke::bNodeTreeType *typeinfo)
@ FS_CATEGORY_SYSTEM_BOOKMARKS
RenderEngine * RE_view_engine_get(const ViewRender *view_render)
int BLI_str_utf8_offset_to_index(const char *str, size_t str_len, int offset_target) ATTR_WARN_UNUSED_RESULT ATTR_NONNULL(1)
Scene * CTX_data_scene(const bContext *C)
const EnumPropertyItem rna_enum_region_panel_category_items[]
@ SCE_VIEWS_FORMAT_MULTIVIEW
@ SNODE_INSERTOFS_DIR_LEFT
@ SNODE_INSERTOFS_DIR_RIGHT
void RNA_def_property_string_funcs(PropertyRNA *prop, const char *get, const char *length, const char *set)
@ SACTION_NOREALTIMEUPDATES
@ SACTION_SHOW_INTERPOLATION
@ SACTION_POSEMARKERS_SHOW
void RNA_define_verify_sdna(bool verify)
@ RGN_FLAG_HIDDEN_BY_USER
void ED_area_tag_refresh(ScrArea *area)
static void rna_def_space_node_overlay(BlenderRNA *brna)
bool ED_text_is_syntax_highlight_supported(Text *text)
bool ED_node_supports_preview(SpaceNode *snode)
void ED_space_clip_set_clip(bContext *C, bScreen *screen, SpaceClip *sc, MovieClip *clip)
void ED_space_image_paint_update(Main *bmain, wmWindowManager *wm, Scene *scene)
static void rna_def_space_nla(BlenderRNA *brna)
static void rna_def_fileselect_asset_idfilter(BlenderRNA *brna)
int ED_fsmenu_get_nentries(FSMenu *fsmenu, FSMenuCategory category)
PropertyRNA * RNA_def_boolean(StructOrFunctionRNA *cont_, const char *identifier, const bool default_value, const char *ui_name, const char *ui_description)
const EnumPropertyItem rna_enum_space_image_mode_all_items[]
void rna_iterator_listbase_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, ListBase *lb, IteratorSkipFunc skip)
@ SN_OVERLAY_PREVIEW_FLAT
static void rna_def_repeat_zone_viewer_path_elem(BlenderRNA *brna)
@ SACTION_RUNTIME_FLAG_NEED_CHAN_SYNC
static void rna_def_fileselect_idfilter(BlenderRNA *brna)
@ SPREADSHEET_VALUE_TYPE_INSTANCES
@ SPREADSHEET_VALUE_TYPE_FLOAT
@ SPREADSHEET_VALUE_TYPE_BOOL
@ SPREADSHEET_VALUE_TYPE_INT32
void RNA_def_property_int_default(PropertyRNA *prop, int value)
FSMenuEntry * ED_fsmenu_get_category(FSMenu *fsmenu, FSMenuCategory category)
void RNA_def_struct_name_property(StructRNA *srna, PropertyRNA *prop, const bool allow_replace)
bScreen * WM_window_get_active_screen(const wmWindow *win)
static void rna_def_spreadsheet_column(BlenderRNA *brna)
bool BKE_id_is_in_global_main(ID *id)
void RNA_def_property_array(PropertyRNA *prop, int length)
static void rna_def_space_clip(BlenderRNA *brna)
ARegion * CTX_wm_region(const bContext *C)
static const EnumPropertyItem spreadsheet_object_eval_state_items[]
const EnumPropertyItem rna_enum_clip_editor_mode_items[]
const int rna_matrix_dimsize_4x4[]
@ V3D_GIZMO_HIDE_MODIFIER
@ V3D_GIZMO_HIDE_NAVIGATE
static void rna_def_spreadsheet_table_id_geometry(BlenderRNA *brna)
void ED_view3d_from_m4(const float mat[4][4], float ofs[3], float quat[4], const float *dist, float roll)
bool ED_space_image_show_uvedit(const SpaceImage *sima, Object *obedit)
void RNA_def_property_ui_icon(PropertyRNA *prop, int icon, int consecutive)
wmWindow * ED_screen_window_find(const bScreen *screen, const wmWindowManager *wm)
void rna_iterator_array_begin(CollectionPropertyIterator *iter, PointerRNA *ptr, void *data, size_t itemsize, int64_t length, bool free_ptr, IteratorSkipFunc skip)
static void rna_def_space_image_uv(BlenderRNA *brna)
void ED_buttons_search_string_set(SpaceProperties *sbuts, const char *value)
const EnumPropertyItem rna_enum_attribute_domain_items[]
void RNA_api_space_filebrowser(StructRNA *srna)
@ SCLIP_GIZMO_HIDE_NAVIGATE
static const EnumPropertyItem rna_enum_view3dshading_render_pass_type_items[]
@ AREA_FLAG_ACTIVE_TOOL_UPDATE
static void rna_def_space_sequencer_timeline_overlay(BlenderRNA *brna)
bool WM_jobs_is_running(const wmJob *wm_job)
static void rna_def_space_view3d_shading(BlenderRNA *brna)
@ SN_OVERLAY_SHOW_TEXT_INFO
@ SN_OVERLAY_SHOW_OVERLAYS
@ SN_OVERLAY_SHOW_TIMINGS
@ SN_OVERLAY_SHOW_REROUTE_AUTO_LABELS
@ SN_OVERLAY_SHOW_PREVIEWS
@ SN_OVERLAY_SHOW_WIRE_COLORS
@ SN_OVERLAY_SHOW_RENDER_REGION
@ SN_OVERLAY_SHOW_NAMED_ATTRIBUTES
@ SEQ_SHOW_SCRUBBING_REGION
void ED_area_tag_redraw(ScrArea *area)
void ED_view3d_shade_update(Main *bmain, View3D *v3d, ScrArea *area)
void ANIM_frame_channel_y_extents(bContext *C, bAnimContext *ac)
void ED_node_tree_path_get(SpaceNode *snode, char *value)
static void rna_def_fileselect_entry(BlenderRNA *brna)
#define SACT_ITEM_CACHEFILE
#define DEF_SHOW_REGION_PROPERTY(identifier, label, description)
#define SACT_ITEM_SHAPEKEY
#define SI_ITEM_VIEW(identifier, name, icon)
#define SACT_ITEM_DOPESHEET
#define SACT_ITEM_GPENCIL
#define SACT_ITEM_TIMELINE
#define V3D_S3D_CAMERA_LEFT
#define V3D_S3D_CAMERA_RIGHT
#define V3D_S3D_CAMERA_S3D
KERNEL_FEATURE_LIGHT_PASSES KERNEL_FEATURE_PATH_GUIDING float
AssetLibraryReference asset_library_ref
PointerRNA parent() const
struct ViewRender * view_render
struct MovieClipScopes scopes
eSpaceButtons_Context mainb
Universally Unique Identifier according to RFC4122.