Skip to content

Ensure .map saving happens before swizzle alteration. #177

@Sebanisu

Description

@Sebanisu

I think we want this so so if we have any ops that modify the map they aren't tainted by swizzle_as_one_image. Though we currently don't.

     if (
       selections->get<ConfigKey::BatchOutputType>()
       == output_types::swizzle_as_one_image)
     {
          save_map();
          compact();
          flatten();
          save_textures();
     }
     else
     {
          compact();
          flatten();
          save_textures();
          save_map();
     }

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions