Code: Select all
BinFilter bin;
BinFilter::LoadParameters lp;
lp.alwaysDisplayLoadDialog = false;
CC_FILE_ERROR error = bin.loadFile(filename, *obj, lp);
the result I got is the program crash.
How to fix this problem? ( also in StlFilter or PlyFilter )