Skip to content
Snippets Groups Projects
Commit 3a94eba6 authored by Campbell Barton's avatar Campbell Barton
Browse files

Cleanup: quiet warnings

parent 6aa1c9ae
No related branches found
No related tags found
No related merge requests found
...@@ -422,7 +422,7 @@ class AntAddLandscape(bpy.types.Operator): ...@@ -422,7 +422,7 @@ class AntAddLandscape(bpy.types.Operator):
default=0, default=0,
min=0, min=0,
max=16, max=16,
description="Effect depth - number of frequencies." description="Effect depth - number of frequencies"
) )
fx_amplitude = FloatProperty( fx_amplitude = FloatProperty(
name="Amp", name="Amp",
......
...@@ -68,7 +68,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper): ...@@ -68,7 +68,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
"resolution you specify here to ensure it results in a whole " "resolution you specify here to ensure it results in a whole "
"number of vertices. If it needs to alter the value you specify, " "number of vertices. If it needs to alter the value you specify, "
"you are guaranteed that it will shrink it (i.e. decrease the " "you are guaranteed that it will shrink it (i.e. decrease the "
"DTM resolution." "DTM resolution"
), ),
name="Terrain Model Resolution", name="Terrain Model Resolution",
min=1.0, max=100.0, default=10.0 min=1.0, max=100.0, default=10.0
...@@ -96,7 +96,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper): ...@@ -96,7 +96,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
"Set up the Blender screen to try and avoid clipping the DTM " "Set up the Blender screen to try and avoid clipping the DTM "
"and to make the grid floor larger. *WARNING* This will change " "and to make the grid floor larger. *WARNING* This will change "
"clipping distances and the Blender grid floor, and will fit the " "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 name="Setup Blender Scene", default=True
) )
...@@ -104,7 +104,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper): ...@@ -104,7 +104,7 @@ class ImportHiRISETerrain(bpy.types.Operator, ImportHelper):
# Blender to change its unit's dimension to meters. # Blender to change its unit's dimension to meters.
should_setup_units = bpy.props.BoolProperty( should_setup_units = bpy.props.BoolProperty(
description=( 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 name="Set Blender Units to Meters", default=True
) )
......
...@@ -61,7 +61,7 @@ class TerrainPanel(bpy.types.Panel): ...@@ -61,7 +61,7 @@ class TerrainPanel(bpy.types.Panel):
"alter the resolution you specify here to ensure it results in a " "alter the resolution you specify here to ensure it results in a "
"whole number of vertices. If it needs to alter the value you " "whole number of vertices. If it needs to alter the value you "
"specify, you are guaranteed that it will shrink it (i.e. " "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 min=1.0, max=100.0, default=10.0
) )
...@@ -115,7 +115,7 @@ class TerrainPanel(bpy.types.Panel): ...@@ -115,7 +115,7 @@ class TerrainPanel(bpy.types.Panel):
class ReloadTerrain(bpy.types.Operator): 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_idname = "terrain.reload"
bl_label = "Reload Terrain" bl_label = "Reload Terrain"
......
...@@ -28,7 +28,7 @@ import shutil ...@@ -28,7 +28,7 @@ import shutil
class reloadImages (Operator): class reloadImages (Operator):
"""Reloads all bitmaps in the scene.""" """Reloads all bitmaps in the scene"""
bl_idname = "image.reload_images_osc" bl_idname = "image.reload_images_osc"
bl_label = "Reload Images" bl_label = "Reload Images"
bl_options = {"REGISTER", "UNDO"} bl_options = {"REGISTER", "UNDO"}
...@@ -42,7 +42,7 @@ class reloadImages (Operator): ...@@ -42,7 +42,7 @@ class reloadImages (Operator):
# ------------------------ SAVE INCREMENTAL ------------------------ # ------------------------ SAVE INCREMENTAL ------------------------
class saveIncremental(Operator): 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_idname = "file.save_incremental_osc"
bl_label = "Save Incremental File" bl_label = "Save Incremental File"
bl_options = {"REGISTER", "UNDO"} bl_options = {"REGISTER", "UNDO"}
...@@ -91,7 +91,7 @@ class replaceFilePath(Operator): ...@@ -91,7 +91,7 @@ class replaceFilePath(Operator):
# ---------------------- SYNC MISSING GROUPS -------------------------- # ---------------------- SYNC MISSING GROUPS --------------------------
class reFreshMissingGroups(Operator): 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_idname = "file.sync_missing_groups"
bl_label = "Sync Missing Groups" bl_label = "Sync Missing Groups"
bl_options = {"REGISTER", "UNDO"} bl_options = {"REGISTER", "UNDO"}
...@@ -108,7 +108,7 @@ class reFreshMissingGroups(Operator): ...@@ -108,7 +108,7 @@ class reFreshMissingGroups(Operator):
class collectImagesOsc(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_idname = "file.collect_all_images"
bl_label = "Collect Images" bl_label = "Collect Images"
bl_options = {"REGISTER", "UNDO"} bl_options = {"REGISTER", "UNDO"}
......
...@@ -305,7 +305,7 @@ def register(): ...@@ -305,7 +305,7 @@ def register():
IDStore.rigify_target_rigs = bpy.props.CollectionProperty(type=RigifyName) IDStore.rigify_target_rigs = bpy.props.CollectionProperty(type=RigifyName)
IDStore.rigify_target_rig = bpy.props.StringProperty(name="Rigify Target Rig", 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="") default="")
IDStore.rigify_rig_uis = bpy.props.CollectionProperty(type=RigifyName) IDStore.rigify_rig_uis = bpy.props.CollectionProperty(type=RigifyName)
......
...@@ -124,7 +124,7 @@ def init_props(scene): ...@@ -124,7 +124,7 @@ def init_props(scene):
items=get_loaded_texture_name) items=get_loaded_texture_name)
scene.muv_texproj_tex_transparency = FloatProperty( scene.muv_texproj_tex_transparency = FloatProperty(
name="Transparency", name="Transparency",
description="Texture Transparency.", description="Texture Transparency",
default=0.2, default=0.2,
min=0.0, min=0.0,
max=1.0) max=1.0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment