Improve viewer resize function.

Former-commit-id: 64370663c1
This commit is contained in:
Jérémie Dumas
2017-06-27 15:59:55 -04:00
parent 176202c632
commit fe60b1dd0c
3 changed files with 15 additions and 5 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
import pyigl as igl
import sys
import os
TUTORIAL_SHARED_PATH = "../../tutorial/shared/"
TUTORIAL_SHARED_PATH = os.path.join(os.path.dirname(os.path.realpath(__file__)), "../../tutorial/shared/")
def check_dependencies(deps):
available = [hasattr(igl, m) for m in deps]