Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_curves.c
| Show First 20 Lines • Show All 362 Lines • ▼ Show 20 Lines | static void rna_def_curves(BlenderRNA *brna) | ||||
| RNA_def_property_update(prop, 0, "rna_Curves_update_data"); | RNA_def_property_update(prop, 0, "rna_Curves_update_data"); | ||||
| prop = RNA_def_property(srna, "use_sculpt_selection", PROP_BOOLEAN, PROP_NONE); | prop = RNA_def_property(srna, "use_sculpt_selection", PROP_BOOLEAN, PROP_NONE); | ||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CV_SCULPT_SELECTION_ENABLED); | RNA_def_property_boolean_sdna(prop, NULL, "flag", CV_SCULPT_SELECTION_ENABLED); | ||||
| RNA_def_property_ui_text(prop, "Use Sculpt Selection", ""); | RNA_def_property_ui_text(prop, "Use Sculpt Selection", ""); | ||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | ||||
| RNA_def_property_update(prop, 0, "rna_Curves_update_draw"); | RNA_def_property_update(prop, 0, "rna_Curves_update_draw"); | ||||
| prop = RNA_def_property(srna, "use_sculpt_collision", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "flag", CV_SCULPT_COLLISION_ENABLED); | |||||
| RNA_def_property_ui_text( | |||||
HooglyBoogly: Clang format | |||||
| prop, "Use Sculpt Collision", "Enable collision handling with the surface during sculpting"); | |||||
| RNA_def_property_clear_flag(prop, PROP_ANIMATABLE); | |||||
| RNA_def_property_update(prop, 0, "rna_Curves_update_draw"); | |||||
| /* attributes */ | /* attributes */ | ||||
| rna_def_attributes_common(srna); | rna_def_attributes_common(srna); | ||||
| /* common */ | /* common */ | ||||
| rna_def_animdata_common(srna); | rna_def_animdata_common(srna); | ||||
| } | } | ||||
| void RNA_def_curves(BlenderRNA *brna) | void RNA_def_curves(BlenderRNA *brna) | ||||
| { | { | ||||
| rna_def_curves_point(brna); | rna_def_curves_point(brna); | ||||
| rna_def_curves_curve(brna); | rna_def_curves_curve(brna); | ||||
| rna_def_curves(brna); | rna_def_curves(brna); | ||||
| } | } | ||||
| #endif | #endif | ||||
Clang format