Page MenuHome

Fix T104044: keep order of UVMaps on load
ClosedPublic

Authored by Martijn Versteegh (Baardaap) on Tue, Jan 24, 11:18 AM.

Details

Summary

Use a Vector<std::string> , instead of a Set<std::string> as a Set does
not keep the same order when iterating over it.

Diff Detail

Repository
rB Blender

Event Timeline

I can't see context, but if really important to find strings by hash in container and save order of appending, so you can also look at VectorSet

I can't see context, but if really important to find strings by hash in container and save order of appending, so you can also look at VectorSet

I think a Set was the wrong choice anyway. A Set is useful for quick lookup I think, but I just need to iterate over it.

This revision is now accepted and ready to land.Tue, Jan 24, 4:14 PM