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>2011-09-26 19:18:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-09-26 19:18:31 +0400
commit19b6b488d4cd3da525b84b306d74281bf3087b21 (patch)
treec8b4ec3d6f4f3ddadf9d5a6513acf7ebd88e4735 /space_view3d_materials_utils.py
parentee1db199eb857efd45682c4e2d656828342cc7bc (diff)
corrections for addons to update for trunk.
Diffstat (limited to 'space_view3d_materials_utils.py')
-rw-r--r--space_view3d_materials_utils.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/space_view3d_materials_utils.py b/space_view3d_materials_utils.py
index a0e43316..c34b01d7 100644
--- a/space_view3d_materials_utils.py
+++ b/space_view3d_materials_utils.py
@@ -222,9 +222,8 @@ 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].use_image = True
else:
- uvtex[f.index].use_image = False
+ uvtex[f.index].image = None
me.update()