File: 0006-Fix-model-path-for-Python-example.patch

package info (click to toggle)
tinyobjloader 2.0.0~rc5%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,280 kB
  • sloc: cpp: 5,860; python: 113; makefile: 38; sh: 31
file content (21 lines) | stat: -rw-r--r-- 516 bytes parent folder | download
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 5a74972..53372c4 100644
--- a/python/sample.py
+++ b/python/sample.py
@@ -1,7 +1,7 @@
 import sys
 import tinyobjloader
 
-filename = "../models/cornell_box.obj"
+filename = "cornell_box.obj"
 
 
 reader = tinyobjloader.ObjReader()