[Bf-blender-cvs] [28c1300115c] blender-v2.90-release: Fix T79653: Change soft min frame start of cache from 1 to 0

Jacques Lucke noreply at git.blender.org
Thu Aug 13 11:04:01 CEST 2020


Commit: 28c1300115c5efbff787afba05c177a584c38846
Author: Jacques Lucke
Date:   Thu Aug 13 11:03:05 2020 +0200
Branches: blender-v2.90-release
https://developer.blender.org/rB28c1300115c5efbff787afba05c177a584c38846

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.

===================================================================

M	source/blender/makesrna/intern/rna_object_force.c

===================================================================

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);



More information about the Bf-blender-cvs mailing list