Skip to content
Snippets Groups Projects
Commit e7f52332 authored by Thomas Beck's avatar Thomas Beck
Browse files

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.
parent d30b480a
No related branches found
No related tags found
No related merge requests found
...@@ -121,7 +121,7 @@ class AutoTileSizeSettings(bpy.types.PropertyGroup): ...@@ -121,7 +121,7 @@ class AutoTileSizeSettings(bpy.types.PropertyGroup):
thread_error_correct = bpy.props.BoolProperty( thread_error_correct = bpy.props.BoolProperty(
name="Fix", name="Fix",
default=True, 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) update=_update_tile_size)
# Internally used props (not for GUI) # Internally used props (not for GUI)
...@@ -384,7 +384,7 @@ def ui_layout(engine, layout, context): ...@@ -384,7 +384,7 @@ def ui_layout(engine, layout, context):
if settings.threads_error: if settings.threads_error:
row = sub.row(align=True) row = sub.row(align=True)
row.alignment = 'CENTER' 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') row.prop(settings, 'thread_error_correct')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment