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:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 18:59:58 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:12:29 +0300
commitd7d3233715503ecc15b8dd1973f7e73257e2cbda (patch)
treef9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /node_wrangler.py
parent84b817117328b3193533324846ec389b1f5fe5c4 (diff)
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'node_wrangler.py')
-rw-r--r--node_wrangler.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/node_wrangler.py b/node_wrangler.py
index a8cd6646..6ccf2ecd 100644
--- a/node_wrangler.py
+++ b/node_wrangler.py
@@ -1049,7 +1049,7 @@ class NWNodeWrangler(bpy.types.AddonPreferences):
("NEVER", "Never", "Never collapse the new merge nodes")
),
default='NON_SHADER',
- description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specifiy whether to collapse them or show the full node with options expanded")
+ description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specify whether to collapse them or show the full node with options expanded")
merge_position = EnumProperty(
name="Mix Node Position",
items=(
@@ -1057,7 +1057,7 @@ class NWNodeWrangler(bpy.types.AddonPreferences):
("BOTTOM", "Bottom", "Place the Mix node at the same height as the lowest node")
),
default='CENTER',
- description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specifiy the position of the new nodes")
+ description="When merging nodes with the Ctrl+Numpad0 hotkey (and similar) specify the position of the new nodes")
show_hotkey_list = BoolProperty(
name="Show Hotkey List",
@@ -2685,7 +2685,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
fname = path.splitext(fname)[0]
# Remove digits
fname = ''.join(i for i in fname if not i.isdigit())
- # Seperate CamelCase by space
+ # Separate CamelCase by space
fname = re.sub("([a-z])([A-Z])","\g<1> \g<2>",fname)
# Replace common separators with SPACE
seperators = ['_', '.', '-', '__', '--', '#']
@@ -2767,7 +2767,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
# Too complicated for now
'''
- # Frame. Does not update immediatly
+ # Frame. Does not update immediately
# Seems to need an editor redraw
frame = nodes.new(type='NodeFrame')
frame.label = 'Displacement'
@@ -2776,7 +2776,7 @@ class NWAddPrincipledSetup(Operator, NWBase, ImportHelper):
frame.update()
'''
- #find ouput node
+ #find output node
output_node = [n for n in nodes if n.bl_idname == 'ShaderNodeOutputMaterial']
if output_node:
if not output_node[0].inputs[2].is_linked:
@@ -3090,7 +3090,7 @@ class NWAlignNodes(Operator, NWBase):
elif nodes.active in selection:
active_loc = copy(nodes.active.location) # make a copy, not a reference
- # Check if nodes should be layed out horizontally or vertically
+ # Check if nodes should be laid out horizontally or vertically
x_locs = [n.location.x + (n.dimensions.x / 2) for n in selection] # use dimension to get center of node, not corner
y_locs = [n.location.y - (n.dimensions.y / 2) for n in selection]
x_range = max(x_locs) - min(x_locs)
@@ -4621,7 +4621,7 @@ kmi_defs = (
(NWResetBG.bl_idname, 'Z', 'PRESS', False, False, False, None, "Reset backdrop image zoom"),
# Delete unused
(NWDeleteUnused.bl_idname, 'X', 'PRESS', False, False, True, None, "Delete unused nodes"),
- # Frame Seleted
+ # Frame Selected
(NWFrameSelected.bl_idname, 'P', 'PRESS', False, True, False, None, "Frame selected nodes"),
# Swap Outputs
(NWSwapLinks.bl_idname, 'S', 'PRESS', False, False, True, None, "Swap Outputs"),