Cleanup: remove annotations from startup scripts

The current convention is not to use annotations for UI/startup scripts.
This commit is contained in:
2021-03-10 15:36:23 +11:00
parent 3e67e2a36e
commit 548e2e2f25
2 changed files with 2 additions and 2 deletions

View File

@@ -438,7 +438,7 @@ class ANIM_OT_show_group_colors_deprecated(Operator):
bl_options = {'REGISTER'}
@classmethod
def poll(cls, context) -> bool:
def poll(cls, context):
return False

View File

@@ -38,7 +38,7 @@ def geometry_node_group_empty_new():
return group
def geometry_modifier_poll(context) -> bool:
def geometry_modifier_poll(context):
ob = context.object
# Test object support for geometry node modifier (No volume, curve, or hair object support yet)