diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 16:49:53 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-08-19 16:49:53 +0400 |
commit | 322f2bf8d49c58cd9eb5a214ee1542721839c6e0 (patch) | |
tree | 38495ca8e7ccc458625a960e13961bb051a4b3a2 /space_view3d_materials_utils.py | |
parent | 2a7343b8314ab4bbb6ec1e9a3fc26d7fe16a259b (diff) |
update for changes in rna api
Diffstat (limited to 'space_view3d_materials_utils.py')
-rw-r--r-- | space_view3d_materials_utils.py | 8 |
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: |