Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
| Context not available. | |||||
| RNA_def_property_ui_text(prop, "Unit Settings", "Unit editing settings"); | RNA_def_property_ui_text(prop, "Unit Settings", "Unit editing settings"); | ||||
| /* Physics Settings */ | /* Physics Settings */ | ||||
| prop = RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_ACCELERATION); | prop = RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_XYZ); | ||||
| RNA_def_property_float_sdna(prop, NULL, "physics_settings.gravity"); | RNA_def_property_float_sdna(prop, NULL, "physics_settings.gravity"); | ||||
| RNA_def_property_array(prop, 3); | RNA_def_property_array(prop, 3); | ||||
| RNA_def_property_ui_range(prop, -200.0f, 200.0f, 1, 2); | RNA_def_property_ui_range(prop, -200.0f, 200.0f, 1, 2); | ||||
| Context not available. | |||||