diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 13:18:38 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-07-25 13:18:38 +0400 |
commit | e7e051eb5d8e596bdbda9e3a02572a6db152e76e (patch) | |
tree | 3bfb65bb16b4b26912bd3359b623bcbfc3cc2334 /light_field_tools | |
parent | d71455d4c1534a1949f6fb0e6ab0fcb1ceb7c2f8 (diff) |
fix for some errors with recent commits
Diffstat (limited to 'light_field_tools')
-rw-r--r-- | light_field_tools/light_field_tools.py | 2 |
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 |