فهرست منبع

added key in Constants that corresponds to data coming out of Blender; removed debug prints

Ryan Lee 8 سال پیش
والد
کامیت
96f9ed2d05

+ 1 - 0
utils/exporters/blender/addons/io_three/constants.py

@@ -41,6 +41,7 @@ NUMERIC = {
     'SphericalReflectionMapping': 305,
 
     'RepeatWrapping': 1000,
+    'repeat': 1000,
     'ClampToEdgeWrapping': 1001,
     'MirroredRepeatWrapping': 1002,
 

+ 0 - 4
utils/exporters/blender/addons/io_three/exporter/api/mesh.py

@@ -387,7 +387,6 @@ def faces(mesh, options, material_list=None):
 
     normal_indices = {}
 
-    print (vertex_normals)
     if vertex_normals:
         logger.debug("Indexing normals")
 
@@ -419,9 +418,6 @@ def faces(mesh, options, material_list=None):
                 normal = flip_axes(normal)
                 normal_indices[str(normal)] = index
 
-    for k,v in normal_indices.items():
-        print(str(v) + ": " + str(k))
-
     logger.info("Parsing %d faces", len(mesh.tessfaces))
     for face in mesh.tessfaces:
         vert_count = len(face.vertices)