need to pass char as variable, not as argument (vc8 crashes)
This commit is contained in:
@@ -100,10 +100,14 @@ FUStatus FCDGeometry::LoadFromXML(xmlNode* geometryNode)
|
|||||||
// Create a new mesh
|
// Create a new mesh
|
||||||
FCDGeometryMesh* m = CreateMesh();
|
FCDGeometryMesh* m = CreateMesh();
|
||||||
m->m_convex = true;
|
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())
|
if (!url.prefix.empty())
|
||||||
{
|
{
|
||||||
|
|
||||||
FCDGeometry* entity = GetDocument()->FindGeometry(url.prefix);
|
FCDGeometry* entity = GetDocument()->FindGeometry(url.prefix);
|
||||||
if (entity)
|
if (entity)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user