Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_smoke.c
| Show First 20 Lines • Show All 572 Lines • ▼ Show 20 Lines | #endif | ||||
| RNA_def_property_range(prop, -5.0, 5.0); | RNA_def_property_range(prop, -5.0, 5.0); | ||||
| RNA_def_property_ui_range(prop, -5.0, 5.0, 0.02, 5); | RNA_def_property_ui_range(prop, -5.0, 5.0, 0.02, 5); | ||||
| RNA_def_property_ui_text(prop, "Heat", | RNA_def_property_ui_text(prop, "Heat", | ||||
| "How much heat affects smoke motion (higher value results in faster rising smoke)"); | "How much heat affects smoke motion (higher value results in faster rising smoke)"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_resetCache"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_resetCache"); | ||||
| prop = RNA_def_property(srna, "collision_group", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "collision_group", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "coll_group"); | RNA_def_property_pointer_sdna(prop, NULL, "coll_group"); | ||||
| RNA_def_property_struct_type(prop, "Group"); | RNA_def_property_struct_type(prop, "Collection"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Collision Group", "Limit collisions to this group"); | RNA_def_property_ui_text(prop, "Collision Collection", "Limit collisions to this collection"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency"); | ||||
| prop = RNA_def_property(srna, "fluid_group", PROP_POINTER, PROP_NONE); | prop = RNA_def_property(srna, "fluid_group", PROP_POINTER, PROP_NONE); | ||||
| RNA_def_property_pointer_sdna(prop, NULL, "fluid_group"); | RNA_def_property_pointer_sdna(prop, NULL, "fluid_group"); | ||||
| RNA_def_property_struct_type(prop, "Group"); | RNA_def_property_struct_type(prop, "Collection"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Fluid Group", "Limit fluid objects to this group"); | RNA_def_property_ui_text(prop, "Fluid Collection", "Limit fluid objects to this collection"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency"); | ||||
| 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, "eff_group"); | RNA_def_property_pointer_sdna(prop, NULL, "eff_group"); | ||||
| RNA_def_property_struct_type(prop, "Group"); | RNA_def_property_struct_type(prop, "Collection"); | ||||
| RNA_def_property_flag(prop, PROP_EDITABLE); | RNA_def_property_flag(prop, PROP_EDITABLE); | ||||
| RNA_def_property_ui_text(prop, "Effector Group", "Limit effectors to this group"); | RNA_def_property_ui_text(prop, "Effector Collection", "Limit effectors to this collection"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_reset_dependency"); | ||||
| prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "strength", PROP_FLOAT, PROP_NONE); | ||||
| RNA_def_property_float_sdna(prop, NULL, "strength"); | RNA_def_property_float_sdna(prop, NULL, "strength"); | ||||
| RNA_def_property_range(prop, 0.0, 10.0); | RNA_def_property_range(prop, 0.0, 10.0); | ||||
| RNA_def_property_ui_range(prop, 0.0, 10.0, 1, 2); | RNA_def_property_ui_range(prop, 0.0, 10.0, 1, 2); | ||||
| RNA_def_property_ui_text(prop, "Strength", "Strength of noise"); | RNA_def_property_ui_text(prop, "Strength", "Strength of noise"); | ||||
| RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_resetCache"); | RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Smoke_resetCache"); | ||||
| ▲ Show 20 Lines • Show All 518 Lines • Show Last 20 Lines | |||||