need to pass char as variable, not as argument (vc8 crashes)

This commit is contained in:
ejcoumans 2006-06-01 04:10:29 +00:00
parent b5d0520c58
commit ca2e2a5950

View File

@ -100,10 +100,14 @@ FUStatus FCDGeometry::LoadFromXML(xmlNode* geometryNode)
// Create a new mesh
FCDGeometryMesh* m = CreateMesh();
m->m_convex = true;
FUUri url = ReadNodeUrl(child,"convex_hull_of");
FUUri url;
char hullname[] = "convex_hull_of";
url = ReadNodeUrl(child,hullname);
if (!url.prefix.empty())
{
FCDGeometry* entity = GetDocument()->FindGeometry(url.prefix);
if (entity)
{