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:
Diffstat (limited to 'io_coat3D/tex.py')
-rw-r--r--io_coat3D/tex.py16
1 files changed, 8 insertions, 8 deletions
diff --git a/io_coat3D/tex.py b/io_coat3D/tex.py
index cd3c6e74..2e1d9f14 100644
--- a/io_coat3D/tex.py
+++ b/io_coat3D/tex.py
@@ -21,12 +21,12 @@ import bpy
import os
def find_index(objekti):
- luku = 0
- for tex in objekti.active_material.texture_slots:
- if(not(hasattr(tex,'texture'))):
- break
- luku = luku +1
- return luku
+ luku = 0
+ for tex in objekti.active_material.texture_slots:
+ if(not(hasattr(tex,'texture'))):
+ break
+ luku = luku +1
+ return luku
def gettex(mat_list, objekti, scene,export):
@@ -67,9 +67,9 @@ def gettex(mat_list, objekti, scene,export):
tex_slot.texture.image.reload()
else:
if(os.sys.platform == 'win32'):
- osoite = os.path.expanduser("~") + os.sep + 'Documents' + os.sep + '3DC2Blender' + os.sep + 'Textures' + os.sep
+ soite = os.path.expanduser("~") + os.sep + 'Documents' + os.sep + '3DC2Blender' + os.sep + 'Textures' + os.sep
else:
- osoite = os.path.expanduser("~") + os.sep + '3DC2Blender' + os.sep + 'Textures' + os.sep
+ osoite = os.path.expanduser("~") + os.sep + '3DC2Blender' + os.sep + 'Textures' + os.sep
ki = os.path.split(coa.applink_name)[1]
ko = os.path.splitext(ki)[0]
just_nimi = ko + '_'