fix the multimesh bug also in the other Open function
This commit is contained in:
parent
f1dc38a271
commit
9bc7cd795f
|
@ -89,6 +89,7 @@ public:
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
geomsh[ii] = geolib->GetEntity(ii)->GetMesh();
|
geomsh[ii] = geolib->GetEntity(ii)->GetMesh();
|
||||||
|
unsigned int offset = m.vert.size();
|
||||||
if (geomsh[ii]->GetFaceCount() > 0)
|
if (geomsh[ii]->GetFaceCount() > 0)
|
||||||
{
|
{
|
||||||
geomsh[ii]->Triangulate();
|
geomsh[ii]->Triangulate();
|
||||||
|
@ -150,7 +151,6 @@ public:
|
||||||
FCDGeometryPolygonsInputList tet;
|
FCDGeometryPolygonsInputList tet;
|
||||||
tmp->GetPolygons(pset)->FindInputs(FUDaeGeometryInput::TEXCOORD,tet);
|
tmp->GetPolygons(pset)->FindInputs(FUDaeGeometryInput::TEXCOORD,tet);
|
||||||
|
|
||||||
unsigned int offset = m.face.size();
|
|
||||||
|
|
||||||
for(unsigned int ind = 0;ind < pos->indices.size();++ind)
|
for(unsigned int ind = 0;ind < pos->indices.size();++ind)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue