UI: text keyword argument to label

Prepare for keyword only args
This commit is contained in:
2018-08-28 12:34:51 +10:00
parent 60b24f2415
commit e9fb2feb2e
39 changed files with 187 additions and 187 deletions

View File

@@ -65,7 +65,7 @@ class PHYSICS_PT_smoke(PhysicButtonsPanel, Panel):
if not bpy.app.build_options.mod_smoke:
col = layout.column(align=True)
col.alignment = 'RIGHT'
col.label("Built without Smoke modifier")
col.label(text="Built without Smoke modifier")
return
md = context.smoke
@@ -529,7 +529,7 @@ class PHYSICS_PT_smoke_cache(PhysicButtonsPanel, Panel):
if not bpy.app.build_options.openvdb:
row = layout.row(align=True)
row.alignment = 'RIGHT'
row.label("Built without OpenVDB support")
row.label(text="Built without OpenVDB support")
return
col = flow.column()