Commit: dcd90bf1885bf1d575b670eecac4f69412979cfa
Author: William Reynish
Date:   Fri Mar 26 12:21:03 2021 -0400
Branches: master
https://developer.blender.org/rBdcd90bf1885bf1d575b670eecac4f69412979cfa

UI: Remove "Enable physics for:" text in physics properties

The "Enable physics for:" text makes no semantic sense- i.e.
"Enable physics for Fluid". Additionally, the leading text is just not
necessary, this section is just as clear without it.

Differential Revision: https://developer.blender.org/D10537

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

M       release/scripts/startup/bl_ui/properties_physics_common.py

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

diff --git a/release/scripts/startup/bl_ui/properties_physics_common.py 
b/release/scripts/startup/bl_ui/properties_physics_common.py
index 82f43790d72..4ddb4953fbd 100644
--- a/release/scripts/startup/bl_ui/properties_physics_common.py
+++ b/release/scripts/startup/bl_ui/properties_physics_common.py
@@ -74,10 +74,6 @@ class PHYSICS_PT_add(PhysicButtonsPanel, Panel):
     def draw(self, context):
         layout = self.layout
 
-        row = layout.row(align=True)
-        row.alignment = 'LEFT'
-        row.label(text="Enable physics for:")
-
         flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, 
even_rows=False, align=True)
 
         obj = context.object

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to