[Bf-extensions-cvs] SVN commit: /data/svn/bf-extensions [4587] contrib/py/scripts/addons/ uv_texture_atlas.py: [TextureAtlas] fix for pep8.
paul geraskin
paul_geraskin at mail.ru
Wed Jun 19 17:39:33 CEST 2013
Revision: 4587
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-extensions&revision=4587
Author: mifth
Date: 2013-06-19 15:39:32 +0000 (Wed, 19 Jun 2013)
Log Message:
-----------
[TextureAtlas] fix for pep8.
Modified Paths:
--------------
contrib/py/scripts/addons/uv_texture_atlas.py
Modified: contrib/py/scripts/addons/uv_texture_atlas.py
===================================================================
--- contrib/py/scripts/addons/uv_texture_atlas.py 2013-06-19 15:36:59 UTC (rev 4586)
+++ contrib/py/scripts/addons/uv_texture_atlas.py 2013-06-19 15:39:32 UTC (rev 4587)
@@ -38,6 +38,7 @@
)
import mathutils
+
def check_all_objects_visible(self, context):
scene = context.scene
group = scene.ms_lightmap_groups[scene.ms_lightmap_groups_index]
@@ -465,7 +466,7 @@
image = bpy.data.images.new(name=self.group_name, width=self.resolution, height=self.resolution)
else:
image = bpy.data.images[self.group_name]
-
+
image.generated_type = 'COLOR_GRID'
image.generated_width = self.resolution
image.generated_height = self.resolution
More information about the Bf-extensions-cvs
mailing list