I have probably done a poor job of explaining what I am seeing. I think I worded it wrong. I will give you a brief synopsis of what I am doing. I am taking a scene and splitting it into high resolution files and low resolution files. So basically, I am manually traversing the scene graph and looking at LODs to determine what parts of the scene graph belongs in what file. I got to this odd 4097 code and it threw me for a loop. To get from x1 to x2 I am doing this:
mgrec * x2 = mgGetNext(x1);
cout<<mgGetCode(x2)<<endl;
cout<<mgGetName(x2)<<endl;
Line 2 prints:
4097
Line 3 causes the program to crash.
If you look at the attached image you will see the node I refered to as “x1” highlighted in red. Bc it is a regular xref I was able to change the name of the file it refers to from:
road_light1.flt
to
high_road_light1.flt
The problem is that the sibling nodes are all code 4097.