mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-18 02:24:38 +00:00
fixed bug where the code used the old open function prototype in the MeshIOInterface
This commit is contained in:
parent
1092653a53
commit
4eaa6c3284
@ -142,7 +142,11 @@ bool Open(MeshModel &mm, QString fileName)
|
||||
MeshIOInterface* pCurrentIOPlugin = meshIOPlugins[idx-1];
|
||||
|
||||
int mask = 0;
|
||||
if (!pCurrentIOPlugin->open(extension, fileName, mm ,mask,0,0/*gla*/))
|
||||
|
||||
FilterParameterSet prePar;
|
||||
pCurrentIOPlugin->initPreOpenParameter(extension, fileName,prePar);
|
||||
|
||||
if (!pCurrentIOPlugin->open(extension, fileName, mm ,mask,prePar))
|
||||
{
|
||||
printf("Failed loading\n");
|
||||
return false;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user