Skip to content

Commit

Permalink
refactor: rename main to setup_maya_umbrella in userSetup.py
Browse files Browse the repository at this point in the history
Signed-off-by: loonghao <[email protected]>
  • Loading branch information
loonghao committed Jul 25, 2024
1 parent b16918c commit 51d486d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maya/userSetup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from maya_umbrella import get_defender_instance


def main():
def setup_maya_umbrella():
defender = get_defender_instance()
defender.setup()
if not cmds.about(batch=True):
Expand All @@ -16,4 +16,4 @@ def main():


if __name__ == "__main__":
cmds.evalDeferred(main)
cmds.evalDeferred(setup_maya_umbrella)

0 comments on commit 51d486d

Please sign in to comment.