diff options
Diffstat (limited to 'archimesh/achm_venetian_maker.py')
-rw-r--r-- | archimesh/achm_venetian_maker.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archimesh/achm_venetian_maker.py b/archimesh/achm_venetian_maker.py index 01d0c422..05dbdba3 100644 --- a/archimesh/achm_venetian_maker.py +++ b/archimesh/achm_venetian_maker.py @@ -410,7 +410,7 @@ class AchmVenetianObjectgeneratorpanel(Panel): layout = self.layout if bpy.context.mode == 'EDIT_MESH': - layout.label('Warning: Operator does not work in edit mode.', icon='ERROR') + layout.label(text='Warning: Operator does not work in edit mode.', icon='ERROR') else: myobjdat = o.VenetianObjectGenerator[0] space = bpy.context.space_data @@ -418,7 +418,7 @@ class AchmVenetianObjectgeneratorpanel(Panel): # Imperial units warning if bpy.context.scene.unit_settings.system == "IMPERIAL": row = layout.row() - row.label("Warning: Imperial units not supported", icon='COLOR_RED') + row.label(text="Warning: Imperial units not supported", icon='COLOR_RED') box = layout.box() row = box.row() @@ -438,7 +438,7 @@ class AchmVenetianObjectgeneratorpanel(Panel): row.prop(myobjdat, 'objcol') else: row = layout.row() - row.label("Warning: Operator does not work in local view mode", icon='ERROR') + row.label(text="Warning: Operator does not work in local view mode", icon='ERROR') # ------------------------------------------------------------------------------ |