diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-03-30 04:27:14 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-03-30 04:27:36 +0300 |
commit | f53017167bdd9854a65690c23cbc90cf1f9d37ea (patch) | |
tree | 75da45a520bed7e8464c255fb2cf5952c767bd34 /render_povray/__init__.py | |
parent | fba8c3db998fb8deb2e85037581b748ee895952c (diff) |
Cleanup: warnings in descriptions (end with '.')
Diffstat (limited to 'render_povray/__init__.py')
-rw-r--r-- | render_povray/__init__.py | 26 |
1 files changed, 17 insertions, 9 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( |