Commit: 88f126f2ebd615aac01272e2284392b48a5f90ec
Author: Campbell Barton
Date:   Tue Jul 22 11:53:24 2014 +1000
Branches: master
https://developer.blender.org/rB88f126f2ebd615aac01272e2284392b48a5f90ec

Fix missing include

===================================================================

M       release/scripts/modules/bpy_extras/object_utils.py

===================================================================

diff --git a/release/scripts/modules/bpy_extras/object_utils.py 
b/release/scripts/modules/bpy_extras/object_utils.py
index 766da46..0139076 100644
--- a/release/scripts/modules/bpy_extras/object_utils.py
+++ b/release/scripts/modules/bpy_extras/object_utils.py
@@ -245,6 +245,7 @@ def object_image_guess(obj, bm=None):
     me = obj.data
     if bm is None:
         if obj.mode == 'EDIT':
+            import bmesh
             bm = bmesh.from_edit_mesh(me)
 
     if bm is not None:

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to