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

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-09 02:14:16 +0400
committerKalle-Samuli Riihikoski <haikalle@gmail.com>2011-06-09 02:14:16 +0400
commit8b9e2e0fd06d74fe44c613aa8f4976a1837f68c4 (patch)
treec0c37e4bb9bbd8530fdabe6db87703436ca0718a /io_coat3D/tex.py
parent40786f0993267c22685bb4aad8c0e2c321e85086 (diff)
-complete applink dynamic menu.
-fixed the bug when two or more objects dosen't have materials.
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index 3d2c9d51..92e5dc72 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -68,7 +68,7 @@ def gettex(mat_list, objekti, scene,export):
if tex_slot.texture.image is not None:
tex_slot.texture.image.reload()
else:
- coa = bpy.context.scene.objects.active.coat3D
+ coa = objekti.coat3D
nimi = objname(coa.objectdir)
if(coa.texturefolder):
osoite = os.path.dirname(coa.texturefolder) + os.sep