Skip to content

Commit

Permalink
declare globals as such
Browse files Browse the repository at this point in the history
  • Loading branch information
SpheMakh committed Jun 7, 2024
1 parent 8484766 commit 85f51e1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Tigger/bin/tigger_tag.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,13 +172,15 @@ def main():

# This is where we accumulate the result of selection arguments, until we hit the first tagging argument.
# Initially None, meaning no explicit selection
global selected_ids
selected_ids = None

# This is where we put the selection when we hit the first tagging argument.
global selection
selection = None

# this is set to true when the selection is listed
listed = False
global listed
# set to true when the model is modified
modified = False

Expand Down

0 comments on commit 85f51e1

Please sign in to comment.