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 19:13:31 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2018-10-19 19:13:31 +0300
commit1c75533d9cc0693733bacbadecfaac5c504313fb (patch)
tree865ca6cfc8f2ea136d7ff2462e435151e612d06d /io_import_images_as_planes.py
parent4179941c58871bf85cf275130af0696affa5040f (diff)
parentd7d3233715503ecc15b8dd1973f7e73257e2cbda (diff)
Merge branch 'master' into blender2.8
Diffstat (limited to 'io_import_images_as_planes.py')
-rw-r--r--io_import_images_as_planes.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/io_import_images_as_planes.py b/io_import_images_as_planes.py
index 4ff123df..e0c71426 100644
--- a/io_import_images_as_planes.py
+++ b/io_import_images_as_planes.py
@@ -325,7 +325,7 @@ def clean_node_tree(node_tree):
def get_shadeless_node(dest_node_tree):
- """Return a "shadless" cycles/eevee node, creating a node group if nonexistant"""
+ """Return a "shadless" cycles/eevee node, creating a node group if nonexistent"""
try:
node_tree = bpy.data.node_groups['IAP_SHADELESS']
@@ -456,7 +456,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]
@@ -604,7 +604,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"
@@ -1111,7 +1111,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