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:
authorCampbell Barton <ideasman42@gmail.com>2010-08-19 16:49:53 +0400
committerCampbell Barton <ideasman42@gmail.com>2010-08-19 16:49:53 +0400
commit322f2bf8d49c58cd9eb5a214ee1542721839c6e0 (patch)
tree38495ca8e7ccc458625a960e13961bb051a4b3a2 /space_view3d_materials_utils.py
parent2a7343b8314ab4bbb6ec1e9a3fc26d7fe16a259b (diff)
update for changes in rna api
Diffstat (limited to 'space_view3d_materials_utils.py')
-rw-r--r--space_view3d_materials_utils.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py
index 004d4834..683d2b50 100644
--- a/space_view3d_materials_utils.py
+++ b/space_view3d_materials_utils.py
@@ -213,11 +213,11 @@ def mat_to_texface():
#check that material had an image!
if images[f.material_index] != None:
uvtex[f.index].image = images[f.material_index]
- uvtex[f.index].tex =True
+ uvtex[f.index].use_texture = True
else:
- uvtex[f.index].tex =False
-
- me.update
+ uvtex[f.index].use_texture = False
+
+ me.update()
if editmode: