loot / libloot

A C++ library for accessing LOOT's metadata and sorting functionality.
GNU General Public License v3.0
32 stars 12 forks source link

Plugin metadata merging discards unequal metadata #65

Closed Ortham closed 4 years ago

Ortham commented 4 years ago

If there is an after entry naming X.esp that is conditional on Y.esp being present and another that naming X.esp that is conditional on Z.esp being present, only one will be preserved (though for sorting most masterlist and userlist metadata is kept separate).

This is due to the equality / ordering operator implementations on the metadata data types, so change them to compare all fields.

The full set of operators should also be implemented, as currently most metadata types only have < and == implemented. The others can be implemented in terms of those, so they should be provided for completeness.

Ortham commented 4 years ago

Fixed in 15076a6d26a2f1bc74550695741e4574e6292da2.