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:
authorCampbell Barton <ideasman42@gmail.com>2017-03-30 04:27:14 +0300
committerCampbell Barton <ideasman42@gmail.com>2017-03-30 04:27:36 +0300
commitf53017167bdd9854a65690c23cbc90cf1f9d37ea (patch)
tree75da45a520bed7e8464c255fb2cf5952c767bd34 /render_povray
parentfba8c3db998fb8deb2e85037581b748ee895952c (diff)
Cleanup: warnings in descriptions (end with '.')
Diffstat (limited to 'render_povray')
-rw-r--r--render_povray/__init__.py26
-rw-r--r--render_povray/nodes.py62
2 files changed, 53 insertions, 35 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py
index 12f291a5..e66e44c2 100644
--- a/render_povray/__init__.py
+++ b/render_povray/__init__.py
@@ -238,10 +238,11 @@ class RenderPovSettingsScene(PropertyGroup):
default=False)
ambient_light = FloatVectorProperty(
- name="Ambient Light", description="Ambient light is used to simulate the effect of inter-diffuse reflection",
+ name="Ambient Light",
+ description="Ambient light is used to simulate the effect of inter-diffuse reflection",
precision=4, step=0.01, min=0, soft_max=1,
- default=(1, 1, 1), options={'ANIMATABLE'}, subtype='COLOR')
-
+ default=(1, 1, 1), options={'ANIMATABLE'}, subtype='COLOR',
+ )
global_settings_advanced = BoolProperty(
name="Advanced",
description="",
@@ -253,13 +254,17 @@ class RenderPovSettingsScene(PropertyGroup):
default=False)
irid_wavelength = FloatVectorProperty(
- name="Irid Wavelength", description="Iridescence calculations depend upon the dominant wavelengths of the primary colors of red, green and blue light.",
+ name="Irid Wavelength",
+ description=(
+ "Iridescence calculations depend upon the dominant "
+ "wavelengths of the primary colors of red, green and blue light"
+ ),
precision=4, step=0.01, min=0, soft_max=1,
default=(0.25,0.18,0.14), options={'ANIMATABLE'}, subtype='COLOR')
charset = EnumProperty(
name="Charset",
- description="This allows you to specify the assumed character set of all text strings.",
+ description="This allows you to specify the assumed character set of all text strings",
items=(("ascii", "ASCII", ""),
("utf8", "UTF-8", ""),
("sys", "SYS", "")),
@@ -272,7 +277,7 @@ class RenderPovSettingsScene(PropertyGroup):
max_intersections = IntProperty(
name="Max Intersections",
- description="POV-Ray uses a set of internal stacks to collect ray/object intersection points.",
+ description="POV-Ray uses a set of internal stacks to collect ray/object intersection points",
min=2, max=1024, default=64)
number_of_waves_enable = BoolProperty(
@@ -282,7 +287,10 @@ class RenderPovSettingsScene(PropertyGroup):
number_of_waves = IntProperty(
name="Number Waves",
- description="The waves and ripples patterns are generated by summing a series of waves, each with a slightly different center and size.",
+ description=(
+ "The waves and ripples patterns are generated by summing a series of waves, "
+ "each with a slightly different center and size"
+ ),
min=1, max=10, default=1000)
noise_generator_enable = BoolProperty(
@@ -292,7 +300,7 @@ class RenderPovSettingsScene(PropertyGroup):
noise_generator = IntProperty(
name="Noise Generator",
- description="There are three noise generators implemented.",
+ description="There are three noise generators implemented",
min=1, max=3, default=2)
########################### PHOTONS #######################################
@@ -423,7 +431,7 @@ class RenderPovSettingsScene(PropertyGroup):
radio_maximum_reuse = FloatProperty(
name="Maximum Reuse",
description="The maximum reuse parameter works in conjunction with, and is similar to that of minimum reuse, "
- "the only difference being that it is an upper bound rather than a lower one.",
+ "the only difference being that it is an upper bound rather than a lower one",
min=0.0, max=1.0,default=0.2, precision=3)
radio_nearest_count = IntProperty(
diff --git a/render_povray/nodes.py b/render_povray/nodes.py
index e6ba843d..ef185473 100644
--- a/render_povray/nodes.py
+++ b/render_povray/nodes.py
@@ -476,20 +476,22 @@ class PovrayColorImageNode(Node, ObjectNodeTree):
name="Map type",
description="",
items=( ('uv_mapping', "UV", ""),
- ('0', "Planar", "Default planar mapping."),
- ('1', "Spherical", "Spherical mapping."),
- ('2', "Cylindrical", "Cylindrical mapping."),
- ('5', "Torroidal", "Torus or donut shaped mapping.")),
+ ('0', "Planar", "Default planar mapping"),
+ ('1', "Spherical", "Spherical mapping"),
+ ('2', "Cylindrical", "Cylindrical mapping"),
+ ('5', "Torroidal", "Torus or donut shaped mapping")),
default='0')
image = StringProperty(maxlen=1024) # , subtype="FILE_PATH"
interpolate = EnumProperty(
name="Interpolate",
- description="Adding the interpolate keyword can smooth the jagged look of a bitmap.",
- items=(('2', "Bilinear", "Gives bilinear interpolation."),
- ('4', "Normalized", "Gives normalized distance.")),
+ description="Adding the interpolate keyword can smooth the jagged look of a bitmap",
+ items=(
+ ('2', "Bilinear", "Gives bilinear interpolation"),
+ ('4', "Normalized", "Gives normalized distance"),
+ ),
default='2')
premultiplied = BoolProperty(default=False)
- once = BoolProperty(description="Not to repeat.", default=False)
+ once = BoolProperty(description="Not to repeat", default=False)
def init(self, context):
@@ -554,20 +556,24 @@ class PovrayBumpMapNode(Node, ObjectNodeTree):
map_type = bpy.props.EnumProperty(
name="Map type",
description="",
- items=( ('uv_mapping', "UV", ""),
- ('0', "Planar", "Default planar mapping."),
- ('1', "Spherical", "Spherical mapping."),
- ('2', "Cylindrical", "Cylindrical mapping."),
- ('5', "Torroidal", "Torus or donut shaped mapping.")),
+ items=(
+ ('uv_mapping', "UV", ""),
+ ('0', "Planar", "Default planar mapping"),
+ ('1', "Spherical", "Spherical mapping"),
+ ('2', "Cylindrical", "Cylindrical mapping"),
+ ('5', "Torroidal", "Torus or donut shaped mapping")
+ ),
default='0')
image = StringProperty(maxlen=1024) # , subtype="FILE_PATH"
interpolate = EnumProperty(
name="Interpolate",
- description="Adding the interpolate keyword can smooth the jagged look of a bitmap.",
- items=(('2', "Bilinear", "Gives bilinear interpolation."),
- ('4', "Normalized", "Gives normalized distance.")),
+ description="Adding the interpolate keyword can smooth the jagged look of a bitmap",
+ items=(
+ ('2', "Bilinear", "Gives bilinear interpolation"),
+ ('4', "Normalized", "Gives normalized distance"),
+ ),
default='2')
- once = BoolProperty(description="Not to repeat.", default=False)
+ once = BoolProperty(description="Not to repeat", default=False)
def init(self, context):
@@ -626,21 +632,25 @@ class PovrayImagePatternNode(Node, ObjectNodeTree):
map_type = bpy.props.EnumProperty(
name="Map type",
description="",
- items=( ('uv_mapping', "UV", ""),
- ('0', "Planar", "Default planar mapping."),
- ('1', "Spherical", "Spherical mapping."),
- ('2', "Cylindrical", "Cylindrical mapping."),
- ('5', "Torroidal", "Torus or donut shaped mapping.")),
+ items=(
+ ('uv_mapping', "UV", ""),
+ ('0', "Planar", "Default planar mapping"),
+ ('1', "Spherical", "Spherical mapping"),
+ ('2', "Cylindrical", "Cylindrical mapping"),
+ ('5', "Torroidal", "Torus or donut shaped mapping"),
+ ),
default='0')
image = StringProperty(maxlen=1024) # , subtype="FILE_PATH"
interpolate = EnumProperty(
name="Interpolate",
- description="Adding the interpolate keyword can smooth the jagged look of a bitmap.",
- items=(('2', "Bilinear", "Gives bilinear interpolation."),
- ('4', "Normalized", "Gives normalized distance.")),
+ description="Adding the interpolate keyword can smooth the jagged look of a bitmap",
+ items=(
+ ('2', "Bilinear", "Gives bilinear interpolation"),
+ ('4', "Normalized", "Gives normalized distance"),
+ ),
default='2')
premultiplied = BoolProperty(default=False)
- once = BoolProperty(description="Not to repeat.", default=False)
+ once = BoolProperty(description="Not to repeat", default=False)
use_alpha = BoolProperty(default=True)
def init(self, context):