[Bf-blender-cvs] [5c27391b0f8] master: UI: Clarify fluid sim CFL Number tooltip

Aaron Carlisle noreply at git.blender.org
Tue Mar 22 23:06:09 CET 2022


Commit: 5c27391b0f8cd09b189877afeb09e9fefea98411
Author: Aaron Carlisle
Date:   Tue Mar 22 18:05:54 2022 -0400
Branches: master
https://developer.blender.org/rB5c27391b0f8cd09b189877afeb09e9fefea98411

UI: Clarify fluid sim CFL Number tooltip

Fixes T93863

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

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

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

diff --git a/source/blender/makesrna/intern/rna_fluid.c b/source/blender/makesrna/intern/rna_fluid.c
index ce0598d355d..dab3cd68d4c 100644
--- a/source/blender/makesrna/intern/rna_fluid.c
+++ b/source/blender/makesrna/intern/rna_fluid.c
@@ -2446,8 +2446,10 @@ static void rna_def_fluid_domain_settings(BlenderRNA *brna)
   prop = RNA_def_property(srna, "cfl_condition", PROP_FLOAT, PROP_NONE);
   RNA_def_property_float_sdna(prop, NULL, "cfl_condition");
   RNA_def_property_range(prop, 0.0, 10.0);
-  RNA_def_property_ui_text(
-      prop, "CFL", "Maximal velocity per cell (higher value results in greater timesteps)");
+  RNA_def_property_ui_text(prop,
+                           "CFL",
+                           "Maximal velocity per cell (greater CFL numbers will minimize the "
+                           "number of simulation steps and the computation time.)");
   RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Fluid_datacache_reset");
 
   prop = RNA_def_property(srna, "use_adaptive_timesteps", PROP_BOOLEAN, PROP_NONE);



More information about the Bf-blender-cvs mailing list