diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 07:36:23 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-10 07:36:23 +0300 |
commit | 548e2e2f251e7dcecfc4db0f8d8ea04414fc2b56 (patch) | |
tree | 6449e486e73695e1692618a7fd002a3022fe8d73 /release/scripts | |
parent | 3e67e2a36e92fad95099dada8727486746722428 (diff) |
Cleanup: remove annotations from startup scripts
The current convention is not to use annotations for UI/startup scripts.
Diffstat (limited to 'release/scripts')
-rw-r--r-- | release/scripts/startup/bl_operators/anim.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/geometry_nodes.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py index 85290bfe3f0..0b6b92cfd7e 100644 --- a/release/scripts/startup/bl_operators/anim.py +++ b/release/scripts/startup/bl_operators/anim.py @@ -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 diff --git a/release/scripts/startup/bl_operators/geometry_nodes.py b/release/scripts/startup/bl_operators/geometry_nodes.py index c66f0ada955..4ced3cb5957 100644 --- a/release/scripts/startup/bl_operators/geometry_nodes.py +++ b/release/scripts/startup/bl_operators/geometry_nodes.py @@ -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) |