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
parent6774e727a28186258b6bfa443da0ef7aec280be3 (diff)
freestyle lineset `tag` attribute was defined but not used, also some code cleanup.
Diffstat (limited to 'release/scripts/modules')
-rw-r--r--release/scripts/modules/bpy/utils.py5
-rw-r--r--release/scripts/modules/bpy_extras/mesh_utils.py6
-rw-r--r--release/scripts/modules/bpy_extras/object_utils.py3
3 files changed, 9 insertions, 5 deletions
diff --git a/release/scripts/modules/bpy/utils.py b/release/scripts/modules/bpy/utils.py
index 9c4117f0953..b78105dedb5 100644
--- a/release/scripts/modules/bpy/utils.py
+++ b/release/scripts/modules/bpy/utils.py
@@ -654,8 +654,9 @@ def make_rna_paths(struct_name, prop_name, enum_name):
:type prop_name: string
:arg enum_name: Name of a RNA enum identifier.
:type enum_name: string
- :return: A triple of three "RNA paths" (most_complete_path, "struct.prop", "struct.prop:'enum'").
- If no enum_name is given, the third element will always be void.
+ :return: A triple of three "RNA paths"
+ (most_complete_path, "struct.prop", "struct.prop:'enum'").
+ If no enum_name is given, the third element will always be void.
:rtype: tuple of strings
"""
src = src_rna = src_enum = ""
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