Preserve normals from imported models.

Is there a way to tell blender, to not recalculate normals for imported models?

I have a simple import script, that import models from a text file. The problem is that, after I import the model, and enter in edit mode, the normals are correct (normals from the imported file), but when I leave edit mode and enter again, the normals are changed by blender.

Thanks.

Edit: I’m using Blender 2.59

No, blender regenerate geometry normals from triangles, you need to patch blender source to stop it. There is other normals, “smooth normal” that can be controlled by normal texture and used to fake bumps on flat surface.

“vertex normals” used internally are generated by blender too, just averaging geometry normal of all adjacent faces.

Oh, that’s too bad :frowning:

I will take a look at blender code, and see if I can make a custom build.

Thanks.