Skip to content

Commit 6c12df3

Browse files
pandakubmrdoob
pandakub
authored andcommitted
Update convert_to_threejs.py (mrdoob#9175)
syntax error for "print" on: Line 388 Line 2066
1 parent 602f380 commit 6c12df3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

utils/converters/fbx/convert_to_threejs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -385,7 +385,7 @@ def generate_material_object(material):
385385
}
386386

387387
else:
388-
print "Unknown type of Material", getMaterialName(material)
388+
print ("Unknown type of Material"), getMaterialName(material)
389389

390390
# default to Lambert Material if the current Material type cannot be handeled
391391
if not material_type:
@@ -2063,7 +2063,7 @@ def copy_textures(textures):
20632063
shutil.copyfile(url, saveFilename)
20642064
texture_dict[url] = True
20652065
except IOError as e:
2066-
print "I/O error({0}): {1} {2}".format(e.errno, e.strerror, url)
2066+
print ("I/O error({0}): {1} {2}").format(e.errno, e.strerror, url)
20672067

20682068
def findFilesWithExt(directory, ext, include_path = True):
20692069
ext = ext.lower()

0 commit comments

Comments
 (0)