[Bf-blender-cvs] [576bd986220] master: Grease Pencil UI code: use `row` for rows in the UI
Sybren A. Stüvel
noreply at git.blender.org
Mon Nov 2 17:18:58 CET 2020
Commit: 576bd9862209125c03dc1b12afb0aade618f9bc0
Author: Sybren A. Stüvel
Date: Mon Nov 2 17:18:21 2020 +0100
Branches: master
https://developer.blender.org/rB576bd9862209125c03dc1b12afb0aade618f9bc0
Grease Pencil UI code: use `row` for rows in the UI
Rename `col` to `row` when it's actually a row (and not a column).
No functional changes.
===================================================================
M release/scripts/startup/bl_ui/properties_grease_pencil_common.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index 97e87f5451c..d9dbb60b3b6 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -880,11 +880,11 @@ class GreasePencilLayerDisplayPanel:
gpd = ob.data
gpl = gpd.layers.active
- col = layout.row(align=True)
- col.prop(gpl, "channel_color")
+ row = layout.row(align=True)
+ row.prop(gpl, "channel_color")
- col = layout.row(align=True)
- col.prop(gpl, "use_solo_mode", text="Show Only on Keyframed")
+ row = layout.row(align=True)
+ row.prop(gpl, "use_solo_mode", text="Show Only on Keyframed")
class GreasePencilFlipTintColors(Operator):
More information about the Bf-blender-cvs
mailing list