Baezon / pof-tools

Program for manipulating the Freespace model format .pof
3 stars 8 forks source link

Proper pof import #148

Closed Baezon closed 1 year ago

Baezon commented 1 year ago

Finally, a proper unified dialog for importing bits of another model into the currently opened model. Sadly this requires some manual manipulation of parents and children so they couldn't stay totally private and go through their getters and setters anymore.

digama0 commented 1 year ago

I applied a change that was a bit too big for a github suggestion, but consider it as such. The logic for the merging can be split approximately in half, with the parent/child manipulation moving to the pof crate so that those fields can stay pub(crate).