Cleanup: remove annotations from startup scripts
The current convention is not to use annotations for UI/startup scripts.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user