[Bf-extensions-cvs] [e7f5233] master: Fix unreported: Plugin auto tile size gives warning on activation

Thomas Beck noreply at git.blender.org
Mon Jun 22 20:39:42 CEST 2015


Commit: e7f523325bdac580e28b6b4eca5e5badfbbd114e
Author: Thomas Beck
Date:   Sun Jun 21 23:51:00 2015 +0200
Branches: master
https://developer.blender.org/rBAe7f523325bdac580e28b6b4eca5e5badfbbd114e

Fix unreported: Plugin auto tile size gives warning on activation

"RNA_def_property_ui_text: 'thread_error_correct' '' description ends with a '.' !" ... issue was a description with a dot at the end.

===================================================================

M	render_auto_tile_size.py

===================================================================

diff --git a/render_auto_tile_size.py b/render_auto_tile_size.py
index bd7b6b2..9941dfd 100644
--- a/render_auto_tile_size.py
+++ b/render_auto_tile_size.py
@@ -121,7 +121,7 @@ class AutoTileSizeSettings(bpy.types.PropertyGroup):
     thread_error_correct = bpy.props.BoolProperty(
         name="Fix",
         default=True,
-        description="Reduce the tile size so that all your available threads are used.",
+        description="Reduce the tile size so that all your available threads are used",
         update=_update_tile_size)
 
     # Internally used props (not for GUI)
@@ -384,7 +384,7 @@ def ui_layout(engine, layout, context):
     if settings.threads_error:
         row = sub.row(align=True)
         row.alignment = 'CENTER'
-        row.label(text="Warning: Fewer tiles than threads.", icon='ERROR')
+        row.label(text="Warning: Fewer tiles than threads", icon='ERROR')
         row.prop(settings, 'thread_error_correct')



More information about the Bf-extensions-cvs mailing list