Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_smoke.c
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Vorticity", "Additional vorticity for the flames"); | RNA_def_property_ui_text(prop, "Vorticity", "Additional vorticity for the flames"); | ||||
| 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, "flame_ignition", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "flame_ignition", PROP_FLOAT, PROP_TEMPERATURE); | ||||
| RNA_def_property_range(prop, 0.5, 5.0); | RNA_def_property_range(prop, 0.5, 5.0); | ||||
| RNA_def_property_ui_range(prop, 0.5, 2.5, 1.0, 5); | RNA_def_property_ui_range(prop, 0.5, 2.5, 1.0, 5); | ||||
| RNA_def_property_ui_text(prop, "Ignition", "Minimum temperature of flames"); | RNA_def_property_ui_text(prop, "Ignition", "Minimum temperature of flames"); | ||||
| 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, "flame_max_temp", PROP_FLOAT, PROP_NONE); | prop = RNA_def_property(srna, "flame_max_temp", PROP_FLOAT, PROP_TEMPERATURE); | ||||
JacquesLucke: As always we have to check if the number actually resembles the unit somewhat correctly.
I… | |||||
JacquesLuckeUnsubmitted Not Done Inline ActionsIncreasing the max values is one part. The more difficult thing is to make sure that the set temperature is actually interpreted directly by the simulation solver... JacquesLucke: Increasing the max values is one part. The more difficult thing is to make sure that the set… | |||||
| RNA_def_property_range(prop, 1.0, 10.0); | RNA_def_property_range(prop, 1.0, 10.0); | ||||
| RNA_def_property_ui_range(prop, 1.0, 5.0, 1.0, 5); | RNA_def_property_ui_range(prop, 1.0, 5.0, 1.0, 5); | ||||
| RNA_def_property_ui_text(prop, "Maximum", "Maximum temperature of flames"); | RNA_def_property_ui_text(prop, "Maximum", "Maximum temperature of flames"); | ||||
| Context not available. | |||||
As always we have to check if the number actually resembles the unit somewhat correctly.
I don't know what this setting does exactly, but having a flame_mask_temp in the range from 1 - 10 does not make much sense, does it?
Similarly for the other property.