Code style changes
Unwrapping an 'if' clause to avoid unnecessary overhead on the texture atlas image generation