OpenNaja / cobra-tools

A suite of GUI tools for extracting and modifying OVL and OVS archives, as well as editing the associated in-house file formats. Also includes a model plugin for Blender. For downloads, guides, and FAQs visit:
https://opennaja.github.io/cobra-tools/
GNU General Public License v3.0
98 stars 28 forks source link

Defaults with optional read/write #233

Closed hexabits closed 2 years ago

hexabits commented 2 years ago

Adds optional attribute when paired with default, it ignores these fields in to_xml and from_xml when the value matches the default.

Adds this data to _get_filtered_attribute_list which the data is then checked in the same condition as the new DO_NOT_SERIALIZE.