Cleanup: quiet warnings

This commit is contained in:
Campbell Barton 2017-08-31 14:59:55 +10:00
parent 6aa1c9aeb6
commit 3a94eba6d4
6 changed files with 12 additions and 12 deletions

View File

@ -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",

View File

@ -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
)

View File

@ -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"

View File

@ -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"}

View File

@ -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)

View File

@ -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)