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-03 13:01:43 +0400
committerBastien Montagne <montagne29@wanadoo.fr>2012-07-03 13:01:43 +0400
commit2dc06f6d50d14a97ff0c37f88b6979d18a0fd279 (patch)
tree60728ddc2bb420bcf11901e27a11a677276cb889 /space_view3d_materials_utils.py
parent842985a49773634076d45f845957216006fc683e (diff)
Style edit (mostly), use """ for docstrings (not ''').
Diffstat (limited to 'space_view3d_materials_utils.py')
-rw-r--r--space_view3d_materials_utils.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py
index 48e1163b..609d8343 100644
--- a/space_view3d_materials_utils.py
+++ b/space_view3d_materials_utils.py
@@ -494,7 +494,7 @@ def remove_materials():
# operator classes:
class VIEW3D_OT_texface_to_material(bpy.types.Operator):
- '''Create texture materials for images assigned in UV editor'''
+ """Create texture materials for images assigned in UV editor"""
bl_idname = "view3d.texface_to_material"
bl_label = "MW Texface Images to Material/Texture"
bl_options = {'REGISTER', 'UNDO'}
@@ -514,7 +514,7 @@ class VIEW3D_OT_texface_to_material(bpy.types.Operator):
class VIEW3D_OT_assign_material(bpy.types.Operator):
- '''Assign a material to the selection'''
+ """Assign a material to the selection"""
bl_idname = "view3d.assign_material"
bl_label = "MW Assign Material"
bl_options = {'REGISTER', 'UNDO'}
@@ -540,8 +540,8 @@ class VIEW3D_OT_assign_material(bpy.types.Operator):
class VIEW3D_OT_clean_material_slots(bpy.types.Operator):
- '''Removes any material slots from selected objects '''\
- '''that are not used by the mesh'''
+ """Removes any material slots from selected objects """ \
+ """that are not used by the mesh"""
bl_idname = "view3d.clean_material_slots"
bl_label = "MW Clean Material Slots"
bl_options = {'REGISTER', 'UNDO'}
@@ -556,7 +556,7 @@ class VIEW3D_OT_clean_material_slots(bpy.types.Operator):
class VIEW3D_OT_material_to_texface(bpy.types.Operator):
- '''Transfer material assignments to UV editor'''
+ """Transfer material assignments to UV editor"""
bl_idname = "view3d.material_to_texface"
bl_label = "MW Material Images to Texface"
bl_options = {'REGISTER', 'UNDO'}
@@ -570,7 +570,7 @@ class VIEW3D_OT_material_to_texface(bpy.types.Operator):
return {'FINISHED'}
class VIEW3D_OT_material_remove(bpy.types.Operator):
- '''Remove all material slots from active objects'''
+ """Remove all material slots from active objects"""
bl_idname = "view3d.material_remove"
bl_label = "Remove All Material Slots"
bl_options = {'REGISTER', 'UNDO'}
@@ -585,7 +585,7 @@ class VIEW3D_OT_material_remove(bpy.types.Operator):
class VIEW3D_OT_select_material_by_name(bpy.types.Operator):
- '''Select geometry with this material assigned to it'''
+ """Select geometry with this material assigned to it"""
bl_idname = "view3d.select_material_by_name"
bl_label = "MW Select Material By Name"
bl_options = {'REGISTER', 'UNDO'}
@@ -606,7 +606,7 @@ class VIEW3D_OT_select_material_by_name(bpy.types.Operator):
class VIEW3D_OT_replace_material(bpy.types.Operator):
- '''Replace a material by name'''
+ """Replace a material by name"""
bl_idname = "view3d.replace_material"
bl_label = "MW Replace Material"
bl_options = {'REGISTER', 'UNDO'}