Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'archimesh/achm_curtain_maker.py')
-rw-r--r--archimesh/achm_curtain_maker.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/archimesh/achm_curtain_maker.py b/archimesh/achm_curtain_maker.py
index 0b4bb84b..c2dbb6f2 100644
--- a/archimesh/achm_curtain_maker.py
+++ b/archimesh/achm_curtain_maker.py
@@ -107,7 +107,7 @@ class AchmJapan(Operator):
# 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()
@@ -141,7 +141,7 @@ class AchmJapan(Operator):
box.label("* Remember to verify fabric texture folder")
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')
# -----------------------------------------------------
# Execute
@@ -212,7 +212,7 @@ class AchmRoller(Operator):
# 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()
@@ -227,7 +227,7 @@ class AchmRoller(Operator):
box.label("* Remember to verify fabric texture folder")
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')
# -----------------------------------------------------
# Execute