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/nodes.py | |
parent | fba8c3db998fb8deb2e85037581b748ee895952c (diff) |
Cleanup: warnings in descriptions (end with '.')
Diffstat (limited to 'render_povray/nodes.py')
-rw-r--r-- | render_povray/nodes.py | 62 |
1 files changed, 36 insertions, 26 deletions
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): |