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.
This commit is contained in:
Julian Eisel
2020-05-25 17:24:48 +02:00
parent 2ba3214a21
commit 28d81f7b24

View File

@@ -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")