Skip to content

Commit

Permalink
Update convert_to_threejs.py (mrdoob#9175)
Browse files Browse the repository at this point in the history
syntax error for "print" on:
Line 388
Line 2066
  • Loading branch information
qbytx authored and mrdoob committed Jun 20, 2016
1 parent 602f380 commit 6c12df3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/converters/fbx/convert_to_threejs.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def generate_material_object(material):
}

else:
print "Unknown type of Material", getMaterialName(material)
print ("Unknown type of Material"), getMaterialName(material)

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

def findFilesWithExt(directory, ext, include_path = True):
ext = ext.lower()
Expand Down

0 comments on commit 6c12df3

Please sign in to comment.