[TextureAtlas] add a material if there are no slots at all for temoporary object.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4641 96b784f8-4ae3-dd11-aff7-0030488c597c
[TextureAtlas] small refactoring.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4642 96b784f8-4ae3-dd11-aff7-0030488c597c
[TextureAtlas] change to materials check. No need to check slots. As slots could be empty.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4643 96b784f8-4ae3-dd11-aff7-0030488c597c
[TextureAtlas] refactotring.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4644 96b784f8-4ae3-dd11-aff7-0030488c597c
[TextureAtlas] small refactoring of autoUnwrap.

git-svn-id: https://svn.blender.org/svnroot/bf-extensions/trunk/py/scripts/addons@4645 96b784f8-4ae3-dd11-aff7-0030488c597c