Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Show First 20 Lines • Show All 5,833 Lines • ▼ Show 20 Lines | static void rna_def_userdef_experimental(BlenderRNA *brna) | ||||
| RNA_def_struct_ui_text(srna, "Experimental", "Experimental features"); | RNA_def_struct_ui_text(srna, "Experimental", "Experimental features"); | ||||
| prop = RNA_def_property(srna, "use_experimental_all", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_experimental_all", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_EXPERIMENTAL_ALL); | RNA_def_property_boolean_sdna(prop, NULL, "flag", USER_EXPERIMENTAL_ALL); | ||||
| RNA_def_property_ui_text(prop, | RNA_def_property_ui_text(prop, | ||||
| "All Experimental Features", | "All Experimental Features", | ||||
| "Expose all the experimental features in the user interface"); | "Expose all the experimental features in the user interface"); | ||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | RNA_def_property_update(prop, 0, "rna_userdef_update"); | ||||
| prop = RNA_def_property(srna, "use_draw_manager_for_uv_image_editor", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna( | |||||
| prop, NULL, "flag", USER_EXPERIMENTAL_USE_DRAW_MANAGER_FOR_UV_IMAGE_EDITOR); | |||||
| RNA_def_property_ui_text( | |||||
| prop, "Use Draw Manager", "Use draw manager for rendering the uv/image editor"); | |||||
| RNA_def_property_update(prop, 0, "rna_userdef_update"); | |||||
| } | } | ||||
| static void rna_def_userdef_addon_collection(BlenderRNA *brna, PropertyRNA *cprop) | static void rna_def_userdef_addon_collection(BlenderRNA *brna, PropertyRNA *cprop) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| FunctionRNA *func; | FunctionRNA *func; | ||||
| PropertyRNA *parm; | PropertyRNA *parm; | ||||
| ▲ Show 20 Lines • Show All 202 Lines • Show Last 20 Lines | |||||