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

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2013-04-07 05:38:03 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-04-07 05:38:03 +0400
commit63d523336f3876f6dca5affd66a190df88a87747 (patch)
treeb4fb4677fe1138ae0476526d442a52b0804fa30b /release/scripts/modules/bpy_extras
parent6774e727a28186258b6bfa443da0ef7aec280be3 (diff)
freestyle lineset `tag` attribute was defined but not used, also some code cleanup.
Diffstat (limited to 'release/scripts/modules/bpy_extras')
-rw-r--r--release/scripts/modules/bpy_extras/mesh_utils.py6
-rw-r--r--release/scripts/modules/bpy_extras/object_utils.py3
2 files changed, 6 insertions, 3 deletions
diff --git a/release/scripts/modules/bpy_extras/mesh_utils.py b/release/scripts/modules/bpy_extras/mesh_utils.py
index f4fdfece947..d905964e71c 100644
--- a/release/scripts/modules/bpy_extras/mesh_utils.py
+++ b/release/scripts/modules/bpy_extras/mesh_utils.py
@@ -328,10 +328,12 @@ def ngon_tessellate(from_data, indices, fix_loops=True):
fgon to create from existing verts.
from_data: either a mesh, or a list/tuple of vectors.
- :arg indices: a list of indices to use this list is the ordered closed polyline
+ :arg indices: a list of indices to use this list
+ is the ordered closed polyline
to fill, and can be a subset of the data given.
:type indices: list
- :arg fix_loops: If this is enabled polylines that use loops to make multiple
+ :arg fix_loops: If this is enabled polylines
+ that use loops to make multiple
polylines are delt with correctly.
:type fix_loops: bool
"""
diff --git a/release/scripts/modules/bpy_extras/object_utils.py b/release/scripts/modules/bpy_extras/object_utils.py
index ab5dc3e6aee..786b7b5460e 100644
--- a/release/scripts/modules/bpy_extras/object_utils.py
+++ b/release/scripts/modules/bpy_extras/object_utils.py
@@ -191,7 +191,8 @@ class AddObjectHelper:
def object_add_grid_scale(context):
"""
- Return scale which should be applied on object data to align it to grid scale
+ Return scale which should be applied on object
+ data to align it to grid scale
"""
space_data = context.space_data