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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2012-07-04 19:52:29 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-04 19:52:29 +0400
commitb5dd382b5a166d0d44b89ef2758c89e271ac78ea (patch)
treee21d4ed246618927415e64ca947abaf73f8a9766 /io_scene_obj
parentbcabddfd31e6cc48ddf1b06c5d81174340608050 (diff)
Last spell checking (for now).
Diffstat (limited to 'io_scene_obj')
-rw-r--r--io_scene_obj/__init__.py2
-rw-r--r--io_scene_obj/import_obj.py8
2 files changed, 5 insertions, 5 deletions
diff --git a/io_scene_obj/__init__.py b/io_scene_obj/__init__.py
index 2a36a14b..ef03b416 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 66a76c18..4ab42ee3 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: