|
|
|
@ -1313,7 +1313,6 @@ static void rna_def_userdef_theme_ui_font_style(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeFontStyle", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "uiFontStyle");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Font Style", "Theme settings for Font");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "points", PROP_FLOAT, PROP_UNSIGNED);
|
|
|
|
@ -1369,7 +1368,6 @@ static void rna_def_userdef_theme_ui_style(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeStyle", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "uiStyle");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Style", "Theme settings for style sets");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "panel_title", PROP_POINTER, PROP_NONE);
|
|
|
|
@ -1401,7 +1399,6 @@ static void rna_def_userdef_theme_ui_wcol(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeWidgetColors", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "uiWidgetColors");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Widget Color Set", "Theme settings for widget color sets");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "outline", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -1463,7 +1460,6 @@ static void rna_def_userdef_theme_ui_wcol_state(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeWidgetStateColors", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "uiWidgetStateColors");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "Theme Widget State Color", "Theme settings for widget state colors");
|
|
|
|
|
|
|
|
|
@ -1529,7 +1525,6 @@ static void rna_def_userdef_theme_ui_panel(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemePanelColors", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "uiPanelColors");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Panel Color", "Theme settings for panel colors");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "header", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -1572,7 +1567,6 @@ static void rna_def_userdef_theme_ui_gradient(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeGradientColors", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "Theme Background Color", "Theme settings for background colors and gradient");
|
|
|
|
|
|
|
|
|
@ -1607,7 +1601,6 @@ static void rna_def_userdef_theme_ui(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeUserInterface", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeUI");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "Theme User Interface", "Theme settings for user interface elements");
|
|
|
|
|
|
|
|
|
@ -2097,7 +2090,6 @@ static void rna_def_userdef_theme_asset_shelf(BlenderRNA *brna)
|
|
|
|
|
PropertyRNA *prop;
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeAssetShelf", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Asset Shelf Color", "Theme settings for asset shelves");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "header_back", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -2422,7 +2414,6 @@ static void rna_def_userdef_theme_space_view3d(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeView3D", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme 3D Viewport", "Theme settings for the 3D viewport");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_gradient(srna);
|
|
|
|
@ -2652,7 +2643,6 @@ static void rna_def_userdef_theme_space_graph(BlenderRNA *brna)
|
|
|
|
|
/* space_graph */
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeGraphEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Graph Editor", "Theme settings for the graph editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -2739,7 +2729,6 @@ static void rna_def_userdef_theme_space_file(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeFileBrowser", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme File Browser", "Theme settings for the File Browser");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -2765,7 +2754,6 @@ static void rna_def_userdef_theme_space_outliner(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeOutliner", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Outliner", "Theme settings for the Outliner");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -2814,7 +2802,6 @@ static void rna_def_userdef_theme_space_userpref(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemePreferences", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Preferences", "Theme settings for the Blender Preferences");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -2829,7 +2816,6 @@ static void rna_def_userdef_theme_space_console(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeConsole", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Console", "Theme settings for the Console");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -2880,7 +2866,6 @@ static void rna_def_userdef_theme_space_info(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeInfo", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Info", "Theme settings for Info");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -2965,7 +2950,6 @@ static void rna_def_userdef_theme_space_text(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeTextEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Text Editor", "Theme settings for the Text Editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -3061,7 +3045,6 @@ static void rna_def_userdef_theme_space_node(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeNodeEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Node Editor", "Theme settings for the Node Editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -3265,7 +3248,6 @@ static void rna_def_userdef_theme_space_buts(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeProperties", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Properties", "Theme settings for the Properties");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "match", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -3291,7 +3273,6 @@ static void rna_def_userdef_theme_space_image(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeImageEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Image Editor", "Theme settings for the Image Editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -3404,7 +3385,6 @@ static void rna_def_userdef_theme_space_seq(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeSequenceEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Sequence Editor", "Theme settings for the Sequence Editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -3611,7 +3591,6 @@ static void rna_def_userdef_theme_space_action(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeDopeSheet", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Dope Sheet", "Theme settings for the Dope Sheet");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -3821,7 +3800,6 @@ static void rna_def_userdef_theme_space_nla(BlenderRNA *brna)
|
|
|
|
|
/* space_nla */
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeNLAEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Nonlinear Animation", "Theme settings for the NLA Editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -3983,7 +3961,6 @@ static void rna_def_userdef_theme_colorset(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeBoneColorSet", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeWireColor");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Bone Color Set", "Theme settings for bone color sets");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "normal", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -4020,7 +3997,6 @@ static void rna_def_userdef_theme_collection_color(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeCollectionColor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeCollectionColor");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Collection Color", "Theme settings for collection colors");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -4037,7 +4013,6 @@ static void rna_def_userdef_theme_strip_color(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeStripColor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeStripColor");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Strip Color", "Theme settings for strip colors");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "color", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -4056,7 +4031,6 @@ static void rna_def_userdef_theme_space_clip(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeClipEditor", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Clip Editor", "Theme settings for the Movie Clip Editor");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -4181,7 +4155,6 @@ static void rna_def_userdef_theme_space_topbar(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeTopBar", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Top Bar", "Theme settings for the Top Bar");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -4195,7 +4168,6 @@ static void rna_def_userdef_theme_space_statusbar(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeStatusBar", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Status Bar", "Theme settings for the Status Bar");
|
|
|
|
|
|
|
|
|
|
rna_def_userdef_theme_spaces_main(srna);
|
|
|
|
@ -4210,7 +4182,6 @@ static void rna_def_userdef_theme_space_spreadsheet(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "ThemeSpreadsheet", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "ThemeSpace");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme Spreadsheet", "Theme settings for the Spreadsheet");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "row_alternate", PROP_FLOAT, PROP_COLOR_GAMMA);
|
|
|
|
@ -4254,7 +4225,6 @@ static void rna_def_userdef_themes(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "Theme", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "bTheme");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Theme", "User interface styling and color settings");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "name", PROP_STRING, PROP_NONE);
|
|
|
|
@ -4411,7 +4381,6 @@ static void rna_def_userdef_addon(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "Addon", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "bAddon");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Add-on", "Python add-ons to be loaded automatically");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "module", PROP_STRING, PROP_NONE);
|
|
|
|
@ -4480,7 +4449,6 @@ static void rna_def_userdef_studiolight(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
RNA_define_verify_sdna(false);
|
|
|
|
|
srna = RNA_def_struct(brna, "StudioLight", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Studio Light", "Studio light");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "index", PROP_INT, PROP_NONE);
|
|
|
|
@ -4556,7 +4524,6 @@ static void rna_def_userdef_pathcompare(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "PathCompare", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "bPathCompare");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Path Compare", "Match paths against this value");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "path", PROP_STRING, PROP_DIRPATH);
|
|
|
|
@ -4640,7 +4607,6 @@ static void rna_def_userdef_solidlight(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "UserSolidLight", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "SolidLight");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "Solid Light", "Light used for Studio lighting in solid shading mode");
|
|
|
|
|
|
|
|
|
@ -4686,7 +4652,6 @@ static void rna_def_userdef_walk_navigation(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "WalkNavigation", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "WalkNavigation");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Walk Navigation", "Walk navigation settings");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "mouse_speed", PROP_FLOAT, PROP_NONE);
|
|
|
|
@ -4851,7 +4816,6 @@ static void rna_def_userdef_view(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesView", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "View & Controls", "Preferences related to viewing data");
|
|
|
|
|
|
|
|
|
|
/* View. */
|
|
|
|
@ -5341,7 +5305,6 @@ static void rna_def_userdef_edit(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesEdit", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Edit Methods", "Settings for interacting with Blender data");
|
|
|
|
|
|
|
|
|
|
/* Edit Methods */
|
|
|
|
@ -5845,7 +5808,6 @@ static void rna_def_userdef_system(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesSystem", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "System & OpenGL", "Graphics driver and operating system settings");
|
|
|
|
|
|
|
|
|
|
/* UI settings. */
|
|
|
|
@ -6212,7 +6174,6 @@ static void rna_def_userdef_input(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesInput", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Input", "Settings for input devices");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "view_zoom_method", PROP_ENUM, PROP_NONE);
|
|
|
|
@ -6518,7 +6479,6 @@ static void rna_def_userdef_keymap(BlenderRNA *brna)
|
|
|
|
|
StructRNA *srna = RNA_def_struct(brna, "PreferencesKeymap", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Keymap", "Shortcut setup for keyboards and other input devices");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "show_ui_keyconfig", PROP_BOOLEAN, PROP_NONE);
|
|
|
|
@ -6538,7 +6498,6 @@ static void rna_def_userdef_filepaths_asset_library(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "UserAssetLibrary", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "bUserAssetLibrary");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "Asset Library", "Settings to define a reusable library for Asset Browsers to use");
|
|
|
|
|
|
|
|
|
@ -6595,7 +6554,6 @@ static void rna_def_userdef_filepaths_extension_repo(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "UserExtensionRepo", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "bUserExtensionRepo");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "Extension Repository", "Settings to define an extension repository");
|
|
|
|
|
|
|
|
|
@ -6647,7 +6605,6 @@ static void rna_def_userdef_script_directory(BlenderRNA *brna)
|
|
|
|
|
{
|
|
|
|
|
StructRNA *srna = RNA_def_struct(brna, "ScriptDirectory", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "bUserScriptDirectory");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Python Scripts Directory", "");
|
|
|
|
|
|
|
|
|
|
PropertyRNA *prop;
|
|
|
|
@ -6691,7 +6648,6 @@ static void rna_def_userdef_script_directory_collection(BlenderRNA *brna, Proper
|
|
|
|
|
|
|
|
|
|
RNA_def_property_srna(cprop, "ScriptDirectoryCollection");
|
|
|
|
|
srna = RNA_def_struct(brna, "ScriptDirectoryCollection", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Python Scripts Directories", "");
|
|
|
|
|
|
|
|
|
|
func = RNA_def_function(srna, "new", "rna_userdef_script_directory_new");
|
|
|
|
@ -6717,7 +6673,6 @@ static void rna_def_userdef_asset_library_collection(BlenderRNA *brna, PropertyR
|
|
|
|
|
|
|
|
|
|
RNA_def_property_srna(cprop, "AssetLibraryCollection");
|
|
|
|
|
srna = RNA_def_struct(brna, "AssetLibraryCollection", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "User Asset Libraries", "Collection of user asset libraries");
|
|
|
|
|
|
|
|
|
|
func = RNA_def_function(srna, "new", "rna_userdef_asset_library_new");
|
|
|
|
@ -6745,7 +6700,6 @@ static void rna_def_userdef_extension_repos_collection(BlenderRNA *brna, Propert
|
|
|
|
|
|
|
|
|
|
RNA_def_property_srna(cprop, "UserExtensionRepoCollection");
|
|
|
|
|
srna = RNA_def_struct(brna, "UserExtensionRepoCollection", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(
|
|
|
|
|
srna, "User Extension Repositories", "Collection of user extension repositories");
|
|
|
|
|
|
|
|
|
@ -6798,7 +6752,6 @@ static void rna_def_userdef_filepaths(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesFilePaths", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "File Paths", "Default paths for external files");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "show_hidden_files_datablocks", PROP_BOOLEAN, PROP_NONE);
|
|
|
|
@ -7010,7 +6963,6 @@ static void rna_def_userdef_apps(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesApps", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Apps", "Preferences that work only for apps");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "show_corner_split", PROP_BOOLEAN, PROP_NONE);
|
|
|
|
@ -7039,7 +6991,6 @@ static void rna_def_userdef_experimental(BlenderRNA *brna)
|
|
|
|
|
srna = RNA_def_struct(brna, "PreferencesExperimental", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef_Experimental");
|
|
|
|
|
RNA_def_struct_nested(brna, srna, "Preferences");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Experimental", "Experimental features");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "use_undo_legacy", PROP_BOOLEAN, PROP_NONE);
|
|
|
|
@ -7171,7 +7122,6 @@ static void rna_def_userdef_addon_collection(BlenderRNA *brna, PropertyRNA *cpro
|
|
|
|
|
|
|
|
|
|
RNA_def_property_srna(cprop, "Addons");
|
|
|
|
|
srna = RNA_def_struct(brna, "Addons", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "User Add-ons", "Collection of add-ons");
|
|
|
|
|
|
|
|
|
|
func = RNA_def_function(srna, "new", "rna_userdef_addon_new");
|
|
|
|
@ -7197,7 +7147,6 @@ static void rna_def_userdef_autoexec_path_collection(BlenderRNA *brna, PropertyR
|
|
|
|
|
|
|
|
|
|
RNA_def_property_srna(cprop, "PathCompareCollection");
|
|
|
|
|
srna = RNA_def_struct(brna, "PathCompareCollection", nullptr);
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Paths Compare", "Collection of paths");
|
|
|
|
|
|
|
|
|
|
func = RNA_def_function(srna, "new", "rna_userdef_pathcompare_new");
|
|
|
|
@ -7228,7 +7177,6 @@ void RNA_def_userdef(BlenderRNA *brna)
|
|
|
|
|
|
|
|
|
|
srna = RNA_def_struct(brna, "Preferences", nullptr);
|
|
|
|
|
RNA_def_struct_sdna(srna, "UserDef");
|
|
|
|
|
RNA_def_struct_clear_flag(srna, STRUCT_UNDO);
|
|
|
|
|
RNA_def_struct_ui_text(srna, "Preferences", "Global preferences");
|
|
|
|
|
|
|
|
|
|
prop = RNA_def_property(srna, "active_section", PROP_ENUM, PROP_NONE);
|
|
|
|
|