View Full Version : An error in API import
There is a new error in the API import which throws an exception and then hangs the program.
I have attached two APIs that trigger this error.
I'll take a look at this. Might be related to the big changes I made to the texture system, but I'll see...
I have found it, it is fixed in the next development release.
Thank you, Arno. The crash bug is fixed. :)
But now the Arrestor Cable macro does not show the cables any more when placed in the sim. You can see them in MCX, though. Could you have another look maybe?
OK, will do that later today.
I exported them to FSX and here they show fine. Are you also exporting to FSX or to FS2004?
OK, let me check that as well.
I can confirm that it works perfect in FSX and is only a problem with FS9, Arno
I notice in MCX that if I increase the radius for extrusion (the cables are lines in the API) that they do show up. Can you test if they show in FS2004 as well with a bigger radius? The default is 0.1.
I am quite sure that is the issue. The API has a default scale of 0.01, by default that is applied as well. So the cables extruded with a radius of 0.1 then only become 1 mm in radius. That is lower than the minimum distance MakeMDL can handle and that is why they do not appear.
So for this object I would suggest that you increase the radius (or not apply the default scale).
No matter how I scale it in FS9 the cables stay invisible.
... (or not apply the default scale)....
You mean in MCX? How would I do that? :confused:
OK, I found the option and retest...
Yes, I mean in MCX. MakeMDL does not compile them correctly due to the small size.
In the importer options you have an option to "Apply default scale" and another one for "Line extrude radius". I would try to increase the value of the last one, till you think the cables look OK in the preview. And then export again.
That did the trick, Arno :)
vBulletin® v3.8.3, Copyright ©2000-2013, Jelsoft Enterprises Ltd.