Improve viewer resize function.

This commit is contained in:
Jérémie Dumas
2017-06-27 15:59:55 -04:00
parent c467e41fca
commit 64370663c1
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]