[Bf-extensions-cvs] [c0a273d] master: Fix T47053: Problem while import/export of obj files.
Bastien Montagne
noreply at git.blender.org
Wed Dec 23 19:59:18 CET 2015
Commit: c0a273d1e7ae86f635816896be762dad3ebd1662
Author: Bastien Montagne
Date: Wed Dec 23 19:58:40 2015 +0100
Branches: master
https://developer.blender.org/rBAc0a273d1e7ae86f635816896be762dad3ebd1662
Fix T47053: Problem while import/export of obj files.
Missing import of Vector...
===================================================================
M io_scene_obj/export_obj.py
===================================================================
diff --git a/io_scene_obj/export_obj.py b/io_scene_obj/export_obj.py
index ad50621..fbbc1e9 100644
--- a/io_scene_obj/export_obj.py
+++ b/io_scene_obj/export_obj.py
@@ -44,7 +44,7 @@ def mesh_triangulate(me):
def write_mtl(scene, filepath, path_mode, copy_set, mtl_dict):
- from mathutils import Color
+ from mathutils import Color, Vector
world = scene.world
if world:
More information about the Bf-extensions-cvs
mailing list