[Bf-extensions-cvs] [3a94eba6] master: Cleanup: quiet warnings

Campbell Barton noreply at git.blender.org
Thu Aug 31 06:53:41 CEST 2017


Commit: 3a94eba6d4a1b6538232dba515d0874c64ea8283
Author: Campbell Barton
Date:   Thu Aug 31 14:59:55 2017 +1000
Branches: master
https://developer.blender.org/rBA3a94eba6d4a1b6538232dba515d0874c64ea8283

Cleanup: quiet warnings

===================================================================

M	ant_landscape/add_mesh_ant_landscape.py
M	io_convert_image_to_mesh_img/ui/importer.py
M	io_convert_image_to_mesh_img/ui/terrainpanel.py
M	oscurart_tools/oscurart_files.py
M	rigify/__init__.py
M	uv_magic_uv/muv_props.py

===================================================================

diff --git a/ant_landscape/add_mesh_ant_landscape.py b/ant_landscape/add_mesh_ant_landscape.py
index df941c4f..5d25cf24 100644
--- a/ant_landscape/add_mesh_ant_landscape.py
+++ b/ant_landscape/add_mesh_ant_landscape.py
@@ -422,7 +422,7 @@ class AntAddLandscape(bpy.types.Operator):
             default=0,
             min=0,
             max=16,
-            description="Effect depth - number of frequencies."
+            description="Effect depth - number of frequencies"
             )
     fx_amplitude = FloatProperty(
             name="Amp",
diff --git a/io_convert_image_to_mesh_img/ui/importer.py b/io_convert_image_to_mesh_img/ui/importer.py
index 981e49c2..35e82f62 100644
--- a/io_convert_image_to_mesh_img/ui/importer.py
+++ b/io_convert_image_to_mesh_img/ui/importer.py
@@ -68,7 +68,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
             "resolution you specify here to ensure it results in a whole "
             "number of vertices. If it needs to alter the value you specify, "
             "you are guaranteed that it will shrink it (i.e. decrease the "
-            "DTM resolution."
+            "DTM resolution"
         ),
         name="Terrain Model Resolution",
         min=1.0, max=100.0, default=10.0
@@ -96,7 +96,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
             "Set up the Blender screen to try and avoid clipping the DTM "
             "and to make the grid floor larger. *WARNING* This will change "
             "clipping distances and the Blender grid floor, and will fit the "
-            "DTM in the viewport."
+            "DTM in the viewport"
         ),
         name="Setup Blender Scene", default=True
     )
@@ -104,7 +104,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
     #    Blender to change its unit's dimension to meters.
     should_setup_units = bpy.props.BoolProperty(
         description=(
-            "Set the Blender scene to use meters as its unit."
+            "Set the Blender scene to use meters as its unit"
         ),
         name="Set Blender Units to Meters", default=True
     )
diff --git a/io_convert_image_to_mesh_img/ui/terrainpanel.py b/io_convert_image_to_mesh_img/ui/terrainpanel.py
index 80dfe8e4..5e61c421 100644
--- a/io_convert_image_to_mesh_img/ui/terrainpanel.py
+++ b/io_convert_image_to_mesh_img/ui/terrainpanel.py
@@ -61,7 +61,7 @@ class TerrainPanel(bpy.types.Panel):
             "alter the resolution you specify here to ensure it results in a "
             "whole number of vertices. If it needs to alter the value you "
             "specify, you are guaranteed that it will shrink it (i.e. "
-            "decrease the DTM resolution."
+            "decrease the DTM resolution"
         ),
         min=1.0, max=100.0, default=10.0
     )
@@ -115,7 +115,7 @@ class TerrainPanel(bpy.types.Panel):
 
 
 class ReloadTerrain(bpy.types.Operator):
-    """Button for reloading the terrain mesh at a new resolution."""
+    """Button for reloading the terrain mesh at a new resolution"""
     bl_idname = "terrain.reload"
     bl_label = "Reload Terrain"
 
diff --git a/oscurart_tools/oscurart_files.py b/oscurart_tools/oscurart_files.py
index 870508bd..3a507c33 100644
--- a/oscurart_tools/oscurart_files.py
+++ b/oscurart_tools/oscurart_files.py
@@ -28,7 +28,7 @@ import shutil
 
 
 class reloadImages (Operator):
-    """Reloads all bitmaps in the scene."""
+    """Reloads all bitmaps in the scene"""
     bl_idname = "image.reload_images_osc"
     bl_label = "Reload Images"
     bl_options = {"REGISTER", "UNDO"}
@@ -42,7 +42,7 @@ class reloadImages (Operator):
 # ------------------------ SAVE INCREMENTAL ------------------------
 
 class saveIncremental(Operator):
-    """Saves incremental version of the blend file Ex: “_v01” "_v02"."""
+    """Saves incremental version of the blend file Ex: "_v01", "_v02\""""
     bl_idname = "file.save_incremental_osc"
     bl_label = "Save Incremental File"
     bl_options = {"REGISTER", "UNDO"}
@@ -91,7 +91,7 @@ class replaceFilePath(Operator):
 # ---------------------- SYNC MISSING GROUPS --------------------------
 
 class reFreshMissingGroups(Operator):
-    """Search on the libraries of the linked source and relink groups and link newones if there are. Usefull to use with the mesh cache tools."""
+    """Search on the libraries of the linked source and relink groups and link newones if there are. Usefull to use with the mesh cache tools"""
     bl_idname = "file.sync_missing_groups"
     bl_label = "Sync Missing Groups"
     bl_options = {"REGISTER", "UNDO"}
@@ -108,7 +108,7 @@ class reFreshMissingGroups(Operator):
 
 
 class collectImagesOsc(Operator):
-    """Collect all images in the blend file and put them in IMAGES folder."""
+    """Collect all images in the blend file and put them in IMAGES folder"""
     bl_idname = "file.collect_all_images"
     bl_label = "Collect Images"
     bl_options = {"REGISTER", "UNDO"}
diff --git a/rigify/__init__.py b/rigify/__init__.py
index 2c573e76..fa93533b 100644
--- a/rigify/__init__.py
+++ b/rigify/__init__.py
@@ -305,7 +305,7 @@ def register():
 
     IDStore.rigify_target_rigs = bpy.props.CollectionProperty(type=RigifyName)
     IDStore.rigify_target_rig = bpy.props.StringProperty(name="Rigify Target Rig",
-                                                         description="Defines which rig to overwrite. If unset, a new one called 'rig' will be created.",
+                                                         description="Defines which rig to overwrite. If unset, a new one called 'rig' will be created",
                                                          default="")
 
     IDStore.rigify_rig_uis = bpy.props.CollectionProperty(type=RigifyName)
diff --git a/uv_magic_uv/muv_props.py b/uv_magic_uv/muv_props.py
index f28fcdbc..24f552d5 100644
--- a/uv_magic_uv/muv_props.py
+++ b/uv_magic_uv/muv_props.py
@@ -124,7 +124,7 @@ def init_props(scene):
         items=get_loaded_texture_name)
     scene.muv_texproj_tex_transparency = FloatProperty(
         name="Transparency",
-        description="Texture Transparency.",
+        description="Texture Transparency",
         default=0.2,
         min=0.0,
         max=1.0)



More information about the Bf-extensions-cvs mailing list