Skip to content

Commit 1d7f1a1

Browse files
author
Roberto De Ioris
committed
added threejs importer
1 parent dcb60cc commit 1d7f1a1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tutorials/SnippetsForStaticAndSkeletalMeshes_Assets/threejs_importer.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
class ThreeJSLoader:
1111

1212
def __init__(self, filename, scale=1.0):
13+
# we need ordered json dictionaries
1314
with open(filename) as json_file:
1415
self.model = json.load(json_file, object_pairs_hook=OrderedDict)
1516
self.scale = scale

0 commit comments

Comments
 (0)