[Bf-blender-cvs] [28d81f7b242] master: Fix T76957: Rigid body "Animated" text cutoff

Julian Eisel noreply at git.blender.org
Mon May 25 17:26:31 CEST 2020


Commit: 28d81f7b24283e31fc3a636dc30f37d57d0e3c58
Author: Julian Eisel
Date:   Mon May 25 17:24:48 2020 +0200
Branches: master
https://developer.blender.org/rB28d81f7b24283e31fc3a636dc30f37d57d0e3c58

Fix T76957: Rigid body "Animated" text cutoff

Removes the flow layout from the panel. No reason to use that here,
surrounding code doesn't either. Probably an unintentional left-over.

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

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

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

diff --git a/release/scripts/startup/bl_ui/properties_physics_rigidbody.py b/release/scripts/startup/bl_ui/properties_physics_rigidbody.py
index dd7bf54dc68..b03f80bd600 100644
--- a/release/scripts/startup/bl_ui/properties_physics_rigidbody.py
+++ b/release/scripts/startup/bl_ui/properties_physics_rigidbody.py
@@ -79,14 +79,12 @@ class PHYSICS_PT_rigid_body_settings(PHYSICS_PT_rigidbody_panel, Panel):
             rigid_body_warning(layout)
             return
 
-        flow = layout.grid_flow(row_major=True, columns=0, even_columns=True, even_rows=False, align=True)
-        col = flow.column()
+        col = layout.column()
 
         if rbo.type == 'ACTIVE':
             col.prop(rbo, "mass")
             col.prop(rbo, "enabled", text="Dynamic")
 
-        col = flow.column()
         col.prop(rbo, "kinematic", text="Animated")



More information about the Bf-blender-cvs mailing list