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:
parent
2ba3214a21
commit
28d81f7b24
Notes:
blender-bot
2023-02-14 00:29:15 +01:00
Referenced by issue #76957, Rigid body "Animated" text cutoff.
|
@ -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")
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue