diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-24 17:18:00 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-24 17:19:12 +0400 |
commit | de4629880eade996c91ea287c380d0d6c9a63e8d (patch) | |
tree | 6a03d299202611323d4c27adb8996226bd0b26cc /source/blender/makesrna | |
parent | 36b6b691733c7c1683d0326a3b0ba80e98b221ff (diff) |
Fix T40925: Scene gravity hard limited
Remove hard limit, but keep soft limit because it might cause some
negative effect on physics stability.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_scene.c b/source/blender/makesrna/intern/rna_scene.c index 192ec0b36a9..1c6d0fafc18 100644 --- a/source/blender/makesrna/intern/rna_scene.c +++ b/source/blender/makesrna/intern/rna_scene.c @@ -5638,7 +5638,7 @@ void RNA_def_scene(BlenderRNA *brna) prop = RNA_def_property(srna, "gravity", PROP_FLOAT, PROP_ACCELERATION); RNA_def_property_float_sdna(prop, NULL, "physics_settings.gravity"); RNA_def_property_array(prop, 3); - RNA_def_property_range(prop, -200.0f, 200.0f); + RNA_def_property_ui_range(prop, -200.0f, 200.0f, 1, 2); RNA_def_property_ui_text(prop, "Gravity", "Constant acceleration in a given direction"); RNA_def_property_update(prop, 0, "rna_Physics_update"); |