소스 검색

Update convert_to_threejs.py (#9175)

syntax error for "print" on:
Line 388
Line 2066
pandakub 9 년 전
부모
커밋
6c12df3604
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      utils/converters/fbx/convert_to_threejs.py

+ 2 - 2
utils/converters/fbx/convert_to_threejs.py

@@ -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:
@@ -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()