mgear-dev / mgear4

mGear v.4.x.x (python 3 ready) https://mgear4.readthedocs.io
MIT License
259 stars 91 forks source link

Adding support for namespaces and clashing names in skin io #223

Open CatAndDogSoup opened 1 year ago

CatAndDogSoup commented 1 year ago

( as a possible fix for https://github.com/mgear-dev/mgear4/issues/172)

Adds a function to handle namespaces ( : ) and clashing names using full names ( | ) by replacing those characters with ones that Windows supports by default. This is a bit of a gross approach, and maybe using a directory structure to handle it would be better, but this is an approach we're using and fixes all our name clash issues

miquelcampos commented 1 year ago

Thanks for the PR @CatAndDogSoup I will check it ASAP

miquelcampos commented 1 year ago

@CatAndDogSoup do you know if this approach is only working on windows? have you tried it with Mac or Linux?