[Bf-blender-cvs] [6e7ea807e1e] master: UI: Fix wrong properties being grayed out
Jacques Lucke
noreply at git.blender.org
Tue Aug 13 15:47:11 CEST 2019
Commit: 6e7ea807e1e8aa0791a3c1d8875e74d64481973c
Author: Jacques Lucke
Date: Tue Aug 13 15:45:54 2019 +0200
Branches: master
https://developer.blender.org/rB6e7ea807e1e8aa0791a3c1d8875e74d64481973c
UI: Fix wrong properties being grayed out
This has been mentioned in T68610.
===================================================================
M release/scripts/startup/bl_ui/properties_data_bone.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_bone.py b/release/scripts/startup/bl_ui/properties_data_bone.py
index f739cd66699..8b691ddcc2a 100644
--- a/release/scripts/startup/bl_ui/properties_data_bone.py
+++ b/release/scripts/startup/bl_ui/properties_data_bone.py
@@ -147,13 +147,13 @@ class BONE_PT_curved(BoneButtonsPanel, Panel):
layout.prop(bone, "bbone_segments", text="Segments")
- topcol = layout.column()
- topcol.active = bone.bbone_segments > 1
-
- col = topcol.column(align=True)
+ col = layout.column(align=True)
col.prop(bone, "bbone_x", text="Display Size X")
col.prop(bone, "bbone_z", text="Z")
+ topcol = layout.column()
+ topcol.active = bone.bbone_segments > 1
+
col = topcol.column(align=True)
col.prop(bbone, "bbone_curveinx", text="Curve In X")
col.prop(bbone, "bbone_curveiny", text="In Y")
More information about the Bf-blender-cvs
mailing list