[Bf-extensions-cvs] [49c1b409] master: addons: add missing text= keyword after label

NBurn noreply at git.blender.org
Wed Jan 23 21:03:32 CET 2019


Commit: 49c1b409286937d00a63fbf4cfb1f820a75a80c0
Author: NBurn
Date:   Wed Jan 23 15:03:09 2019 -0500
Branches: master
https://developer.blender.org/rBA49c1b409286937d00a63fbf4cfb1f820a75a80c0

addons: add missing text= keyword after label

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

M	add_advanced_objects_menu/copy2.py
M	add_advanced_objects_menu/cubester.py
M	add_advanced_objects_menu/rope_alpha.py
M	add_advanced_objects_menu/trilighting.py
M	add_advanced_objects_panels/__init__.py
M	add_advanced_objects_panels/delaunay_voronoi.py
M	add_advanced_objects_panels/drop_to_ground.py
M	add_advanced_objects_panels/object_laplace_lightning.py
M	add_advanced_objects_panels/oscurart_constellation.py
M	add_advanced_objects_panels/unfold_transition.py
M	add_curve_extra_objects/__init__.py
M	add_curve_extra_objects/beveltaper_curve.py
M	add_mesh_extra_objects/add_mesh_round_cube.py
M	add_mesh_extra_objects/add_mesh_vertex.py
M	add_mesh_extra_objects/geodesic_domes/third_domes_panel_271.py
M	add_mesh_extra_objects/mesh_discombobulator.py
M	animation_animall.py
M	ant_landscape/ant_functions.py
M	archimesh/achm_books_maker.py
M	archimesh/achm_column_maker.py
M	archimesh/achm_curtain_maker.py
M	archimesh/achm_door_maker.py
M	archimesh/achm_kitchen_maker.py
M	archimesh/achm_lamp_maker.py
M	archimesh/achm_main_panel.py
M	archimesh/achm_roof_maker.py
M	archimesh/achm_room_maker.py
M	archimesh/achm_shelves_maker.py
M	archimesh/achm_stairs_maker.py
M	archimesh/achm_venetian_maker.py
M	archimesh/achm_window_maker.py
M	archimesh/achm_window_panel.py
M	btrace/__init__.py
M	btrace/bTrace_props.py
M	camera_turnaround.py
M	development_iskeyfree.py
M	io_convert_image_to_mesh_img/mesh/dtm.py
M	io_convert_image_to_mesh_img/ui/terrainpanel.py
M	io_export_after_effects.py
M	io_export_paper_model.py
M	io_import_gimp_image_to_scene.py
M	io_online_sketchfab/__init__.py
M	io_scene_ms3d/ms3d_ui.py
M	lighting_dynamic_sky.py
M	materials_library_vx/__init__.py
M	materials_utils/__init__.py
M	measureit/measureit_main.py
M	mesh_auto_mirror.py
M	mesh_carver.py
M	mesh_extra_tools/face_inset_fillet.py
M	mesh_extra_tools/mesh_cut_faces.py
M	mesh_extra_tools/mesh_edges_length.py
M	mesh_extra_tools/mesh_edgetools.py
M	mesh_extra_tools/mesh_filletplus.py
M	mesh_extra_tools/mesh_pen_tool.py
M	mesh_extra_tools/mesh_select_tools/mesh_index_select.py
M	mesh_extra_tools/mesh_select_tools/mesh_info_select.py
M	mesh_extra_tools/pkhg_faces.py
M	mesh_extra_tools/split_solidify.py
M	mesh_extra_tools/vertex_align.py
M	mesh_inset/__init__.py
M	mocap/__init__.py
M	object_fracture_cell/__init__.py
M	object_fracture_crack/operator.py
M	object_skinify.py
M	paint_palette.py
M	render_povray/__init__.py
M	render_povray/nodes.py
M	render_povray/ui.py
M	sequencer_kinoraw_tools/proxy_tools.py
M	sequencer_kinoraw_tools/random_editor.py
M	sequencer_kinoraw_tools/recursive_loader.py
M	sequencer_kinoraw_tools/ui.py
M	space_view3d_brush_menus/brush_menu.py
M	space_view3d_brush_menus/curve_menu.py
M	space_view3d_brush_menus/dyntopo_menu.py
M	space_view3d_brush_menus/stroke_menu.py
M	space_view3d_brush_menus/texture_menu.py
M	space_view3d_display_tools/__init__.py
M	space_view3d_stored_views/ui.py

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

diff --git a/add_advanced_objects_menu/copy2.py b/add_advanced_objects_menu/copy2.py
index 9806ad0d..14dd312f 100644
--- a/add_advanced_objects_menu/copy2.py
+++ b/add_advanced_objects_menu/copy2.py
@@ -110,11 +110,11 @@ class Copy2(Operator):
         layout = self.layout
 
         layout.prop(self, "copyfromobject")
-        layout.label("to:")
+        layout.label(text="to:")
         layout.prop(self, "copytype", expand=True)
-        layout.label("Primary axis:")
+        layout.label(text="Primary axis:")
         layout.prop(self, "priaxes", expand=True)
-        layout.label("Secondary axis:")
+        layout.label(text="Secondary axis:")
         layout.prop(self, "secaxes", expand=True)
         if self.copytype == "E":
             layout.prop(self, "edgescale")
diff --git a/add_advanced_objects_menu/cubester.py b/add_advanced_objects_menu/cubester.py
index f93adbb8..0b75285a 100644
--- a/add_advanced_objects_menu/cubester.py
+++ b/add_advanced_objects_menu/cubester.py
@@ -723,7 +723,7 @@ class CubeSterPanel(Panel):
         if adv_obj.cubester_audio_image == "image":
             box = layout.box()
             box.prop(adv_obj, "cubester_load_type")
-            box.label("Image To Convert:")
+            box.label(text="Image To Convert:")
             box.prop_search(adv_obj, "cubester_image", bpy.data, "images")
             box.prop(adv_obj, "cubester_load_image")
 
@@ -806,7 +806,7 @@ class CubeSterPanel(Panel):
                 box.prop(adv_obj, "cubester_use_image_color", icon="COLOR")
 
             if not adv_obj.cubester_use_image_color or adv_obj.cubester_audio_image == "audio":
-                box.label("Image To Use For Colors:")
+                box.label(text="Image To Use For Colors:")
                 box.prop_search(adv_obj, "cubester_color_image", bpy.data, "images")
                 box.prop(adv_obj, "cubester_load_color_image")
 
@@ -819,11 +819,11 @@ class CubeSterPanel(Panel):
         box = layout.box()
 
         if adv_obj.cubester_mesh_style == "blocks":
-            box.label("Approximate Cube Count: " + str(rows * columns))
-            box.label("Expected Verts/Faces: " + str(rows * columns * 8) + " / " + str(rows * columns * 6))
+            box.label(text="Approximate Cube Count: " + str(rows * columns))
+            box.label(text="Expected Verts/Faces: " + str(rows * columns * 8) + " / " + str(rows * columns * 6))
         else:
-            box.label("Approximate Point Count: " + str(rows * columns))
-            box.label("Expected Verts/Faces: " + str(rows * columns) + " / " + str(rows * (columns - 1)))
+            box.label(text="Approximate Point Count: " + str(rows * columns))
+            box.label(text="Expected Verts/Faces: " + str(rows * columns) + " / " + str(rows * (columns - 1)))
 
         # blocks and plane generation time values
         if adv_obj.cubester_mesh_style == "blocks":
@@ -844,10 +844,10 @@ class CubeSterPanel(Panel):
                 time = (points * slope) + intercept + (points * block_infl) + \
                        (images_found / adv_obj.cubester_skip_images * frame_infl) + intercept2
 
-                box.label("Images To Be Used: " + str(int(images_found / adv_obj.cubester_skip_images)))
+                box.label(text="Images To Be Used: " + str(int(images_found / adv_obj.cubester_skip_images)))
         else:
             # audio based mesh
-            box.label("Audio Track Length: " + str(adv_obj.cubester_audio_file_length) + " frames")
+            box.label(text="Audio Track Length: " + str(adv_obj.cubester_audio_file_length) + " frames")
 
             block_infl, frame_infl, intercept = 0.0948, 0.0687566, -25.85985
             time = (points * block_infl) + (adv_obj.cubester_audio_file_length * frame_infl) + intercept
@@ -860,7 +860,7 @@ class CubeSterPanel(Panel):
             time_mod = "min"
         time = round(time, 3)
 
-        box.label("Expected Time: " + str(time) + " " + time_mod)
+        box.label(text="Expected Time: " + str(time) + " " + time_mod)
 
         # advanced
         if adv_obj.cubester_audio_image == "image":
@@ -873,7 +873,7 @@ class CubeSterPanel(Panel):
                 box.prop(adv_obj, "cubester_random_weights", icon="RNDCURVE")
 
                 if not adv_obj.cubester_random_weights:
-                    box.label("RGBA Channel Weights", icon="COLOR")
+                    box.label(text="RGBA Channel Weights", icon="COLOR")
                     col = box.column(align=True)
                     col.prop(adv_obj, "cubester_weight_r")
                     col.prop(adv_obj, "cubester_weight_g")
diff --git a/add_advanced_objects_menu/rope_alpha.py b/add_advanced_objects_menu/rope_alpha.py
index b7d6d8dd..a7379282 100644
--- a/add_advanced_objects_menu/rope_alpha.py
+++ b/add_advanced_objects_menu/rope_alpha.py
@@ -483,13 +483,13 @@ class ClothRope(Operator):
         box = layout.box()
         col = box.column(align=True)
 
-        col.label("Rope settings:")
+        col.label(text="Rope settings:")
         rowsub0 = col.row()
         rowsub0.prop(self, "ropelength", text="Length")
         rowsub0.prop(self, "ropesegments", text="Segments")
         rowsub0.prop(self, "radiusrope", text="Radius")
 
-        col.label("Quality Settings:")
+        col.label(text="Quality Settings:")
         col.prop(self, "resrope", text="Resolution curve")
         col.prop(self, "qcr", text="Quality Collision")
         col.prop(self, "substeps", text="Substeps")
@@ -795,7 +795,7 @@ class BallRope(Operator):
         box = layout.box()
         col = box.column(align=True)
 
-        col.label("Rope settings:")
+        col.label(text="Rope settings:")
         rowsub0 = col.row()
         rowsub0.prop(self, "hidecubes", text="Hide Link Cubes")
 
@@ -811,7 +811,7 @@ class BallRope(Operator):
         rowsub3.prop(self, "grados", text="Degrees")
         rowsub3.prop(self, "separacion", text="Separation Link Cubes")
 
-        col.label("Quality Settings:")
+        col.label(text="Quality Settings:")
         col.prop(self, "resrope", text="Resolution Rope")
         col.prop(self, "massball", text="Ball Mass")
         col.prop(self, "worldsteps", text="World Steps")
diff --git a/add_advanced_objects_menu/trilighting.py b/add_advanced_objects_menu/trilighting.py
index e14ec0e1..000df5a7 100644
--- a/add_advanced_objects_menu/trilighting.py
+++ b/add_advanced_objects_menu/trilighting.py
@@ -89,26 +89,26 @@ class TriLighting(Operator):
     def draw(self, context):
         layout = self.layout
 
-        layout.label("Position:")
+        layout.label(text="Position:")
         col = layout.column(align=True)
         col.prop(self, "height")
         col.prop(self, "distance")
 
-        layout.label("Light:")
+        layout.label(text="Light:")
         col = layout.column(align=True)
         col.prop(self, "energy")
         col.prop(self, "contrast")
 
-        layout.label("Orientation:")
+        layout.label(text="Orientation:")
         col = layout.column(align=True)
         col.prop(self, "leftangle")
         col.prop(self, "rightangle")
         col.prop(self, "backangle")
 
         col = layout.column()
-        col.label("Key Light Type:")
+        col.label(text="Key Light Type:")
         col.prop(self, "primarytype", text="")
-        col.label("Fill + Back Type:")
+        col.label(text="Fill + Back Type:")
         col.prop(self, "secondarytype", text="")
 
     def execute(self, context):
diff --git a/add_advanced_objects_panels/__init__.py b/add_advanced_objects_panels/__init__.py
index 9cc2e6fc..9e2cb030 100644
--- a/add_advanced_objects_panels/__init__.py
+++ b/add_advanced_objects_panels/__init__.py
@@ -166,11 +166,11 @@ class AdvancedObjPreferences1(AddonPreferences):
         sub_box = row.box()
         sub_box.prop(self, "enable_all", emboss=False,
                     icon="VISIBLE_IPO_ON", icon_only=True)
-        row.label("Enable All")
+        row.label(text="Enable All")
 
         row = split.row()
         row.alignment = "RIGHT"
-        row.label("Disable All")
+        row.label(text="Disable All")
         sub_box = row.box()
         sub_box.prop(self, "disable_all", emboss=False,
                     icon="VISIBLE_IPO_OFF", icon_only=True)
@@ -191,36 +191,36 @@ class AdvancedObjPreferences1(AddonPreferences):
             op = sub.operator('wm.context_toggle', text='', icon=icon,
                               emboss=False)
             op.data_path = 'addon_prefs.show_expanded_' + mod_name
-            sub.label('{}: {}'.format(info['category'], info['name']))
+            sub.label(text='{}: {}'.format(info['category'], info['name']))
             sub = row.row()
             sub.alignment = 'RIGHT'
             if info.get('warning'):
-                sub.label('', icon='ERROR')
+                sub.label(text='', icon='ERROR')
             sub.prop(self, 'use_' + mod_name, text='')
 
             # The second stage
             if expand:
                 if info.get('description'):
                     split = col.row().split(percentage=0.15)
-                    split.label('Description:')
-                    split.label(info['description'])
+                    split.label(text='Description:')
+                    split.label(text=info['description'])
                 if info.get('location'):
                     split = col.row().split(percentage=0.15)
-                    split.label('Location:')
-                    split.label(info['location'])
+                    split.label(text='Location:')
+                    split.label(text=info['location'])
                 if info.get('author'):
                     split = col.row().split(percentage=0.15)
-                    split.label('Author:')
-                    split.label(info['author'])
+                    split.label(text='Author:')
+                    split.label(text=info['author'])
                 if info.get('version'):
                     split = col.row().split(percentage=0.15)
-                    split.label('Version:')
-                    split.label('.'.join(str(x) for x in info['version']),
+                    split.label(text='Version:')
+                    split.label(text='.'.join(str(x) for 

@@ Diff output truncated at 10240 characters. @@



More information about the Bf-extensions-cvs mailing list