Fix T76821: Generalize Use Flow Tooltip
authorAaron Carlisle <carlisle.b3d@gmail.com>
Tue, 19 May 2020 04:53:59 +0000 (00:53 -0400)
committerAaron Carlisle <carlisle.b3d@gmail.com>
Tue, 19 May 2020 04:53:59 +0000 (00:53 -0400)
release/scripts/startup/bl_ui/properties_physics_fluid.py
source/blender/makesrna/intern/rna_fluid.c

index 4b0791a63e619be5b4917d056ac5dc8dc1a6cc26..2c8ed3637382d8baf79279ccb9522473f11009ec 100644 (file)
@@ -237,7 +237,7 @@ class PHYSICS_PT_settings(PhysicButtonsPanel, Panel):
             col = grid.column()
             col.prop(flow, "flow_behavior", expand=False)
             if flow.flow_behavior in {'INFLOW', 'OUTFLOW'}:
-                col.prop(flow, "use_inflow", text="Use Flow")
+                col.prop(flow, "use_inflow")
 
             col.prop(flow, "subframes", text="Sampling Substeps")
 
index 03b57a496ef1c672486b1095cf4e331ac296176b..7ffba1caaa9e37825a524446934e788fcedd80f7 100644 (file)
@@ -2516,7 +2516,7 @@ static void rna_def_fluid_flow_settings(BlenderRNA *brna)
 
   prop = RNA_def_property(srna, "use_inflow", PROP_BOOLEAN, PROP_NONE);
   RNA_def_property_boolean_sdna(prop, NULL, "flags", FLUID_FLOW_USE_INFLOW);
-  RNA_def_property_ui_text(prop, "Enabled", "Control when to apply inflow");
+  RNA_def_property_ui_text(prop, "Use Flow", "Control when to apply fluid flow");
   RNA_def_property_update(prop, NC_OBJECT | ND_MODIFIER, "rna_Fluid_flow_reset");
 
   prop = RNA_def_property(srna, "subframes", PROP_INT, PROP_NONE);