mirror of
https://github.com/bulletphysics/bullet3
synced 2025-01-18 21:10:05 +00:00
need to pass char as variable, not as argument (vc8 crashes)
This commit is contained in:
parent
b5d0520c58
commit
ca2e2a5950
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user