forked from bartvdbraak/blender
for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes
This commit is contained in:
parent
e2a9590a15
commit
55f1b6baa7
@ -419,7 +419,7 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH):
|
|||||||
ob.setMatrix(contextMatrix_rot)
|
ob.setMatrix(contextMatrix_rot)
|
||||||
|
|
||||||
importedObjects.append(ob)
|
importedObjects.append(ob)
|
||||||
|
bmesh.calcNormals()
|
||||||
|
|
||||||
for matName, faces in myContextMeshMaterials.iteritems():
|
for matName, faces in myContextMeshMaterials.iteritems():
|
||||||
makeMeshMaterialCopy(matName, faces)
|
makeMeshMaterialCopy(matName, faces)
|
||||||
@ -664,9 +664,8 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH):
|
|||||||
#print contextLamp.name,
|
#print contextLamp.name,
|
||||||
|
|
||||||
elif (new_chunk.ID==OBJECT_MESH):
|
elif (new_chunk.ID==OBJECT_MESH):
|
||||||
## @@ PATCH
|
# print 'Found an OBJECT_MESH chunk'
|
||||||
print 'Found an OBJECT_MESH chunk'
|
pass
|
||||||
|
|
||||||
elif (new_chunk.ID==OBJECT_VERTICES):
|
elif (new_chunk.ID==OBJECT_VERTICES):
|
||||||
'''
|
'''
|
||||||
Worldspace vertex locations
|
Worldspace vertex locations
|
||||||
|
Loading…
Reference in New Issue
Block a user