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:
-rw-r--r--add_curve_sapling/__init__.py2
-rw-r--r--blenderkit/__init__.py2
-rw-r--r--blenderkit/ui_panels.py2
-rw-r--r--io_coat3D/__init__.py2
-rw-r--r--io_convert_image_to_mesh_img/ui/terrainpanel.py6
-rw-r--r--io_export_after_effects.py2
-rw-r--r--io_sequencer_edl/__init__.py2
-rw-r--r--materials_library_vx/__init__.py12
-rw-r--r--mesh_extra_tools/__init__.py18
-rw-r--r--mocap/__init__.py2
-rw-r--r--node_wrangler.py2
-rw-r--r--oscurart_tools/object/selection.py4
-rw-r--r--render_auto_tile_size.py4
-rw-r--r--render_povray/nodes.py24
-rw-r--r--render_povray/ui.py21
15 files changed, 51 insertions, 54 deletions
diff --git a/add_curve_sapling/__init__.py b/add_curve_sapling/__init__.py
index a657264a..3b9bdd09 100644
--- a/add_curve_sapling/__init__.py
+++ b/add_curve_sapling/__init__.py
@@ -868,7 +868,7 @@ class AddTree(Operator):
layout = self.layout
# Branch specs
- # layout.label('Tree Definition')
+ # layout.label(text='Tree Definition')
layout.prop(self, 'chooseSet')
diff --git a/blenderkit/__init__.py b/blenderkit/__init__.py
index 9850d5d8..0bafa699 100644
--- a/blenderkit/__init__.py
+++ b/blenderkit/__init__.py
@@ -1303,7 +1303,7 @@ class BlenderKitAddonPreferences(AddonPreferences):
icon='QUESTION')
op.url = paths.BLENDERKIT_SIGNUP_URL
layout.prop(self, "api_key", text='Your API Key')
- # layout.label('After you paste API Key, categories are downloaded, so blender will freeze for a few seconds.')
+ # layout.label(text='After you paste API Key, categories are downloaded, so blender will freeze for a few seconds.')
layout.prop(self, "global_dir")
layout.prop(self, "project_subdir")
# layout.prop(self, "temp_dir")
diff --git a/blenderkit/ui_panels.py b/blenderkit/ui_panels.py
index 98281747..2f94ba13 100644
--- a/blenderkit/ui_panels.py
+++ b/blenderkit/ui_panels.py
@@ -518,7 +518,7 @@ class VIEW3D_PT_blenderkit_unified(Panel):
#
row.prop(ui_props, 'down_up', expand=True, icon_only=True)
- # row.label('')
+ # row.label(text='')
row = row.split().row()
row.prop(ui_props, 'asset_type', expand=True, icon_only=True)
diff --git a/io_coat3D/__init__.py b/io_coat3D/__init__.py
index 02481f83..ef2da4e0 100644
--- a/io_coat3D/__init__.py
+++ b/io_coat3D/__init__.py
@@ -1194,7 +1194,7 @@ class SCENE_PT_Main(bpy.types.Panel):
row = layout.row()
row.label(text="Applink didn't find your 3d-Coat/Exchange folder.")
row = layout.row()
- row.label("Please select it before using Applink.")
+ row.label(text="Please select it before using Applink.")
row = layout.row()
row.prop(coat3D,"exchangedir",text="")
row = layout.row()
diff --git a/io_convert_image_to_mesh_img/ui/terrainpanel.py b/io_convert_image_to_mesh_img/ui/terrainpanel.py
index 8a2bece3..284b8600 100644
--- a/io_convert_image_to_mesh_img/ui/terrainpanel.py
+++ b/io_convert_image_to_mesh_img/ui/terrainpanel.py
@@ -101,19 +101,19 @@ class TerrainPanel(Panel):
dtm_resolution = metadata_panel.row()
dtm_resolution.label(text='Current Resolution: ')
- dtm_resolution.label('{:9,.2%}'.format(
+ dtm_resolution.label(text='{:9,.2%}'.format(
obj['DTM_RESOLUTION']
))
mesh_scale = metadata_panel.row()
mesh_scale.label(text='Current Scale: ')
- mesh_scale.label('{:9,.2f} m/post'.format(
+ mesh_scale.label(text='{:9,.2f} m/post'.format(
obj['MESH_SCALE']
))
dtm_scale = metadata_panel.row()
dtm_scale.label(text='Original Scale: ')
- dtm_scale.label('{:9,.2f} m/post'.format(
+ dtm_scale.label(text='{:9,.2f} m/post'.format(
obj['MAP_SCALE']
))
diff --git a/io_export_after_effects.py b/io_export_after_effects.py
index 65c60f5c..c0afe51f 100644
--- a/io_export_after_effects.py
+++ b/io_export_after_effects.py
@@ -738,7 +738,7 @@ class ExportJsx(bpy.types.Operator, ExportHelper):
layout = self.layout
box = layout.box()
- box.label('Size fo AE Comp (pixels per 1 BU)')
+ box.label(text='Size fo AE Comp (pixels per 1 BU)')
box.prop(self, 'ae_size')
box.label(text='Animation:')
box.prop(self, 'include_animation')
diff --git a/io_sequencer_edl/__init__.py b/io_sequencer_edl/__init__.py
index 5afc1a8d..8d1d871c 100644
--- a/io_sequencer_edl/__init__.py
+++ b/io_sequencer_edl/__init__.py
@@ -300,7 +300,7 @@ class SEQUENCER_PT_import_edl(bpy.types.Panel):
col.prop(reel, "frame_offset")
if reel is None:
- box.label("Empty (No EDL Data)")
+ box.label(text="Empty (No EDL Data)")
box.operator(FindReelsEDL.bl_idname, icon='EXTERNAL_DATA')
diff --git a/materials_library_vx/__init__.py b/materials_library_vx/__init__.py
index 17e3934e..0e9cf5e7 100644
--- a/materials_library_vx/__init__.py
+++ b/materials_library_vx/__init__.py
@@ -930,8 +930,8 @@ class MATLIB_OT_operator(Operator):
layout = self.layout
#cmd = LIBRARY_ADD
if self.cmd == "LIBRARY_ADD":
- #layout.label("Select a blend file as library or")
- #layout.label("Type a name to create a new library.")
+ #layout.label(text="Select a blend file as library or")
+ #layout.label(text="Type a name to create a new library.")
layout.prop(self, "category", text="Library")
elif self.cmd == "FILTER_ADD":
layout.prop(self, "category")
@@ -1191,15 +1191,15 @@ class MATLIB_PT_vxPanel(Panel):
# if (matlib.current_library):
# row.label(matlib.current_library.name)
# else:
-# row.label("Library not found!.")
+# row.label(text="Library not found!.")
"""
classes = [
matlibMaterials,
matlibProperties,
EmptyGroup,
-MATLIB_PT_vxPanel,
-MATLIB_OT_operator,
-MATLIB_MT_LibsMenu,
+MATLIB_PT_vxPanel,
+MATLIB_OT_operator,
+MATLIB_MT_LibsMenu,
MATLIB_MT_CatsMenu
]
#print(bpy.context.scene)
diff --git a/mesh_extra_tools/__init__.py b/mesh_extra_tools/__init__.py
index c1b9d388..307db313 100644
--- a/mesh_extra_tools/__init__.py
+++ b/mesh_extra_tools/__init__.py
@@ -818,15 +818,15 @@ class mesh_extra_tools_pref(AddonPreferences):
if self.show_info:
box.label(text="Collection of various extra Mesh Edit Functions",
icon="LAYER_ACTIVE")
- box.label("The majority of the tools can be found in"
+ box.label(text="The majority of the tools can be found in"
"Mesh Edit Mode Toolshelf or W key Specials Menu",
icon="LAYER_USED")
- box.label("The Pen tool is a separate Panel in the Toolshelf",
+ box.label(text="The Pen tool is a separate Panel in the Toolshelf",
icon="LAYER_USED")
- box.label("The Face Extrude tool is only available in Object Mode "
+ box.label(text="The Face Extrude tool is only available in Object Mode "
"as a separate panel in the Toolshelf",
icon="LAYER_USED")
- box.label("Face Info / Select is a separate Panel located in Properties > Data Editor",
+ box.label(text="Face Info / Select is a separate Panel located in Properties > Data Editor",
icon="LAYER_USED")
box.prop(self, "show_shortcuts", icon="KEYINGSET")
@@ -834,21 +834,21 @@ class mesh_extra_tools_pref(AddonPreferences):
col = box.column()
col.label(text="Double Right Click in Edit mode in the 3D Viewport",
icon="LAYER_ACTIVE")
- col.label("Used for quick access to the Vertex, Edge and Face context menus",
+ col.label(text="Used for quick access to the Vertex, Edge and Face context menus",
icon="LAYER_USED")
col.separator()
col.label(text="W-key in Edit Mode in the 3D Viewport",
icon="LAYER_ACTIVE")
- col.label("Tools are grouped into menus prepended to the Specials Menu",
+ col.label(text="Tools are grouped into menus prepended to the Specials Menu",
icon="LAYER_USED")
col.separator()
col.label(text="Ctrl+D in Edit Mode in the 3D Viewport",
icon="LAYER_ACTIVE")
- col.label("Used by the Pen Tool to start drawing. When activated:",
+ col.label(text="Used by the Pen Tool to start drawing. When activated:",
icon="LAYER_USED")
- col.label("Shift + Mouse Move is used to draw along the X axis",
+ col.label(text="Shift + Mouse Move is used to draw along the X axis",
icon="LAYER_USED")
- col.label("Alt + Mouse Move is used to draw along the Y axis",
+ col.label(text="Alt + Mouse Move is used to draw along the Y axis",
icon="LAYER_USED")
col.separator()
col.label(text="Note: when using Fast Loop operator, press Esc twice to finish",
diff --git a/mocap/__init__.py b/mocap/__init__.py
index cc2a9a2c..f040e0b1 100644
--- a/mocap/__init__.py
+++ b/mocap/__init__.py
@@ -295,7 +295,7 @@ class MocapPanel(bpy.types.Panel):
enduser_obj = bpy.context.active_object
performer_obj = [obj for obj in bpy.context.selected_objects if obj != enduser_obj]
if enduser_obj is None or len(performer_obj) != 1:
- layout.label("Select performer rig and target rig (as active)")
+ layout.label(text="Select performer rig and target rig (as active)")
else:
layout.operator("mocap.guessmapping", text="Guess Hierarchy Mapping")
labelRow = layout.row(align=True)
diff --git a/node_wrangler.py b/node_wrangler.py
index 8c3f71f2..7cb71f38 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -4035,7 +4035,7 @@ class NWVertColMenu(bpy.types.Menu):
for vcol in vcols:
l.operator(NWAddAttrNode.bl_idname, text=vcol).attr_name = vcol
else:
- l.label("No Vertex Color layers on objects with this material")
+ l.label(text="No Vertex Color layers on objects with this material")
class NWSwitchNodeTypeMenu(Menu, NWBase):
diff --git a/oscurart_tools/object/selection.py b/oscurart_tools/object/selection.py
index 39f6b603..44eb2a03 100644
--- a/oscurart_tools/object/selection.py
+++ b/oscurart_tools/object/selection.py
@@ -59,7 +59,5 @@ class OSSELECTION_HT_OscSelection(bpy.types.Header):
"""
layout = self.layout
row = layout.row()
- row.label("Sels: "+str(len(bpy.selection_osc)))
+ row.label(text="Sels: "+str(len(bpy.selection_osc)))
"""
-
-
diff --git a/render_auto_tile_size.py b/render_auto_tile_size.py
index f6feb0cf..f61839d7 100644
--- a/render_auto_tile_size.py
+++ b/render_auto_tile_size.py
@@ -424,7 +424,7 @@ def ui_layout(engine, layout, context):
if settings.use_advanced_ui:
row = sub.row(align=True)
- row.label("Target tile size:")
+ row.label(text="Target tile size:")
row.separator()
row.prop(settings, "target_type", expand=True)
@@ -432,7 +432,7 @@ def ui_layout(engine, layout, context):
row.prop(settings, get_tilesize_prop(engine, device, userpref), expand=True)
sub.prop(settings, "use_optimal", text="Calculate Optimal Size")
- sub.label("Number of tiles: %s x %s (Total: %s)" %
+ sub.label(text="Number of tiles: %s x %s (Total: %s)" %
(settings.num_tiles[0], settings.num_tiles[1],
settings.num_tiles[0] * settings.num_tiles[1])
)
diff --git a/render_povray/nodes.py b/render_povray/nodes.py
index a3267565..afacfc82 100644
--- a/render_povray/nodes.py
+++ b/render_povray/nodes.py
@@ -364,7 +364,7 @@ class PovrayMultiplyNode(Node, ObjectNodeTree):
def draw_buttons(self, context, layout):
column=layout.column()
- column.label("Amount")
+ column.label(text="Amount")
row=column.row(align=True)
row.prop(self,"amount_x")
row.prop(self,"amount_y")
@@ -373,7 +373,7 @@ class PovrayMultiplyNode(Node, ObjectNodeTree):
def draw_buttons_ext(self, context, layout):
column=layout.column()
- column.label("Amount")
+ column.label(text="Amount")
row=column.row(align=True)
row.prop(self,"amount_x")
row.prop(self,"amount_y")
@@ -773,7 +773,7 @@ class ShaderPatternNode(Node, ObjectNodeTree):
if self.pattern=='crackle':
layout.prop(self, "crackle_metric")
layout.prop(self, "crackle_solid")
- layout.label("Form:")
+ layout.label(text="Form:")
layout.prop(self, "crackle_form_x")
layout.prop(self, "crackle_form_y")
layout.prop(self, "crackle_form_z")
@@ -890,7 +890,7 @@ class ShaderNormalMapNode(Node, ObjectNodeTree):
if self.inputs[0].default_value =='brick':
layout.prop(self, "brick_mortar")
- layout.label("Brick size:")
+ layout.label(text="Brick size:")
layout.prop(self, "brick_size_x")
layout.prop(self, "brick_size_y")
layout.prop(self, "brick_size_z")
@@ -899,7 +899,7 @@ class ShaderNormalMapNode(Node, ObjectNodeTree):
if self.inputs[0].default_value =='brick':
layout.prop(self, "brick_mortar")
- layout.label("Brick size:")
+ layout.label(text="Brick size:")
layout.prop(self, "brick_size_x")
layout.prop(self, "brick_size_y")
layout.prop(self, "brick_size_z")
@@ -984,17 +984,17 @@ class PovraySlopeNode(Node, TextureNodeTree):
layout.operator("pov.nodeinputadd")
row = layout.row()
- row.label('Value')
- row.label('Height')
- row.label('Slope')
+ row.label(text='Value')
+ row.label(text='Height')
+ row.label(text='Slope')
def draw_buttons_ext(self, context, layout):
layout.operator("pov.nodeinputadd")
row = layout.row()
- row.label('Value')
- row.label('Height')
- row.label('Slope')
+ row.label(text='Value')
+ row.label(text='Height')
+ row.label(text='Slope')
def draw_label(self):
return "Slope Map"
@@ -1359,4 +1359,4 @@ def unregister():
from bpy.utils import unregister_class
for cls in classes:
- unregister_class(cls) \ No newline at end of file
+ unregister_class(cls)
diff --git a/render_povray/ui.py b/render_povray/ui.py
index f033da53..c67606fc 100644
--- a/render_povray/ui.py
+++ b/render_povray/ui.py
@@ -253,7 +253,7 @@ del properties_particle
def check_material(mat):
if mat is not None:
if mat.use_nodes:
- if not mat.node_tree: #FORMERLY : #mat.active_node_material is not None:
+ if not mat.node_tree: #FORMERLY : #mat.active_node_material is not None:
return True
return False
return True
@@ -573,7 +573,7 @@ class LIGHT_PT_POV_sunsky(PovLampButtonsPanel, bpy.types.Panel):
draw = properties_data_light.DATA_PT_sunsky.draw
-
+
class LIGHT_PT_POV_shadow(PovLampButtonsPanel, bpy.types.Panel):
bl_label = properties_data_light.DATA_PT_shadow.bl_label
@@ -669,8 +669,8 @@ class WORLD_PT_POV_world(WorldButtonsPanel, bpy.types.Panel):
row.menu(POV_WORLD_MT_presets.__name__, text=POV_WORLD_MT_presets.bl_label)
row.operator(AddPresetWorld.bl_idname, text="", icon='ADD')
row.operator(AddPresetWorld.bl_idname, text="", icon='REMOVE').remove_active = True
-
- row = layout.row()
+
+ row = layout.row()
row.prop(world, "use_sky_paper")
row.prop(world, "use_sky_blend")
row.prop(world, "use_sky_real")
@@ -1093,7 +1093,7 @@ class AddPresetSSS(AddPresetBase, bpy.types.Operator):
# where to store the preset
preset_subdir = "pov/material/sss"
-
+
class MATERIAL_PT_POV_sss(MaterialButtonsPanel, bpy.types.Panel):
bl_label = "Subsurface Scattering"
bl_options = {'DEFAULT_CLOSED'}
@@ -1144,7 +1144,7 @@ class MATERIAL_PT_POV_sss(MaterialButtonsPanel, bpy.types.Panel):
sub.prop(sss, "back")
col.separator()
col.prop(sss, "error_threshold", text="Error")
-
+
class MATERIAL_PT_povray_activate_node(MaterialButtonsPanel, bpy.types.Panel):
bl_label = "Activate Node Settings"
bl_context = "material"
@@ -1216,7 +1216,7 @@ class MATERIAL_PT_povray_active_node(MaterialButtonsPanel, bpy.types.Panel):
socket.draw(context, row, node, socket.name)
else:
layout.label(text="No active nodes!")
-
+
class MATERIAL_PT_POV_mirror(MaterialButtonsPanel, bpy.types.Panel):
bl_label = "Mirror"
bl_options = {'DEFAULT_CLOSED'}
@@ -2300,7 +2300,7 @@ class TEXT_PT_povray_custom_code(TextButtonsPanel, bpy.types.Panel):
if text:
box = layout.box()
- box.label('Source to render:', icon='RENDER_STILL')
+ box.label(text='Source to render:', icon='RENDER_STILL')
row = box.row()
row.prop(text.pov, "custom_code",expand = True)
if text.pov.custom_code in {'3dview'}:
@@ -2417,7 +2417,7 @@ def register():
for cls in classes:
register_class(cls)
-
+
bpy.types.VIEW3D_MT_add.prepend(menu_func_add)
bpy.types.TOPBAR_MT_file_import.append(menu_func_import)
bpy.types.TEXT_MT_templates.append(menu_func_templates)
@@ -2441,7 +2441,6 @@ def unregister():
bpy.types.TEXT_MT_templates.remove(menu_func_templates)
bpy.types.TOPBAR_MT_file_import.remove(menu_func_import)
bpy.types.VIEW3D_MT_add.remove(menu_func_add)
-
+
for cls in reversed(classes):
unregister_class(cls)
- \ No newline at end of file