Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <julian@blender.org>2020-05-25 18:24:48 +0300
committerJulian Eisel <julian@blender.org>2020-05-25 18:26:22 +0300
commit28d81f7b24283e31fc3a636dc30f37d57d0e3c58 (patch)
treea3a55d52b10a098b012702c8a8d81c49868652c2
parent2ba3214a214418606222624c76dff94fbf10faac (diff)
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.
-rw-r--r--release/scripts/startup/bl_ui/properties_physics_rigidbody.py4
1 files changed, 1 insertions, 3 deletions
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")