Skip to content

Commit 51ad823

Browse files
committed
example.py doesnt require submodule
1 parent be6a9d8 commit 51ad823

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

example.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22
import DracoPy
33

4-
with open(os.path.join('./draco/javascript/example/models/bunny.drc'), 'rb') as draco_file:
4+
with open('bunny.drc', 'rb') as draco_file:
55
file_content = draco_file.read()
66
mesh_object = DracoPy.decode_buffer_to_mesh(file_content)
77
print('number of points in original file: {0}'.format(len(mesh_object.points)))
@@ -10,7 +10,7 @@
1010
with open('bunny_test.drc', 'wb') as test_file:
1111
test_file.write(encoding_test)
1212

13-
with open(os.path.join('bunny_test.drc'), 'rb') as test_file:
13+
with open('bunny_test.drc', 'rb') as test_file:
1414
file_content = test_file.read()
1515
mesh_object = DracoPy.decode_buffer_to_mesh(file_content)
1616
print('number of points in test file: {0}'.format(len(mesh_object.points)))

0 commit comments

Comments
 (0)