Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
| Show First 20 Lines • Show All 92 Lines • ▼ Show 20 Lines | |||||
| RNA_def_property_struct_type(prop, "CurvePaintSettings"); | RNA_def_property_struct_type(prop, "CurvePaintSettings"); | ||||
| RNA_def_property_ui_text(prop, "Curve Paint Settings", NULL); | RNA_def_property_ui_text(prop, "Curve Paint Settings", NULL); | ||||
| /* Mesh Statistics */ | /* Mesh Statistics */ | ||||
| prop = RNA_def_property(srna, "statvis", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "statvis", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_flag(prop, PROP_NEVER_NULL); | RNA_def_property_flag(prop, PROP_NEVER_NULL); | ||||
| RNA_def_property_struct_type(prop, "MeshStatVis"); | RNA_def_property_struct_type(prop, "MeshStatVis"); | ||||
| RNA_def_property_ui_text(prop, "Mesh Statistics Visualization", NULL); | RNA_def_property_ui_text(prop, "Mesh Statistics Visualization", NULL); | ||||
| /* ProfileWidget */ | |||||
| prop = RNA_def_property(srna, "prwdgt", PROP_POINTER, PROP_NONE); | |||||
| RNA_def_property_pointer_sdna(prop, NULL, "prwdgt"); | |||||
| RNA_def_property_struct_type(prop, "ProfileWidget"); | |||||
| RNA_def_property_ui_text(prop, "Profile Widget", "Used for defining a profile's path"); | |||||
| } | } | ||||
| static void rna_def_unified_paint_settings(BlenderRNA *brna) | static void rna_def_unified_paint_settings(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| static const EnumPropertyItem brush_size_unit_items[] = { | static const EnumPropertyItem brush_size_unit_items[] = { | ||||
| ▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines | |||||