[Bf-extensions-cvs] [24ac9c6b] master: addons-contrib: add missing text= keyword after label

NBurn noreply at git.blender.org
Wed Jan 23 21:26:44 CET 2019


Commit: 24ac9c6bbd6d159f003ddc367933575ad1a0ccbe
Author: NBurn
Date:   Wed Jan 23 15:26:22 2019 -0500
Branches: master
https://developer.blender.org/rBAC24ac9c6bbd6d159f003ddc367933575ad1a0ccbe

addons-contrib: add missing text= keyword after label

===================================================================

M	add_dimension.py
M	add_mesh_icicle_snowflake/add_mesh_icicle_gen.py
M	add_mesh_space_tree/__init__.py
M	amaranth/render/samples_scene.py
M	animation_motion_trail.py
M	camera_overscan.py
M	cmu_mocap_browser/__init__.py
M	curve_tools/Properties.py
M	data_overrides/override.py
M	io_import_LRO_Lola_MGS_Mola_img.py
M	io_import_lipSync_Importer.py
M	io_scene_cod/__init__.py
M	io_scene_fpx/fpx_ui.py
M	lamp_geographical_sun.py
M	lighting_hdri_shortcut/__init__.py
M	node_presets.py
M	np_station/__init__.py
M	object_color_rules.py
M	object_particle_hair_net.py
M	oscurart_mesh_cache_tools.py
M	render_to_print.py
M	space_view3d_align_tools.py
M	space_view3d_cursor_control/history.py
M	space_view3d_paint_bprojection.py
M	space_view3d_quickPrefs.py
M	sun_position/hdr.py
M	sun_position/map.py
M	ui_splash_tips/__init__.py

===================================================================

diff --git a/add_dimension.py b/add_dimension.py
index 6644c5df..199f9703 100644
--- a/add_dimension.py
+++ b/add_dimension.py
@@ -2738,7 +2738,7 @@ class DimensionAdd(bpy.types.Panel):
             endvertex = bpy.context.scene.cursor_location
             layout = self.layout
             col = layout.column()
-            col.label("Note:")
+            col.label(text="Note:")
             row = layout.row()
             props1 = row.operator("curve.dimension", text = 'Add linear note')
             props1.Dimension_Change = False
@@ -2759,7 +2759,7 @@ class DimensionAdd(bpy.types.Panel):
             props2.Dimension_parent = obj.name
 
             col = layout.column()
-            col.label("Distance to 3D cursor:")
+            col.label(text="Distance to 3D cursor:")
             row = layout.row()
             props3 = row.operator("curve.dimension", text = 'Add linear dimension')
             props3.Dimension_Change = False
@@ -2782,7 +2782,7 @@ class DimensionAdd(bpy.types.Panel):
             props4.Dimension_parent = obj.name
 
             col = layout.column()
-            col.label("Radius to 3D cursor:")
+            col.label(text="Radius to 3D cursor:")
             row = layout.row()
             props7 = row.operator("curve.dimension", text = 'Add linear radius')
             props7.Dimension_Change = False
@@ -2805,7 +2805,7 @@ class DimensionAdd(bpy.types.Panel):
             props8.Dimension_parent = obj.name
 
             col = layout.column()
-            col.label("Diameter to 3D cursor:")
+            col.label(text="Diameter to 3D cursor:")
             row = layout.row()
             props9 = row.operator("curve.dimension", text = 'Add linear diameter')
             props9.Dimension_Change = False
@@ -2836,7 +2836,7 @@ class DimensionAdd(bpy.types.Panel):
 
             layout = self.layout
             col = layout.column()
-            col.label("Distance:")
+            col.label(text="Distance:")
             row = layout.row()
             props1 = row.operator("curve.dimension", text = 'Add linear dimension')
             props1.Dimension_Change = False
@@ -2859,7 +2859,7 @@ class DimensionAdd(bpy.types.Panel):
             props2.Dimension_parent = obj.name
 
             col = layout.column()
-            col.label("Radius:")
+            col.label(text="Radius:")
             row = layout.row()
             props3 = row.operator("curve.dimension", text = 'Add linear radius')
             props3.Dimension_Change = False
@@ -2882,7 +2882,7 @@ class DimensionAdd(bpy.types.Panel):
             props4.Dimension_parent = obj.name
 
             col = layout.column()
-            col.label("Diameter:")
+            col.label(text="Diameter:")
             row = layout.row()
             props5 = row.operator("curve.dimension", text = 'Add linear diameter')
             props5.Dimension_Change = False
@@ -2914,7 +2914,7 @@ class DimensionAdd(bpy.types.Panel):
 
             layout = self.layout
             col = layout.column()
-            col.label("Angle:")
+            col.label(text="Angle:")
             row = layout.row()
             props1 = row.operator("curve.dimension", text = 'Add Linear angle dimension')
             props1.Dimension_Change = False
diff --git a/add_mesh_icicle_snowflake/add_mesh_icicle_gen.py b/add_mesh_icicle_snowflake/add_mesh_icicle_gen.py
index 3ddc20f1..f1781abc 100644
--- a/add_mesh_icicle_snowflake/add_mesh_icicle_gen.py
+++ b/add_mesh_icicle_snowflake/add_mesh_icicle_gen.py
@@ -110,15 +110,15 @@ class IcicleGenerator(bpy.types.Operator):
         layout = self.layout
         col = layout.column(align=True)
 
-        col.label("Radius:")
+        col.label(text="Radius:")
         col.prop(self, "minR")
         col.prop(self, "maxR")
 
-        col.label("Depth:")
+        col.label(text="Depth:")
         col.prop(self, "minD")
         col.prop(self, "maxD")
 
-        col.label("Base:")
+        col.label(text="Base:")
         col.prop(self, "verts")
         col.prop(self, "addCap", text="")
 
diff --git a/add_mesh_space_tree/__init__.py b/add_mesh_space_tree/__init__.py
index 45d6dc51..12171b6e 100644
--- a/add_mesh_space_tree/__init__.py
+++ b/add_mesh_space_tree/__init__.py
@@ -1022,12 +1022,12 @@ class SCATree(bpy.types.Operator):
         col2 = columns.column()
 
         box = col1.box()
-        box.label("Generation Settings:")
+        box.label(text="Generation Settings:")
         box.prop(self, 'randomSeed')
         box.prop(self, 'maxIterations')
 
         box = col1.box()
-        box.label("Shape Settings:")
+        box.label(text="Shape Settings:")
         box.prop(self, 'numberOfEndpoints')
         box.prop(self, 'internodeLength')
         box.prop(self, 'influenceRange')
@@ -1037,10 +1037,10 @@ class SCATree(bpy.types.Operator):
         box.prop(self, 'tropism')
 
         newbox = col2.box()
-        newbox.label("Crown shape")
+        newbox.label(text="Crown shape")
         newbox.prop(self, 'useGroups')
         if self.useGroups:
-            newbox.label("Object groups defining crown shape")
+            newbox.label(text="Object groups defining crown shape")
             groupbox = newbox.box()
             groupbox.prop(self, 'crownGroup')
             groupbox = newbox.box()
@@ -1050,7 +1050,7 @@ class SCATree(bpy.types.Operator):
             groupbox.alert = (self.exclusionGroup == self.crownGroup)
             groupbox.prop(self, 'exclusionGroup')
         else:
-            newbox.label("Simple ellipsoid defining crown shape")
+            newbox.label(text="Simple ellipsoid defining crown shape")
             newbox.prop(self, 'crownSize')
             newbox.prop(self, 'crownShape')
             newbox.prop(self, 'crownOffset')
@@ -1064,7 +1064,7 @@ class SCATree(bpy.types.Operator):
         box.prop(self, 'newEndPointsPer1000')
 
         box = col2.box()
-        box.label("Skin options:")
+        box.label(text="Skin options:")
         box.prop(self, 'noModifiers')
         if not self.noModifiers:
             box.prop(self, 'skinMethod')
@@ -1073,7 +1073,7 @@ class SCATree(bpy.types.Operator):
         layout.prop(self, 'addLeaves', icon='MESH_DATA')
         if self.addLeaves:
             box = layout.box()
-            box.label("Leaf Settings:")
+            box.label(text="Leaf Settings:")
             box.prop(self, 'pLeaf')
             box.prop(self, 'bLeaf')
             box.prop(self, 'leafSize')
@@ -1085,7 +1085,7 @@ class SCATree(bpy.types.Operator):
         layout.prop(self, 'addObjects', icon='MESH_DATA')
         if self.addObjects:
             box = layout.box()
-            box.label("Object Settings:")
+            box.label(text="Object Settings:")
             box.prop(self, 'objectName')
             box.prop(self, 'pObject')
             box.prop(self, 'bObject')
@@ -1095,7 +1095,7 @@ class SCATree(bpy.types.Operator):
             box.prop(self, 'objectMaxConnections')
 
         box = layout.box()
-        box.label("Debug Settings:")
+        box.label(text="Debug Settings:")
         box.prop(self, 'showMarkers')
         if self.showMarkers:
             box.prop(self, 'markerScale')
diff --git a/amaranth/render/samples_scene.py b/amaranth/render/samples_scene.py
index 37dd5ea3..1efd5d52 100644
--- a/amaranth/render/samples_scene.py
+++ b/amaranth/render/samples_scene.py
@@ -155,7 +155,7 @@ def render_cycles_scene_samples(self, context):
 
             for rl in scene.render.layers:
                 row = col.row(align=True)
-                row.label(rl.name, icon="BLANK1")
+                row.label(text=rl.name, icon="BLANK1")
                 row.prop(
                     rl, "samples", text="%s" %
                     "Samples" if rl.samples > 0 else "Automatic (%s)" %
@@ -186,7 +186,7 @@ def render_cycles_scene_samples(self, context):
                         if s.render.engine == "CYCLES":
                             cscene = s.cycles
 
-                            row.label(s.name, icon="BLANK1")
+                            row.label(text=s.name, icon="BLANK1")
                             row.prop(cscene, "aa_samples",
                                      text="AA Samples")
                         else:
diff --git a/animation_motion_trail.py b/animation_motion_trail.py
index 954599e8..cb28304a 100644
--- a/animation_motion_trail.py
+++ b/animation_motion_trail.py
@@ -1645,7 +1645,7 @@ class MotionTrailPanel(bpy.types.Panel):
             row.prop(context.window_manager.motion_trail, "path_display",
                 icon="RIGHTARROW", text="", emboss=False)
 
-        row.label("Path options")
+        row.label(text="Path options")
 
         if context.window_manager.motion_trail.path_display:
             col.prop(context.window_manager.motion_trail, "path_style",
diff --git a/camera_overscan.py b/camera_overscan.py
index 34c81a20..ab4df77e 100644
--- a/camera_overscan.py
+++ b/camera_overscan.py
@@ -137,7 +137,7 @@ def RO_Menu(self, context):
             row.enabled = False
         row.operator("scene.co_duplicate_camera", icon="RENDER_STILL")
     else:
-        row.label("No active Camera type in the Scene", icon='INFO')
+        row.label(text="No active Camera type in the Scene", icon='INFO')
 
 
 class camera_overscan_props(PropertyGroup):
diff --git a/cmu_mocap_browser/__init__.py b/cmu_mocap_browser/__init__.py
index 19912c09..66dfc2df 100644
--- a/cmu_mocap_browser/__init__.py
+++ b/cmu_mocap_browser/__init__.py
@@ -111,8 +111,8 @@ class CMUMocapMotionBrowser(bpy.types.Panel):
         fps = motion['fps']
         ifps = fps // cml.frame_skip
         row = layout.row()
-        row.column().label("Original: {0:d} fps.".format(fps))
-        row.column().label("Importing: {0:d} fps.".format(ifps))
+        row.column().label(text="Original: {0:d} fps.".format(fps))
+        row.column().label(text="Importing: {0:d} fps.".format(ifps))
         layout.prop(cml, "frame_skip")
         layout.prop(cml, "cloud_scale")
         remote_fname = library.motion_url.format(sidx, midx)
diff --git a/curve_tools/Properties.py b/curve_tools/Properties.py
index a4df45b6..f4dd191e 100644
--- a/curve_tools/Properties.py
+++ b/curve_tools/Properties.py
@@ -36,7 +36,7 @@ class Cu

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list