Cleanup: Remove trailing period in descriptions.

Reduces warnings while running tests.
Also fix some descriptions with strings concatenated but without a
space in between.

Reviewed by campbellbarton
Differential Revision: https://developer.blender.org/D9655
This commit is contained in:
Ankit Meel 2021-02-12 10:31:55 +05:30
parent ca40d35086
commit a65fb17335
24 changed files with 79 additions and 79 deletions

View File

@ -650,12 +650,12 @@ class BlenderKitCommonUploadProps(object):
('PUBLIC', 'Public', '"Your asset will go into the validation process automatically')
),
description="If not marked private, your asset will go into the validation process automatically\n"
"Private assets are limited by quota.",
"Private assets are limited by quota",
default="PUBLIC",
)
is_procedural: BoolProperty(name="Procedural",
description="Asset is procedural - has no texture.",
description="Asset is procedural - has no texture",
default=True
)
node_count: IntProperty(name="Node count", description="Total nodes in the asset", default=0)
@ -664,7 +664,7 @@ class BlenderKitCommonUploadProps(object):
# is_private: BoolProperty(name="Asset is Private",
# description="If not marked private, your asset will go into the validation process automatically\n"
# "Private assets are limited by quota.",
# "Private assets are limited by quota",
# default=False)
is_free: BoolProperty(name="Free for Everyone",
@ -870,7 +870,7 @@ class BlenderKitMaterialUploadProps(PropertyGroup, BlenderKitCommonUploadProps):
thumbnail_resolution: EnumProperty(
name="Resolution",
items=thumbnail_resolutions,
description="Thumbnail resolution.",
description="Thumbnail resolution",
default="512",
)
@ -1055,7 +1055,7 @@ class BlenderKitModelUploadProps(PropertyGroup, BlenderKitCommonUploadProps):
thumbnail_resolution: EnumProperty(
name="Resolution",
items=thumbnail_resolutions,
description="Thumbnail resolution.",
description="Thumbnail resolution",
default="512",
)
@ -1446,11 +1446,11 @@ class BlenderKitModelSearchProps(PropertyGroup, BlenderKitCommonSearchProps):
subtype='ANGLE')
perpendicular_snap: BoolProperty(name='Perpendicular snap',
description="Limit snapping that is close to perpendicular angles to be perpendicular.",
description="Limit snapping that is close to perpendicular angles to be perpendicular",
default=True)
perpendicular_snap_threshold: FloatProperty(name="Threshold",
description="Limit perpendicular snap to be below these values.",
description="Limit perpendicular snap to be below these values",
default=.25,
min=0,
max=.5,
@ -1550,7 +1550,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
api_key_refresh: StringProperty(
name="BlenderKit refresh API Key",
description="API key used to refresh the token regularly.",
description="API key used to refresh the token regularly",
default="",
subtype="PASSWORD",
)
@ -1569,7 +1569,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
refresh_in_progress: BoolProperty(
name="Api key refresh in progress",
description="Api key is currently being refreshed. Don't refresh it again.",
description="Api key is currently being refreshed. Don't refresh it again",
default=False
)
@ -1676,7 +1676,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
use_timers: BoolProperty(
name="Use timers",
description="Use timers for BlenderKit. Usefull for debugging since timers seem to be unstable.",
description="Use timers for BlenderKit. Usefull for debugging since timers seem to be unstable",
default=True,
update=utils.save_prefs
)

View File

@ -367,7 +367,7 @@ def get_autotags():
class AutoFillTags(bpy.types.Operator):
"""Fill tags for asset. Now run before upload, no need to interact from user side."""
"""Fill tags for asset. Now run before upload, no need to interact from user side"""
bl_idname = "object.blenderkit_auto_tags"
bl_label = "Generate Auto Tags for BlenderKit"
bl_options = {'REGISTER', 'UNDO', 'INTERNAL'}

View File

@ -153,7 +153,7 @@ class Logout(bpy.types.Operator):
class CancelLoginOnline(bpy.types.Operator):
"""Cancel login attempt."""
"""Cancel login attempt"""
bl_idname = "wm.blenderkit_login_cancel"
bl_label = "BlenderKit login cancel"

View File

@ -1226,7 +1226,7 @@ def show_enum_values(obj, prop_name):
class BlenderkitDownloadOperator(bpy.types.Operator):
"""Download and link asset to scene. Only link if asset already available locally."""
"""Download and link asset to scene. Only link if asset already available locally"""
bl_idname = "scene.blenderkit_download"
bl_label = "BlenderKit Asset Download"
bl_options = {'REGISTER', 'UNDO', 'INTERNAL'}
@ -1241,7 +1241,7 @@ class BlenderkitDownloadOperator(bpy.types.Operator):
asset_base_id: StringProperty(
name="Asset base Id",
description="Asset base id, used instead of search result index.",
description="Asset base id, used instead of search result index",
default="")
target_object: StringProperty(

View File

@ -171,7 +171,7 @@ def ensure_eevee_transparency(m):
class BringToScene(Operator):
"""Bring linked object hierarchy to scene and make it editable."""
"""Bring linked object hierarchy to scene and make it editable"""
bl_idname = "object.blenderkit_bring_to_scene"
bl_label = "BlenderKit bring objects to scene"

View File

@ -295,7 +295,7 @@ def update_ratings_work_hours_ui_1_5(self, context):
class FastRateMenu(Operator):
"""Fast rating of the assets directly in the asset bar - without need to download assets."""
"""Fast rating of the assets directly in the asset bar - without need to download assets"""
bl_idname = "wm.blenderkit_menu_rating_upload"
bl_label = "Send Rating"
bl_options = {'REGISTER', 'UNDO', 'INTERNAL'}

View File

@ -1860,7 +1860,7 @@ class TransferBlenderkitData(bpy.types.Operator):
"""Regenerate cobweb"""
bl_idname = "object.blenderkit_data_trasnfer"
bl_label = "Transfer BlenderKit data"
bl_description = "Transfer blenderKit metadata from one object to another when fixing uploads with wrong parenting."
bl_description = "Transfer blenderKit metadata from one object to another when fixing uploads with wrong parenting"
bl_options = {'REGISTER', 'UNDO'}
def execute(self, context):

View File

@ -142,7 +142,7 @@ class OperatorSegmentsInfo(bpy.types.Operator):
class OperatorOriginToSpline0Start(bpy.types.Operator):
bl_idname = "curvetools.operatororigintospline0start"
bl_label = "OriginToSpline0Start"
bl_description = "Sets the origin of the active/selected curve to the starting point of the (first) spline. Nice for curve modifiers."
bl_description = "Sets the origin of the active/selected curve to the starting point of the (first) spline. Nice for curve modifiers"
@classmethod
@ -327,7 +327,7 @@ class OperatorSplinesSetResolution(bpy.types.Operator):
class OperatorSplinesRemoveZeroSegment(bpy.types.Operator):
bl_idname = "curvetools.operatorsplinesremovezerosegment"
bl_label = "SplinesRemoveZeroSegment"
bl_description = "Removes splines with no segments -- they seem to creep up, sometimes.."
bl_description = "Removes splines with no segments -- they seem to creep up, sometimes"
@classmethod

View File

@ -1821,7 +1821,7 @@ class SceneCoat3D(PropertyGroup):
)
bake_resolution: EnumProperty(
name="Bake Resolution",
description="Bake resolution.",
description="Bake resolution",
items=(("res_64", "64 x 64", ""),
("res_128", "128 x 128", ""),
("res_256", "256 x 256", ""),
@ -1835,7 +1835,7 @@ class SceneCoat3D(PropertyGroup):
)
folder_size: EnumProperty(
name="Applink folder size",
description="Applink folder size.",
description="Applink folder size",
items=(("10", "10", ""),
("100", "100", ""),
("500", "500", ""),

View File

@ -158,7 +158,7 @@ class PanelProperties(bpy.types.PropertyGroup):
description="Distance of 2 objects in Angstrom")
replace_objs: EnumProperty(
name="Shape",
description="Choose a different atom shape.",
description="Choose a different atom shape",
items=(('0',"Unchanged", "Do not change the shape"),
('1a',"Sphere (Mesh)", "Replace with a sphere (Mesh)"),
('1b',"Sphere (NURBS)", "Replace with a sphere (NURBS)"),
@ -179,7 +179,7 @@ class PanelProperties(bpy.types.PropertyGroup):
default='0',)
replace_objs_material: EnumProperty(
name="Material",
description="Choose a different material.",
description="Choose a different material",
items=(('0',"Unchanged", "Leave the material unchanged"),
('1',"Normal", "Use normal material (no transparency and reflection)"),
('2',"Transparent", "Use transparent material"),
@ -188,7 +188,7 @@ class PanelProperties(bpy.types.PropertyGroup):
default='0',)
replace_objs_special: EnumProperty(
name="Special",
description="Choose a special atom shape.",
description="Choose a special atom shape",
items=(('0',"None", "Use no special shape."),
('1',"F2+ center", "Replace with a F2+ center"),
('2',"F+ center", "Replace with a F+ center"),
@ -211,7 +211,7 @@ class PanelProperties(bpy.types.PropertyGroup):
default='0',update=Callback_radius_type)
radius_type_ionic: EnumProperty(
name="Charge",
description="Charge state of the ions if existing.",
description="Charge state of the ions if existing",
items=(('0',"-4", "Charge state -4"),
('1',"-3", "Charge state -3"),
('2',"-2", "Charge state -2"),
@ -262,7 +262,7 @@ class DatafileApply(Operator):
class DefaultAtom(Operator):
bl_idname = "atom_blend.default_atoms"
bl_label = "Default"
bl_description = ("Use default shapes and colors for atoms.")
bl_description = ("Use default shapes and colors for atoms")
# Are we in the OBJECT mode?
@classmethod
@ -288,7 +288,7 @@ class DefaultAtom(Operator):
class ReplaceAtom(Operator):
bl_idname = "atom_blend.replace_atom"
bl_label = "Replace"
bl_description = ("Replace selected atoms with atoms of different shape.")
bl_description = ("Replace selected atoms with atoms of different shape")
# Are we in the OBJECT mode?
@classmethod
@ -337,7 +337,7 @@ class SeparateAtom(Operator):
class DistanceButton(Operator):
bl_idname = "atom_blend.button_distance"
bl_label = "Measure ..."
bl_description = "Measure the distance between two atoms (objects)."
bl_description = "Measure the distance between two atoms (objects)"
def execute(self, context):
scn = bpy.context.scene.atom_blend

View File

@ -92,10 +92,10 @@ class IMPORT_OT_xyz(Operator, ImportHelper):
description = "Do you want to load all frames?")
skip_frames: IntProperty(
name="", default=0, min=0,
description="Number of frames you want to skip.")
description="Number of frames you want to skip")
images_per_key: IntProperty(
name="", default=1, min=1,
description="Choose the number of images between 2 keys.")
description="Choose the number of images between 2 keys")
# This thing here just guarantees that the menu entry is not active when the
# check box in the addon preferences is not activated! See __init__.py

View File

@ -704,8 +704,8 @@ class reaction_diffusion(bpy.types.Operator):
class edges_deformation(bpy.types.Operator):
bl_idname = "object.edges_deformation"
bl_label = "Edges Deformation"
bl_description = ("Compute Weight based on the deformation of edges"+
"according to visible modifiers.")
bl_description = ("Compute Weight based on the deformation of edges "
"according to visible modifiers")
bl_options = {'REGISTER', 'UNDO'}
bounds : bpy.props.EnumProperty(
@ -846,8 +846,8 @@ class edges_deformation(bpy.types.Operator):
class edges_bending(bpy.types.Operator):
bl_idname = "object.edges_bending"
bl_label = "Edges Bending"
bl_description = ("Compute Weight based on the bending of edges"+
"according to visible modifiers.")
bl_description = ("Compute Weight based on the bending of edges "
"according to visible modifiers")
bl_options = {'REGISTER', 'UNDO'}
bounds : bpy.props.EnumProperty(
@ -1678,7 +1678,7 @@ class vertex_colors_to_vertex_groups(bpy.types.Operator):
bl_idname = "object.vertex_colors_to_vertex_groups"
bl_label = "Vertex Color"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Convert the active Vertex Color into a Vertex Group.")
bl_description = ("Convert the active Vertex Color into a Vertex Group")
red : bpy.props.BoolProperty(
name="red channel", default=False, description="convert red channel")
@ -1770,7 +1770,7 @@ class vertex_group_to_vertex_colors(bpy.types.Operator):
bl_idname = "object.vertex_group_to_vertex_colors"
bl_label = "Vertex Group"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Convert the active Vertex Group into a Vertex Color.")
bl_description = ("Convert the active Vertex Group into a Vertex Color")
channel : bpy.props.EnumProperty(
items=[('Blue', 'Blue Channel', 'Convert to Blue Channel'),
@ -1857,8 +1857,8 @@ class curvature_to_vertex_groups(bpy.types.Operator):
bl_idname = "object.curvature_to_vertex_groups"
bl_label = "Curvature"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Generate a Vertex Group based on the curvature of the"
"mesh. Is based on Dirty Vertex Color.")
bl_description = ("Generate a Vertex Group based on the curvature of the "
"mesh. Is based on Dirty Vertex Color")
invert : bpy.props.BoolProperty(
name="invert", default=False, description="invert values")
@ -1905,8 +1905,8 @@ class face_area_to_vertex_groups(bpy.types.Operator):
bl_idname = "object.face_area_to_vertex_groups"
bl_label = "Area"
bl_options = {'REGISTER', 'UNDO'}
bl_description = ("Generate a Vertex Group based on the area of individual"
"faces.")
bl_description = ("Generate a Vertex Group based on the area of individual "
"faces")
invert : bpy.props.BoolProperty(
name="invert", default=False, description="invert values")

View File

@ -483,7 +483,7 @@ def assign_angle_presets(self, context):
self.angle = angle_presets[self.angle_presets]
class OffsetEdges(bpy.types.Operator):
"""Offset Edges."""
"""Offset Edges"""
bl_idname = "mesh.offset_edges"
bl_label = "Offset Edges"
bl_options = {'REGISTER', 'UNDO'}
@ -531,7 +531,7 @@ class OffsetEdges(bpy.types.Operator):
name="Flat Face Threshold", default=radians(0.05), precision=5,
step=1.0e-4, subtype='ANGLE',
description="If difference of angle between two adjacent faces is "
"below this value, those faces are regarded as flat.",
"below this value, those faces are regarded as flat",
options={'HIDDEN'})
caches_valid: bpy.props.BoolProperty(
name="Caches Valid", default=False,

View File

@ -109,7 +109,7 @@ def add_line_to_bisection(context):
class PDT_OT_LineOnBisection(bpy.types.Operator):
"""Create Bisector between 2 Selected Edges."""
"""Create Bisector between 2 Selected Edges"""
bl_idname = "pdt.linetobisect"
bl_label = "Add Edges Bisector"

View File

@ -83,7 +83,7 @@ PDT_FeatureError = pdt_exception.FeatureError
class PDT_OT_CommandReRun(Operator):
"""Repeat Current Displayed Command."""
"""Repeat Current Displayed Command"""
bl_idname = "pdt.command_rerun"
bl_label = "Re-run Current Command"

View File

@ -33,7 +33,7 @@ from .pdt_msg_strings import (
class PDT_OT_PlacementAbs(Operator):
"""Use Absolute, or Global Placement."""
"""Use Absolute, or Global Placement"""
bl_idname = "pdt.absolute"
bl_label = "Absolute Mode"
@ -114,7 +114,7 @@ class PDT_OT_PlacementAbs(Operator):
class PDT_OT_PlacementDelta(Operator):
"""Use Delta, or Incremental Placement."""
"""Use Delta, or Incremental Placement"""
bl_idname = "pdt.delta"
bl_label = "Delta Mode"
@ -211,7 +211,7 @@ class PDT_OT_PlacementDelta(Operator):
class PDT_OT_PlacementDis(Operator):
"""Use Directional, or Distance @ Angle Placement."""
"""Use Directional, or Distance @ Angle Placement"""
bl_idname = "pdt.distance"
bl_label = "Distance@Angle Mode"
@ -300,7 +300,7 @@ class PDT_OT_PlacementDis(Operator):
class PDT_OT_PlacementPer(Operator):
"""Use Percentage Placement."""
"""Use Percentage Placement"""
bl_idname = "pdt.percent"
bl_label = "Percentage Mode"
@ -357,7 +357,7 @@ class PDT_OT_PlacementPer(Operator):
class PDT_OT_PlacementNormal(Operator):
"""Use Normal, or Perpendicular Placement."""
"""Use Normal, or Perpendicular Placement"""
bl_idname = "pdt.normal"
bl_label = "Normal Mode"
@ -406,7 +406,7 @@ class PDT_OT_PlacementNormal(Operator):
class PDT_OT_PlacementCen(Operator):
"""Use Placement at Arc Centre."""
"""Use Placement at Arc Centre"""
bl_idname = "pdt.centre"
bl_label = "Centre Mode"
@ -451,7 +451,7 @@ class PDT_OT_PlacementCen(Operator):
class PDT_OT_PlacementInt(Operator):
"""Use Intersection, or Convergence Placement."""
"""Use Intersection, or Convergence Placement"""
bl_idname = "pdt.intersect"
bl_label = "Intersect Mode"
@ -497,7 +497,7 @@ class PDT_OT_PlacementInt(Operator):
class PDT_OT_JoinVerts(Operator):
"""Join 2 Free Vertices into an Edge."""
"""Join 2 Free Vertices into an Edge"""
bl_idname = "pdt.join"
bl_label = "Join 2 Vertices"
@ -531,7 +531,7 @@ class PDT_OT_JoinVerts(Operator):
class PDT_OT_Fillet(Operator):
"""Fillet Edges by Vertex, Set Use Verts to False for Extruded Structure."""
"""Fillet Edges by Vertex, Set Use Verts to False for Extruded Structure"""
bl_idname = "pdt.fillet"
bl_label = "Fillet"
@ -587,7 +587,7 @@ class PDT_OT_Fillet(Operator):
class PDT_OT_Angle2(Operator):
"""Measure Distance and Angle in Working Plane, Also sets Deltas."""
"""Measure Distance and Angle in Working Plane, Also sets Deltas"""
bl_idname = "pdt.angle2"
bl_label = "Measure 2D"
@ -614,7 +614,7 @@ class PDT_OT_Angle2(Operator):
class PDT_OT_Angle3(Operator):
"""Measure Distance and Angle in 3D Space."""
"""Measure Distance and Angle in 3D Space"""
bl_idname = "pdt.angle3"
bl_label = "Measure 3D"
@ -641,7 +641,7 @@ class PDT_OT_Angle3(Operator):
class PDT_OT_Origin(Operator):
"""Move Object Origin to Cursor Location."""
"""Move Object Origin to Cursor Location"""
bl_idname = "pdt.origin"
bl_label = "Move Origin"
@ -668,7 +668,7 @@ class PDT_OT_Origin(Operator):
class PDT_OT_Taper(Operator):
"""Taper Vertices at Angle in Chosen Axis Mode."""
"""Taper Vertices at Angle in Chosen Axis Mode"""
bl_idname = "pdt.taper"
bl_label = "Taper"

View File

@ -126,7 +126,7 @@ def extend_vertex(context):
class PDT_OT_EdgeToFace(bpy.types.Operator):
"""Extend Selected Edge to Projected Intersection with Selected Face."""
"""Extend Selected Edge to Projected Intersection with Selected Face"""
bl_idname = "pdt.edge_to_face"
bl_label = "Extend Edge to Face"

View File

@ -30,7 +30,7 @@ from .pdt_msg_strings import PDT_ERR_NO_LIBRARY, PDT_ERR_OBJECTMODE
class PDT_OT_LibShow(Operator):
"""Show Library File Details."""
"""Show Library File Details"""
bl_idname = "pdt.lib_show"
bl_label = "Show Library Details"
@ -59,7 +59,7 @@ class PDT_OT_LibShow(Operator):
class PDT_OT_Append(Operator):
"""Append from Library at cursor Location."""
"""Append from Library at cursor Location"""
bl_idname = "pdt.append"
bl_label = "Append"
@ -141,7 +141,7 @@ class PDT_OT_Append(Operator):
class PDT_OT_Link(Operator):
"""Link from Library at Object's Origin."""
"""Link from Library at Object's Origin"""
bl_idname = "pdt.link"
bl_label = "Link"

View File

@ -38,7 +38,7 @@ from .pdt_msg_strings import (
class PDT_OT_ModalDrawOperator(bpy.types.Operator):
"""Show/Hide Pivot Point."""
"""Show/Hide Pivot Point"""
bl_idname = "pdt.modaldraw"
bl_label = "PDT Modal Draw"
@ -113,7 +113,7 @@ class PDT_OT_ModalDrawOperator(bpy.types.Operator):
class PDT_OT_ViewPlaneRotate(Operator):
"""Rotate Selected Vertices about Pivot Point in View Plane."""
"""Rotate Selected Vertices about Pivot Point in View Plane"""
bl_idname = "pdt.viewplanerot"
bl_label = "PDT View Rotate"
@ -177,7 +177,7 @@ class PDT_OT_ViewPlaneRotate(Operator):
class PDT_OT_ViewPlaneScale(Operator):
"""Scale Selected Vertices about Pivot Point."""
"""Scale Selected Vertices about Pivot Point"""
bl_idname = "pdt.viewscale"
bl_label = "PDT View Scale"
@ -246,7 +246,7 @@ class PDT_OT_ViewPlaneScale(Operator):
class PDT_OT_PivotToCursor(Operator):
"""Set The Pivot Point to Cursor Location."""
"""Set The Pivot Point to Cursor Location"""
bl_idname = "pdt.pivotcursor"
bl_label = "PDT Pivot To Cursor"
@ -274,7 +274,7 @@ class PDT_OT_PivotToCursor(Operator):
class PDT_OT_CursorToPivot(Operator):
"""Set The Cursor Location to Pivot Point."""
"""Set The Cursor Location to Pivot Point"""
bl_idname = "pdt.cursorpivot"
bl_label = "PDT Cursor To Pivot"
@ -300,7 +300,7 @@ class PDT_OT_CursorToPivot(Operator):
class PDT_OT_PivotSelected(Operator):
"""Set Pivot Point to Selected Geometry."""
"""Set Pivot Point to Selected Geometry"""
bl_idname = "pdt.pivotselected"
bl_label = "PDT Pivot to Selected"
@ -361,7 +361,7 @@ class PDT_OT_PivotSelected(Operator):
class PDT_OT_PivotOrigin(Operator):
"""Set Pivot Point at Object Origin."""
"""Set Pivot Point at Object Origin"""
bl_idname = "pdt.pivotorigin"
bl_label = "PDT Pivot to Object Origin"
@ -410,7 +410,7 @@ class PDT_OT_PivotOrigin(Operator):
class PDT_OT_PivotWrite(Operator):
"""Write Pivot Point Location to Object."""
"""Write Pivot Point Location to Object"""
bl_idname = "pdt.pivotwrite"
bl_label = "PDT Write PP to Object?"
@ -467,7 +467,7 @@ class PDT_OT_PivotWrite(Operator):
class PDT_OT_PivotRead(Operator):
"""Read Pivot Point Location from Object."""
"""Read Pivot Point Location from Object"""
bl_idname = "pdt.pivotread"
bl_label = "PDT Read PP"

View File

@ -211,7 +211,7 @@ class PDT_OT_ViewIso(Operator):
bl_idname = "pdt.viewiso"
bl_label = "Isometric View"
bl_options = {"REGISTER", "UNDO"}
bl_description = "Isometric View."
bl_description = "Isometric View"
def execute(self, context):
"""Set Isometric View.
@ -238,7 +238,7 @@ class PDT_OT_Reset3DView(Operator):
bl_idname = "pdt.reset_3d_view"
bl_label = "Reset 3D View"
bl_options = {"REGISTER", "UNDO"}
bl_description = "Reset 3D View to Blender Defaults."
bl_description = "Reset 3D View to Blender Defaults"
def execute(self, context):
"""Reset 3D View to Blender Defaults.

View File

@ -245,7 +245,7 @@ def intersect_all(context):
return
class PDT_OT_IntersectAllEdges(bpy.types.Operator):
"""Cut Selected Edges at All Intersections."""
"""Cut Selected Edges at All Intersections"""
bl_idname = "pdt.intersectall"
bl_label = "Intersect All Edges"

View File

@ -433,7 +433,7 @@ class RenderPovSettingsScene(PropertyGroup):
" to scattering in the direction of the light and negative "
"values lead to scattering in the opposite direction of the "
"light. Larger values of e (or smaller values in the negative"
" case) increase the directional property of the scattering.",
" case) increase the directional property of the scattering",
precision=2,
step=0.01,
min=-1.0,

View File

@ -5987,7 +5987,7 @@ class PovrayRender(bpy.types.RenderEngine):
#################################Operators########################################
##################################################################################
class RenderPovTexturePreview(Operator):
"""Export only files necessary to texture preview and render image."""
"""Export only files necessary to texture preview and render image"""
bl_idname = "tex.preview_update"
bl_label = "Update preview"

View File

@ -838,7 +838,7 @@ class LIGHT_MT_POV_presets(Menu):
class LIGHT_OT_POV_add_preset(AddPresetBase, Operator):
"""Use this class to define pov world buttons."""
"""Use this class to define pov world buttons"""
'''Add a Light Preset'''
bl_idname = "object.light_preset_add"
@ -1184,7 +1184,7 @@ del properties_data_light
class WORLD_PT_POV_world(WorldButtonsPanel, Panel):
"""Use this class to define pov world buttons."""
"""Use this class to define pov world buttons"""
bl_label = "World"
COMPAT_ENGINES = {'POVRAY_RENDER'}
@ -1564,7 +1564,7 @@ class POV_RADIOSITY_MT_presets(Menu):
class RENDER_OT_POV_radiosity_add_preset(AddPresetBase, Operator):
"""Use this class to define pov radiosity add presets button."""
"""Use this class to define pov radiosity add presets button"""
'''Add a Radiosity Preset'''
bl_idname = "scene.radiosity_preset_add"
@ -4364,7 +4364,7 @@ class CAMERA_PT_POV_replacement_text(CameraDataButtonsPanel, Panel):
class TEXT_OT_POV_insert(Operator):
"""Use this class to create blender text editor operator to insert pov snippets like other pov IDEs."""
"""Use this class to create blender text editor operator to insert pov snippets like other pov IDEs"""
bl_idname = "text.povray_insert"
bl_label = "Insert"