diff options
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index a43d26b2c89..8c02e845071 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -446,6 +446,7 @@ class MeshFace(StructRNA): ord_ind(verts[3], verts[0]), ) + class MeshPolygon(StructRNA): __slots__ = () @@ -453,7 +454,7 @@ class MeshPolygon(StructRNA): def edge_keys(self): verts = self.vertices[:] vlen = len(self.vertices) - return [ord_ind(verts[i], verts[(i+1) % vlen]) for i in range(vlen)] + return [ord_ind(verts[i], verts[(i + 1) % vlen]) for i in range(vlen)] @property def loops(self): @@ -461,6 +462,7 @@ class MeshPolygon(StructRNA): end = start + self.loop_total return range(start, end) + class Text(bpy_types.ID): __slots__ = () |