fix for error in recent commit.

This commit is contained in:
Campbell Barton 2011-07-31 12:46:34 +00:00
parent c74bb09584
commit 2620bd0ade

@ -41,7 +41,7 @@ def add_object_align_init(context, operator):
"""
from mathutils import Matrix, Vector, Euler
properties = operator.properties
properties = operator.properties if operator is not None else None
space_data = context.space_data
if space_data.type != 'VIEW_3D':