[Bf-blender-cvs] [7c825b6665d] greasepencil-edit-curve: GPencil: Make editable Curve Editing props when disabled

Antonio Vazquez noreply at git.blender.org
Fri Jun 12 11:25:08 CEST 2020


Commit: 7c825b6665d0a35b2a61cdab6f4e01f5b1bc1126
Author: Antonio Vazquez
Date:   Fri Jun 12 11:25:00 2020 +0200
Branches: greasepencil-edit-curve
https://developer.blender.org/rB7c825b6665d0a35b2a61cdab6f4e01f5b1bc1126

GPencil: Make editable Curve Editing props when disabled

Some parameters can be required before set to ON the mode, so now it's possible update these parameters before.

===================================================================

M	release/scripts/startup/bl_ui/space_view3d.py

===================================================================

diff --git a/release/scripts/startup/bl_ui/space_view3d.py b/release/scripts/startup/bl_ui/space_view3d.py
index 5431ecb852e..fbeb480aa21 100644
--- a/release/scripts/startup/bl_ui/space_view3d.py
+++ b/release/scripts/startup/bl_ui/space_view3d.py
@@ -732,7 +732,7 @@ class VIEW3D_HT_header(Header):
                 row.prop(gpd, "use_curve_edit", text="",
                          icon='IPO_BEZIER')
                 sub = row.row(align=True)
-                sub.enabled = gpd.use_curve_edit
+                sub.active = gpd.use_curve_edit
                 sub.popover(
                     panel="VIEW3D_PT_gpencil_curve_edit",
                     text="Curve Editing",



More information about the Bf-blender-cvs mailing list