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:
authorNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
committerNBurn <7nburn@gmail.com>2019-01-23 23:03:09 +0300
commit49c1b409286937d00a63fbf4cfb1f820a75a80c0 (patch)
treee85be0be22a3929aa28e4f3b4d3b16741eb26ebc /camera_turnaround.py
parent54f2341bdee0e6e5dfacd65a38740f99996efa52 (diff)
addons: add missing text= keyword after label
Diffstat (limited to 'camera_turnaround.py')
-rw-r--r--camera_turnaround.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/camera_turnaround.py b/camera_turnaround.py
index 36393f3a..f9e20b62 100644
--- a/camera_turnaround.py
+++ b/camera_turnaround.py
@@ -277,7 +277,7 @@ class PanelUI(Panel):
bpy.context.scene.camera.name
except AttributeError:
row = layout.row(align=False)
- row.label("No defined camera for scene", icon="INFO")
+ row.label(text="No defined camera for scene", icon="INFO")
return
if context.active_object is not None:
@@ -287,11 +287,11 @@ class PanelUI(Panel):
row.operator("object.rotate_around", icon='OUTLINER_DATA_CAMERA')
box = row.box()
box.scale_y = 0.5
- box.label(buf, icon='MESH_DATA')
+ box.label(text=buf, icon='MESH_DATA')
row = layout.row(align=False)
row.prop(scene, "camera")
- layout.label("Rotation:")
+ layout.label(text="Rotation:")
row = layout.row(align=True)
row.prop(scene, "frame_start")
row.prop(scene, "frame_end")
@@ -308,7 +308,7 @@ class PanelUI(Panel):
split.prop(turn_camera, "inverse_z", toggle=True)
col = layout.column(align=True)
- col.label("Options:")
+ col.label(text="Options:")
row = col.row(align=True)
row.prop(turn_camera, "back_forw", toggle=True)
row.prop(turn_camera, "reset_cam_anim", toggle=True)
@@ -324,7 +324,7 @@ class PanelUI(Panel):
else:
buf = "No valid object selected"
- layout.label(buf, icon='MESH_DATA')
+ layout.label(text=buf, icon='MESH_DATA')
# ------------------------------------------------------