Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2008-05-25 17:48:36 +0400
committerCampbell Barton <ideasman42@gmail.com>2008-05-25 17:48:36 +0400
commit55f1b6baa71068a8a156bad0261875441ee4b077 (patch)
tree2f6687f1b35c02d3c078ff849cd18e3b7ae1183a /release
parente2a9590a15c807c391ec7eff05c7168a8025ab7a (diff)
for for [bf-blender-Bug Tracker][11843] 3DS importer imports broken meshes
Diffstat (limited to 'release')
-rw-r--r--release/scripts/3ds_import.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/release/scripts/3ds_import.py b/release/scripts/3ds_import.py
index 8c7c93018db..028b9633606 100644
--- a/release/scripts/3ds_import.py
+++ b/release/scripts/3ds_import.py
@@ -419,7 +419,7 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH):
ob.setMatrix(contextMatrix_rot)
importedObjects.append(ob)
-
+ bmesh.calcNormals()
for matName, faces in myContextMeshMaterials.iteritems():
makeMeshMaterialCopy(matName, faces)
@@ -664,9 +664,8 @@ def process_next_chunk(file, previous_chunk, importedObjects, IMAGE_SEARCH):
#print contextLamp.name,
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):
'''
Worldspace vertex locations