diff options
Diffstat (limited to 'io_scene_vrml2')
-rw-r--r-- | io_scene_vrml2/export_vrml2.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/io_scene_vrml2/export_vrml2.py b/io_scene_vrml2/export_vrml2.py index 0a664e27..06f79fc1 100644 --- a/io_scene_vrml2/export_vrml2.py +++ b/io_scene_vrml2/export_vrml2.py @@ -178,8 +178,9 @@ def save_object(fw, global_matrix, bm = bmesh.new() bm.from_mesh(me) - bm.transform(global_matrix * obj.matrix_world) + # triangulate first so tessellation matches the view-port. bmesh.ops.triangulate(bm, faces=bm.faces) + bm.transform(global_matrix * obj.matrix_world) # default empty material_colors = [] |