Cleanup: remove unused function
This commit is contained in:
parent
7c860ab9d4
commit
2d42dc4182
|
@ -50,19 +50,6 @@ class SPREADSHEET_OT_toggle_pin(Operator):
|
|||
space.is_pinned = False
|
||||
space.context_path.guess()
|
||||
|
||||
def find_geometry_node_editors(self, context):
|
||||
editors = []
|
||||
for window in context.window_manager.windows:
|
||||
for area in window.screen.areas:
|
||||
space = area.spaces.active
|
||||
if space.type != 'NODE_EDITOR':
|
||||
continue
|
||||
if space.edit_tree is None:
|
||||
continue
|
||||
if space.edit_tree.type == 'GEOMETRY':
|
||||
editors.append(space)
|
||||
return editors
|
||||
|
||||
|
||||
classes = (
|
||||
SPREADSHEET_OT_toggle_pin,
|
||||
|
|
Loading…
Reference in New Issue