Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-08-13 12:03:05 +0300
committerJacques Lucke <jacques@blender.org>2020-08-13 12:03:05 +0300
commit28c1300115c5efbff787afba05c177a584c38846 (patch)
treecf089e9ce31416d3904c3b0992b46ee7a4a22635 /source
parent29c28ac022a8c8a4c03b57048ea1c87ab4702469 (diff)
Fix T79653: Change soft min frame start of cache from 1 to 0
It was always possible to set it to zero by typing in the value. This new soft limit is more consistent with the fluid cache and the Scene.frame_start property.
Diffstat (limited to 'source')
-rw-r--r--source/blender/makesrna/intern/rna_object_force.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_object_force.c b/source/blender/makesrna/intern/rna_object_force.c
index fa837df682a..bb3756d9cfc 100644
--- a/source/blender/makesrna/intern/rna_object_force.c
+++ b/source/blender/makesrna/intern/rna_object_force.c
@@ -935,7 +935,7 @@ static void rna_def_pointcache_common(StructRNA *srna)
prop = RNA_def_property(srna, "frame_start", PROP_INT, PROP_TIME);
RNA_def_property_int_sdna(prop, NULL, "startframe");
RNA_def_property_range(prop, -MAXFRAME, MAXFRAME);
- RNA_def_property_ui_range(prop, 1, MAXFRAME, 1, 1);
+ RNA_def_property_ui_range(prop, 0, MAXFRAME, 1, 1);
RNA_def_property_ui_text(prop, "Start", "Frame on which the simulation starts");
prop = RNA_def_property(srna, "frame_end", PROP_INT, PROP_TIME);