[TextureAtlas] Many fixes:
- if polygons are hidde
- If Object is non selectable
- if object is hidden

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