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:
authorCampbell Barton <ideasman42@gmail.com>2011-07-25 13:18:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-07-25 13:18:38 +0400
commite7e051eb5d8e596bdbda9e3a02572a6db152e76e (patch)
tree3bfb65bb16b4b26912bd3359b623bcbfc3cc2334 /light_field_tools
parentd71455d4c1534a1949f6fb0e6ab0fcb1ceb7c2f8 (diff)
fix for some errors with recent commits
Diffstat (limited to 'light_field_tools')
-rw-r--r--light_field_tools/light_field_tools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/light_field_tools/light_field_tools.py b/light_field_tools/light_field_tools.py
index 7e84986b..85b10298 100644
--- a/light_field_tools/light_field_tools.py
+++ b/light_field_tools/light_field_tools.py
@@ -320,7 +320,7 @@ class OBJECT_OT_create_lightfield_basemesh(bpy.types.Operator):
def getCamVec(self, obj, angle):
width = self.getWidth(obj)
itmat = obj.matrix_local.inverted().transposed()
- normal = (itmat * obj.data.faces[0].normal.normalized()
+ normal = itmat * obj.data.faces[0].normal.normalized()
vl = (width/2) * (1/math.tan(math.radians(angle/2)))
return normal*vl