From 51d486d8c74a380a25378a81f341d43a680291d7 Mon Sep 17 00:00:00 2001 From: loonghao Date: Fri, 26 Jul 2024 00:35:03 +0800 Subject: [PATCH] refactor: rename `main` to `setup_maya_umbrella` in `userSetup.py` Signed-off-by: loonghao --- maya/userSetup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maya/userSetup.py b/maya/userSetup.py index c08bdfa..94eb866 100644 --- a/maya/userSetup.py +++ b/maya/userSetup.py @@ -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): @@ -16,4 +16,4 @@ def main(): if __name__ == "__main__": - cmds.evalDeferred(main) + cmds.evalDeferred(setup_maya_umbrella)