Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-04-14 14:37:58 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-04-14 14:37:58 +0400
commit0a411c47049378906d1a4c3df4d6b6cb9f87ca9e (patch)
tree49562bc9400c7a8e276f3f0df288e7888ae9df26 /release/scripts/uvcalc_smart_project.py
parent61b6f47faf5b7bd2bbc0f6d6e32c628b757002be (diff)
added missing 'import bpy' from uvcalc_smart_project
removed 2 unused vars from DNA_object_types.h
Diffstat (limited to 'release/scripts/uvcalc_smart_project.py')
-rw-r--r--release/scripts/uvcalc_smart_project.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/release/scripts/uvcalc_smart_project.py b/release/scripts/uvcalc_smart_project.py
index b4f69ce512e..ae6ffacf593 100644
--- a/release/scripts/uvcalc_smart_project.py
+++ b/release/scripts/uvcalc_smart_project.py
@@ -44,7 +44,7 @@ selected faces, or all faces.
from Blender import Object, Draw, Window, sys, Mesh, Geometry
from Blender.Mathutils import CrossVecs, Matrix, Vector, RotationMatrix, DotVecs
-
+import bpy
from math import cos
DEG_TO_RAD = 0.017453292519943295 # pi/180.0