forked from bartvdbraak/blender
Fix T76821: Generalize Use Flow Tooltip
This commit is contained in:
parent
15bf81268c
commit
5fa58fb8a2
@ -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")
|
||||
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user