[Bf-extensions-cvs] [05d255a4] master: add_curve_ivygen: disable panel in edit mode: T70017

meta-androcto noreply at git.blender.org
Tue Sep 24 02:04:14 CEST 2019


Commit: 05d255a46250e2a0533171971bf54bae78596b6a
Author: meta-androcto
Date:   Tue Sep 24 10:03:52 2019 +1000
Branches: master
https://developer.blender.org/rBA05d255a46250e2a0533171971bf54bae78596b6a

add_curve_ivygen: disable panel in edit mode: T70017

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

M	add_curve_ivygen.py

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

diff --git a/add_curve_ivygen.py b/add_curve_ivygen.py
index 8fefeb65..6359b7fb 100644
--- a/add_curve_ivygen.py
+++ b/add_curve_ivygen.py
@@ -604,6 +604,7 @@ class CURVE_PT_IvyGenPanel(Panel):
     bl_space_type = "VIEW_3D"
     bl_region_type = "UI"
     bl_category = "Create"
+    bl_context = "objectmode"
     bl_options = {"DEFAULT_CLOSED"}
 
     def draw(self, context):



More information about the Bf-extensions-cvs mailing list