Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_fluid.c
| Show First 20 Lines • Show All 1,455 Lines • ▼ Show 20 Lines | # endif | ||||
| srna = RNA_def_struct(brna, "FluidDomainSettings", NULL); | srna = RNA_def_struct(brna, "FluidDomainSettings", NULL); | ||||
| RNA_def_struct_ui_text(srna, "Domain Settings", "Fluid domain settings"); | RNA_def_struct_ui_text(srna, "Domain Settings", "Fluid domain settings"); | ||||
| RNA_def_struct_sdna(srna, "FluidDomainSettings"); | RNA_def_struct_sdna(srna, "FluidDomainSettings"); | ||||
| RNA_def_struct_path_func(srna, "rna_FluidDomainSettings_path"); | RNA_def_struct_path_func(srna, "rna_FluidDomainSettings_path"); | ||||
| prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "effector_weights", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_struct_type(prop, "EffectorWeights"); | RNA_def_property_struct_type(prop, "EffectorWeights"); | ||||
| RNA_def_property_clear_flag(prop, PROP_EDITABLE); | RNA_def_property_clear_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY); | |||||
| RNA_def_property_ui_text(prop, "Effector Weights", ""); | RNA_def_property_ui_text(prop, "Effector Weights", ""); | ||||
| /* object collections */ | /* object collections */ | ||||
| prop = RNA_def_property(srna, "effector_group", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "effector_group", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "effector_group"); | RNA_def_property_pointer_sdna(prop, NULL, "effector_group"); | ||||
| RNA_def_property_struct_type(prop, "Collection"); | RNA_def_property_struct_type(prop, "Collection"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| ▲ Show 20 Lines • Show All 1,527 Lines • Show Last 20 Lines | |||||