Fixed: Compilation with 3dsmax 2017 SDK

--HG--
branch : develop
This commit is contained in:
kervala 2016-12-10 19:05:05 +01:00
parent dbf443beb7
commit 829092aa8c

View file

@ -1975,7 +1975,7 @@ IOResult RPatchMesh::Load(ILoad *iload)
for (i=0; i<nSize; i++) for (i=0; i<nSize; i++)
{ {
bool bBinded; bool bBinded;
typeBind nType; uint /* typeBind */ nType;
uint nEdge; uint nEdge;
uint nPatch; uint nPatch;
uint nBefore; uint nBefore;
@ -2116,7 +2116,7 @@ IOResult RPatchMesh::Save(ISave *isave)
uint nAfter=getUIVertex (i).Binding.nAfter; uint nAfter=getUIVertex (i).Binding.nAfter;
uint nAfter2=getUIVertex (i).Binding.nAfter2; uint nAfter2=getUIVertex (i).Binding.nAfter2;
uint nT=getUIVertex (i).Binding.nT; uint nT=getUIVertex (i).Binding.nT;
typeBind nType=(typeBind)getUIVertex (i).Binding.nType; uint /* typeBind */ nType=(uint /* typeBind */)getUIVertex (i).Binding.nType;
uint nPrimVert=getUIVertex (i).Binding.nPrimVert; uint nPrimVert=getUIVertex (i).Binding.nPrimVert;
isave->Write(&bBinded, sizeof (bool), &nb); isave->Write(&bBinded, sizeof (bool), &nb);