Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_modifier.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 4,512 Lines • ▼ Show 20 Lines | static void rna_def_modifier_solidify(BlenderRNA *brna) | ||||
| RNA_def_property_enum_items(prop, nonmanifold_thickness_mode_items); | RNA_def_property_enum_items(prop, nonmanifold_thickness_mode_items); | ||||
| RNA_def_property_ui_text(prop, "Thickness Mode", "Selects the used thickness algorithm"); | RNA_def_property_ui_text(prop, "Thickness Mode", "Selects the used thickness algorithm"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "nonmanifold_boundary_mode", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "nonmanifold_boundary_mode", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_items(prop, nonmanifold_boundary_mode_items); | RNA_def_property_enum_items(prop, nonmanifold_boundary_mode_items); | ||||
| RNA_def_property_ui_text(prop, "Boundary Shape", "Selects the boundary adjustment algorithm"); | RNA_def_property_ui_text(prop, "Boundary Shape", "Selects the boundary adjustment algorithm"); | ||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | RNA_def_property_update(prop, 0, "rna_Modifier_update"); | ||||
| prop = RNA_def_property(srna, "nonmanifold_merge_threshold", PROP_FLOAT, PROP_DISTANCE); | |||||
| RNA_def_property_float_sdna(prop, NULL, "tolerance"); | |||||
| RNA_def_property_range(prop, 0, 1); | |||||
| RNA_def_property_ui_range(prop, 0, 1, 0.01, 4); | |||||
mont29: Please use valid doubles everywhere (`1.0`). | |||||
| RNA_def_property_ui_text(prop, "Merge Threshold", "Distance within degenerate geometry is merged"); | |||||
| RNA_def_property_update(prop, 0, "rna_Modifier_update"); | |||||
| } | } | ||||
| static void rna_def_modifier_screw(BlenderRNA *brna) | static void rna_def_modifier_screw(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| srna = RNA_def_struct(brna, "ScrewModifier", "Modifier"); | srna = RNA_def_struct(brna, "ScrewModifier", "Modifier"); | ||||
| ▲ Show 20 Lines • Show All 2,089 Lines • Show Last 20 Lines | |||||
Please use valid doubles everywhere (1.0).