Well, I wasn't aware of it until now... but :
Let's have 3 files : x.msh, y.dll, z.cfg
if (you specify meshname = x in the z.cfg file,
and that z.cfg file also points to a y.dll module = y,
and in your y.dll you have the line AddMesh = x),
then the x.msh file is loaded 2 times, and there will actually be 2 instances of it inside Orbiter.
Which means that there is twice the poly count, and causes all sort of clipping problems, without speaking of the animations...
I just lost 2 hours trying to figure out why my first animation wasn't displaying correctly (it was working, but once the moving parts (cargo doors) opened, I was seeing the 2nd mesh inside, instead of the expected cargo bay !). :facepalm:
Let's have 3 files : x.msh, y.dll, z.cfg
if (you specify meshname = x in the z.cfg file,
and that z.cfg file also points to a y.dll module = y,
and in your y.dll you have the line AddMesh = x),
then the x.msh file is loaded 2 times, and there will actually be 2 instances of it inside Orbiter.
Which means that there is twice the poly count, and causes all sort of clipping problems, without speaking of the animations...
I just lost 2 hours trying to figure out why my first animation wasn't displaying correctly (it was working, but once the moving parts (cargo doors) opened, I was seeing the 2nd mesh inside, instead of the expected cargo bay !). :facepalm: