diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-19 18:59:58 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2018-10-19 19:12:29 +0300 |
commit | d7d3233715503ecc15b8dd1973f7e73257e2cbda (patch) | |
tree | f9f9ab24b89fe574b3f972e45c8337bcd791a9b1 /io_import_images_as_planes.py | |
parent | 84b817117328b3193533324846ec389b1f5fe5c4 (diff) |
Spelling fixes in comments and descriptions, patch by luzpaz.
Differential Revision: https://developer.blender.org/D3746
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r-- | io_import_images_as_planes.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py index ed140fe8..1f32bc5f 100644 --- a/io_import_images_as_planes.py +++ b/io_import_images_as_planes.py @@ -327,7 +327,7 @@ def clean_node_tree(node_tree): def get_shadeless_node(dest_node_tree): - """Return a "shadless" cycles node, creating a node group if nonexistant""" + """Return a "shadless" cycles node, creating a node group if nonexistent""" try: node_tree = bpy.data.node_groups['IAP_SHADELESS'] @@ -458,7 +458,7 @@ def register_watched_object(obj): def find_plane_corner(object_name, x, y, axis, camera=None, *args, **kwargs): """Find the location in camera space of a plane's corner""" if args or kwargs: - # I've added args / kwargs as a compatability measure with future versions + # I've added args / kwargs as a compatibility measure with future versions warnings.warn("Unknown Parameters Passed to \"Images as Planes\". Maybe you need to upgrade?") plane = bpy.data.objects[object_name] @@ -606,7 +606,7 @@ def setup_compositing(context, plane, img_spec): # Operator class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): - """Create mesh plane(s) from image files with the appropiate aspect ratio""" + """Create mesh plane(s) from image files with the appropriate aspect ratio""" bl_idname = "import_image.to_plane" bl_label = "Import Images as Planes" @@ -1165,7 +1165,7 @@ class IMPORT_IMAGE_OT_to_plane(Operator, AddObjectHelper): # Axis-aligned axis = self.axis_id_to_vector[self.align_axis] - # rotate accodingly for x/y axiis + # rotate accordingly for x/y axiis if not axis.z: plane.rotation_euler.x = pi / 2 |