You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
486 B
Python
17 lines
486 B
Python
import sys, os
|
|
import importlib
|
|
|
|
# Garante que o 3ds Max enxergue a sua pasta de plugins
|
|
script_dir = os.path.dirname(os.path.realpath(__file__))
|
|
if script_dir not in sys.path:
|
|
sys.path.append(script_dir)
|
|
|
|
# Importa a sua nova UI limpa e recarrega para sempre pegar atualizações
|
|
import vr4life_ui
|
|
importlib.reload(vr4life_ui)
|
|
|
|
if __name__ == "__main__":
|
|
from pymxs import runtime as rt
|
|
app = vr4life_ui.AutoBakeManager()
|
|
rt.vr4_app = app
|
|
app.show() |