diff options
author | Chris Want <cwant@ualberta.ca> | 2004-04-23 02:33:57 +0400 |
---|---|---|
committer | Chris Want <cwant@ualberta.ca> | 2004-04-23 02:33:57 +0400 |
commit | 9095df6efb7f2d010363cf3ec1031afd69121361 (patch) | |
tree | 08565b38ed78c688b8bbf79f7aeda827a1782d73 /source/blender | |
parent | b043b0e37f0d183c005e70de5ed68dcc29f4d8e5 (diff) |
Enable the new, fast loading of the STL exotic file type
(thanks Ton!)
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/exotic.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/exotic.c b/source/blender/blenkernel/intern/exotic.c index d3f539dba7a..b7a52e6bf4c 100644 --- a/source/blender/blenkernel/intern/exotic.c +++ b/source/blender/blenkernel/intern/exotic.c @@ -298,11 +298,14 @@ static void read_stl_mesh_binary(char *str) me->totface = totface; me->totvert = totvert; + mesh_add_normals_flags(me); + /* G.obedit= ob; make_editMesh(); load_editMesh(); free_editMesh(); G.obedit= 0; + */ tex_space_mesh(me); } waitcursor(1); @@ -467,11 +470,14 @@ static void read_stl_mesh_ascii(char *str) } free(vertdata); + mesh_add_normals_flags(me); + /* G.obedit= ob; make_editMesh(); load_editMesh(); free_editMesh(); G.obedit= 0; + */ tex_space_mesh(me); waitcursor(1); } |