Merge branch 'master' of https://github.com/assimp/assimp into implementation_warning_fix
# Conflicts: # code/AMFImporter_Postprocess.cpp # code/FBXConverter.cpp # code/IFCLoader.cpp # code/NDOLoader.cpp # code/glTFAsset.inl
This commit is contained in:
@@ -1058,8 +1058,6 @@ void LWOImporter::LoadLWO2VertexMap(unsigned int length, bool perPoly)
|
||||
LWO::PointList& pointList = mCurLayer->mTempPoints;
|
||||
LWO::ReferrerList& refList = mCurLayer->mPointReferrers;
|
||||
|
||||
float temp[4];
|
||||
|
||||
const unsigned int numPoints = (unsigned int)pointList.size();
|
||||
const unsigned int numFaces = (unsigned int)list.size();
|
||||
|
||||
@@ -1123,10 +1121,12 @@ void LWOImporter::LoadLWO2VertexMap(unsigned int length, bool perPoly)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
std::unique_ptr<float[]> temp(new float[type]);
|
||||
for (unsigned int l = 0; l < type;++l)
|
||||
temp[l] = GetF4();
|
||||
|
||||
DoRecursiveVMAPAssignment(base,type,idx, temp);
|
||||
DoRecursiveVMAPAssignment(base,type,idx, temp.get());
|
||||
mFileBuffer += diff;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user