From b5dd382b5a166d0d44b89ef2758c89e271ac78ea Mon Sep 17 00:00:00 2001 From: Bastien Montagne <montagne29@wanadoo.fr> Date: Wed, 4 Jul 2012 15:52:29 +0000 Subject: [PATCH] Last spell checking (for now). --- io_scene_obj/__init__.py | 2 +- io_scene_obj/import_obj.py | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py index 2a36a14b2..ef03b4169 100644 --- a/io_scene_obj/__init__.py +++ b/io_scene_obj/__init__.py @@ -67,7 +67,7 @@ class ImportOBJ(bpy.types.Operator, ImportHelper): use_ngons = BoolProperty( name="NGons", - description="Import faces with more than 4 verts as fgons", + description="Import faces with more than 4 verts as ngons", default=True, ) use_edges = BoolProperty( diff --git a/io_scene_obj/import_obj.py b/io_scene_obj/import_obj.py index 66a76c183..4ab42ee3e 100644 --- a/io_scene_obj/import_obj.py +++ b/io_scene_obj/import_obj.py @@ -426,7 +426,7 @@ def create_mesh(new_objects, ): """ Takes all the data gathered and generates a mesh, adding the new object to new_objects - deals with fgons, sharp edges and assigning materials + deals with ngons, sharp edges and assigning materials """ from bpy_extras.mesh_utils import ngon_tessellate @@ -438,7 +438,7 @@ def create_mesh(new_objects, smooth_group_users = {context_smooth_group: {} for context_smooth_group in list(unique_smooth_groups.keys())} context_smooth_group_old = -1 - # Split fgons into tri's + # Split ngons into tri's fgon_edges = {} # Used for storing fgon keys if use_edges: edges = [] @@ -487,7 +487,7 @@ def create_mesh(new_objects, except KeyError: edge_dict[i1, i2] = 1 - # FGons into triangles + # NGons into triangles if has_ngons and len_face_vert_loc_indices > 4: ngon_face_indices = ngon_tessellate(verts_loc, face_vert_loc_indices) @@ -506,7 +506,7 @@ def create_mesh(new_objects, for ngon in ngon_face_indices] ) - # edges to make fgons + # edges to make ngons if use_ngons: edge_users = {} for ngon in ngon_face_indices: -- GitLab