mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-19 19:14:42 +00:00
- added support for mesh with double precision attributes
- removed some warnings
This commit is contained in:
parent
db7ea0cf7c
commit
cb606bee58
@ -240,7 +240,7 @@ public:
|
||||
{
|
||||
QString fullPath = md.meshList[i]->fullName();
|
||||
md.setBusy(true);
|
||||
vcg::Matrix44f trm = md.meshList[i]->cm.Tr; // save the matrix, because loadMeshClear it...
|
||||
Matrix44m trm = md.meshList[i]->cm.Tr; // save the matrix, because loadMeshClear it...
|
||||
if (!importMesh(*md.meshList[i],fullPath))
|
||||
{
|
||||
md.delMesh(md.meshList[i]);
|
||||
@ -372,8 +372,8 @@ public:
|
||||
}
|
||||
QGLWidget wid;
|
||||
iFilter->glContext = new QGLContext(QGLFormat::defaultFormat(),wid.context()->device());
|
||||
bool res = iFilter->glContext->create();
|
||||
if (!iFilter->glContext->isValid())
|
||||
bool created = iFilter->glContext->create();
|
||||
if ((!created) || (!iFilter->glContext->isValid()))
|
||||
{
|
||||
fprintf(fp,"A valid GLContext is required by the filter to work.\n");
|
||||
return false;
|
||||
@ -424,8 +424,8 @@ public:
|
||||
}
|
||||
QGLWidget wid;
|
||||
cppfilt->glContext = new QGLContext(QGLFormat::defaultFormat(),wid.context()->device());
|
||||
bool res = cppfilt->glContext->create();
|
||||
if (!cppfilt->glContext->isValid())
|
||||
bool created = cppfilt->glContext->create();
|
||||
if ((!created) || (!cppfilt->glContext->isValid()))
|
||||
{
|
||||
fprintf(fp,"A valid GLContext is required by the filter to work.\n");
|
||||
return false;
|
||||
@ -669,7 +669,6 @@ int main(int argc, char *argv[])
|
||||
i = i + 2;
|
||||
do
|
||||
{
|
||||
char tt = argv[i][0];
|
||||
switch (argv[i][0])
|
||||
{
|
||||
case commandline::vertex :
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user