diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2011-09-19 19:08:06 +0400 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2011-09-19 19:08:06 +0400 |
commit | 1d1482044b46c98f86c33945a1bd1cf4edc7bb36 (patch) | |
tree | 795f6b4344018f9193e6beb954d5c74396c19012 /render_povray | |
parent | 0dd81203a3982e55af012cfcc9a232c78ce631b9 (diff) |
/trunk: Removed final points in UI strings and messages.
Plus a few styling enhancements.
[[Split portion of a mixed commit.]]
Diffstat (limited to 'render_povray')
-rw-r--r-- | render_povray/__init__.py | 32 | ||||
-rw-r--r-- | render_povray/update_files.py | 30 |
2 files changed, 31 insertions, 31 deletions
diff --git a/render_povray/__init__.py b/render_povray/__init__.py index b21a9ac4..28466fee 100644 --- a/render_povray/__init__.py +++ b/render_povray/__init__.py @@ -55,16 +55,16 @@ class RenderPovSettingsScene(bpy.types.PropertyGroup): # File Options tempfiles_enable = BoolProperty( name="Enable Tempfiles", - description="Enable the OS-Tempfiles. Otherwise set the path where to save the files.", + description="Enable the OS-Tempfiles. Otherwise set the path where to save the files", default=True) deletefiles_enable = BoolProperty( name="Delete files", - description="Delete files after rendering. Doesn't work with the image.", + description="Delete files after rendering. Doesn't work with the image", default=True) scene_name = StringProperty( name="Scene Name", description="Name of POV-Ray scene to create. Empty name will use the name of " \ - "the blend file.", + "the blend file", default="", maxlen=1024) scene_path = StringProperty( name="Export scene path", @@ -73,12 +73,12 @@ class RenderPovSettingsScene(bpy.types.PropertyGroup): default="", maxlen=1024, subtype="DIR_PATH") renderimage_path = StringProperty( name="Rendered image path", - description="Full path to directory where the rendered image is saved.", + description="Full path to directory where the rendered image is saved", default="", maxlen=1024, subtype="DIR_PATH") list_lf_enable = BoolProperty( name="LF in lists", description="Enable line breaks in lists (vectors and indices). Disabled: " \ - "lists are exported in one line.", + "lists are exported in one line", default=True) # Not a real pov option, just to know if we should write @@ -101,7 +101,7 @@ class RenderPovSettingsScene(bpy.types.PropertyGroup): min=1, max=100, default=35) media_color = FloatVectorProperty( - name="Media Color", description="The atmospheric media color.", + name="Media Color", description="The atmospheric media color", precision=4, step=0.01, min=0, soft_max=1, default=(0.001, 0.001, 0.001), options={'ANIMATABLE'}, subtype='COLOR') @@ -130,7 +130,7 @@ class RenderPovSettingsScene(bpy.types.PropertyGroup): command_line_switches = StringProperty( name="Command Line Switches", description="Command line switches consist of a + (plus) or - (minus) sign, followed " \ - "by one or more alphabetic characters and possibly a numeric value.", + "by one or more alphabetic characters and possibly a numeric value", default="", maxlen=500) antialias_enable = BoolProperty( @@ -140,7 +140,7 @@ class RenderPovSettingsScene(bpy.types.PropertyGroup): antialias_method = EnumProperty( name="Method", description="AA-sampling method. Type 1 is an adaptive, non-recursive, super-sampling "\ - "method. Type 2 is an adaptive and recursive super-sampling method.", + "method. Type 2 is an adaptive and recursive super-sampling method", items=(("0", "non-recursive AA", "Type 1 Sampling in POV-Ray"), ("1", "recursive AA", "Type 2 Sampling in POV-Ray")), default="1") @@ -156,17 +156,17 @@ class RenderPovSettingsScene(bpy.types.PropertyGroup): jitter_enable = BoolProperty( name="Jitter", description="Enable Jittering. Adds noise into the sampling process (it should be " \ - "avoided to use jitter in animation).", + "avoided to use jitter in animation)", default=True) jitter_amount = FloatProperty( - name="Jitter Amount", description="Amount of jittering.", + name="Jitter Amount", description="Amount of jittering", min=0.0, max=1.0, soft_min=0.01, soft_max=1.0, default=1.0) antialias_gamma = FloatProperty( name="Antialias Gamma", description="POV-Ray compares gamma-adjusted values for super sampling. Antialias " \ - "Gamma sets the Gamma before comparison.", + "Gamma sets the Gamma before comparison", min=0.0, max=5.0, soft_min=0.01, soft_max=2.5, default=2.5) max_trace_level = IntProperty( @@ -313,17 +313,17 @@ class RenderPovSettingsMaterial(bpy.types.PropertyGroup): description="Contribution of the iridescence effect to the overall surface color. " \ "As a rule of thumb keep to around 0.25 (25% contribution) or less, " \ "but experiment. If the surface is coming out too white, try lowering " \ - "the diffuse and possibly the ambient values of the surface.", + "the diffuse and possibly the ambient values of the surface", min=0.0, max=1.0, soft_min=0.01, soft_max=1.0, default=0.25) irid_thickness = FloatProperty( name="thickness", description="A very thin film will have a high frequency of color changes while a " \ - "thick film will have large areas of color.", + "thick film will have large areas of color", min=0.0, max=1000.0, soft_min=0.1, soft_max=10.0, default=1) irid_turbulence = FloatProperty( - name="turbulence", description="This parameter varies the thickness.", + name="turbulence", description="This parameter varies the thickness", min=0.0, max=10.0, soft_min=0.000, soft_max=1.0, default=0) interior_fade_color = FloatVectorProperty( @@ -427,7 +427,7 @@ class RenderPovSettingsObject(bpy.types.PropertyGroup): name="Receive Photon Caustics", description="Enable object to collect photons from other objects caustics. Turn " \ "off for objects that don't really need to receive caustics (e.g. objects" \ - " that generate caustics often don't need to show any on themselves).", + " that generate caustics often don't need to show any on themselves)", default=True) #Photons spacing_multiplier @@ -483,7 +483,7 @@ class RenderPovSettingsCamera(bpy.types.PropertyGroup): dof_confidence = FloatProperty( name="Confidence", description="Probability to reach the real color value. Larger confidence values " \ - "will lead to more samples, slower traces and better images.", + "will lead to more samples, slower traces and better images", min=0.01, max=0.99, default=0.90) ##################################CustomPOV Code############################ diff --git a/render_povray/update_files.py b/render_povray/update_files.py index 7aa3cff8..0e2c7fc2 100644 --- a/render_povray/update_files.py +++ b/render_povray/update_files.py @@ -146,15 +146,15 @@ def register(): # File Options Scene.pov_tempfiles_enable = BoolProperty( name="Enable Tempfiles", - description="Enable the OS-Tempfiles. Otherwise set the path where to save the files.", + description="Enable the OS-Tempfiles. Otherwise set the path where to save the files", default=True) Scene.pov_deletefiles_enable = BoolProperty( name="Delete files", - description="Delete files after rendering. Doesn't work with the image.", + description="Delete files after rendering. Doesn't work with the image", default=True) Scene.pov_scene_name = StringProperty( name="Scene Name", - description="Name of POV-Ray scene to create. Empty name will use the name of the blend file.", + description="Name of POV-Ray scene to create. Empty name will use the name of the blend file", default="", maxlen=1024) Scene.pov_scene_path = StringProperty( name="Export scene path", @@ -163,11 +163,11 @@ def register(): default="", maxlen=1024, subtype="DIR_PATH") Scene.pov_renderimage_path = StringProperty( name="Rendered image path", - description="Full path to directory where the rendered image is saved.", + description="Full path to directory where the rendered image is saved", default="", maxlen=1024, subtype="DIR_PATH") Scene.pov_list_lf_enable = BoolProperty( name="LF in lists", - description="Enable line breaks in lists (vectors and indices). Disabled: lists are exported in one line.", + description="Enable line breaks in lists (vectors and indices). Disabled: lists are exported in one line", default=True) # Not a real pov option, just to know if we should write @@ -189,7 +189,7 @@ def register(): Scene.pov_media_color = FloatVectorProperty( name="Media Color", - description="The atmospheric media color.", + description="The atmospheric media color", subtype='COLOR', precision=4, step=0.01, @@ -221,7 +221,7 @@ def register(): # Real pov options Scene.pov_command_line_switches = StringProperty(name="Command Line Switches", - description="Command line switches consist of a + (plus) or - (minus) sign, followed by one or more alphabetic characters and possibly a numeric value.", + description="Command line switches consist of a + (plus) or - (minus) sign, followed by one or more alphabetic characters and possibly a numeric value", default="", maxlen=500) Scene.pov_antialias_enable = BoolProperty( @@ -230,7 +230,7 @@ def register(): Scene.pov_antialias_method = EnumProperty( name="Method", - description="AA-sampling method. Type 1 is an adaptive, non-recursive, super-sampling method. Type 2 is an adaptive and recursive super-sampling method.", + description="AA-sampling method. Type 1 is an adaptive, non-recursive, super-sampling method. Type 2 is an adaptive and recursive super-sampling method", items=(("0", "non-recursive AA", "Type 1 Sampling in POV-Ray"), ("1", "recursive AA", "Type 2 Sampling in POV-Ray")), default="1") @@ -244,15 +244,15 @@ def register(): min=0.0, max=1.0, soft_min=0.05, soft_max=0.5, default=0.1) Scene.pov_jitter_enable = BoolProperty( - name="Jitter", description="Enable Jittering. Adds noise into the sampling process (it should be avoided to use jitter in animation).", + name="Jitter", description="Enable Jittering. Adds noise into the sampling process (it should be avoided to use jitter in animation)", default=True) Scene.pov_jitter_amount = FloatProperty( - name="Jitter Amount", description="Amount of jittering.", + name="Jitter Amount", description="Amount of jittering", min=0.0, max=1.0, soft_min=0.01, soft_max=1.0, default=1.0) Scene.pov_antialias_gamma = FloatProperty( - name="Antialias Gamma", description="POV-Ray compares gamma-adjusted values for super sampling. Antialias Gamma sets the Gamma before comparison.", + name="Antialias Gamma", description="POV-Ray compares gamma-adjusted values for super sampling. Antialias Gamma sets the Gamma before comparison", min=0.0, max=5.0, soft_min=0.01, soft_max=2.5, default=2.5) Scene.pov_max_trace_level = IntProperty( @@ -360,17 +360,17 @@ def register(): Mat.pov_irid_amount = FloatProperty( name="amount", - description="Contribution of the iridescence effect to the overall surface color. As a rule of thumb keep to around 0.25 (25% contribution) or less, but experiment. If the surface is coming out too white, try lowering the diffuse and possibly the ambient values of the surface.", + description="Contribution of the iridescence effect to the overall surface color. As a rule of thumb keep to around 0.25 (25% contribution) or less, but experiment. If the surface is coming out too white, try lowering the diffuse and possibly the ambient values of the surface", min=0.0, max=1.0, soft_min=0.01, soft_max=1.0, default=0.25) Mat.pov_irid_thickness = FloatProperty( name="thickness", - description="A very thin film will have a high frequency of color changes while a thick film will have large areas of color.", + description="A very thin film will have a high frequency of color changes while a thick film will have large areas of color", min=0.0, max=1000.0, soft_min=0.1, soft_max=10.0, default=1) Mat.pov_irid_turbulence = FloatProperty( name="turbulence", - description="This parameter varies the thickness.", + description="This parameter varies the thickness", min=0.0, max=10.0, soft_min=0.000, soft_max=1.0, default=0) Mat.pov_interior_fade_color = FloatVectorProperty( @@ -502,7 +502,7 @@ def register(): Cam.pov_dof_confidence = FloatProperty( name="Confidence", - description="Probability to reach the real color value. Larger confidence values will lead to more samples, slower traces and better images.", + description="Probability to reach the real color value. Larger confidence values will lead to more samples, slower traces and better images", min=0.01, max=0.99, default=0.90) ###################################TEXT#################################### |