1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
|
From: =?utf-8?q?Timo_R=C3=B6hling?= <timo.roehling@fkie.fraunhofer.de>
Date: Sun, 5 Apr 2020 14:26:04 +0200
Subject: Fix model path for Python example
---
python/sample.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/python/sample.py b/python/sample.py
index 45c9761..09f6ba6 100644
--- a/python/sample.py
+++ b/python/sample.py
@@ -11,7 +11,7 @@ except:
"NumPy not installed. Do not use numpy_*** API. If you encounter slow performance, see a performance tips for non-numpy API https://github.com/tinyobjloader/tinyobjloader/issues/275"
)
-filename = "../models/cornell_box.obj"
+filename = "models/cornell_box.obj"
if len(sys.argv) > 1:
filename = sys.argv[1]
|