Again and Again and Again still cleaning up bugs in the split window managements

This commit is contained in:
Paolo Cignoni cignoni 2011-02-16 15:14:47 +00:00
parent ad0e464924
commit 194c19b23e
2 changed files with 2 additions and 4 deletions

View File

@ -342,9 +342,7 @@ void GLArea::paintEvent(QPaintEvent */*event*/)
mp->glw.SetHintParamf(GLW::HNPPointSize,glas.pointSize);
mp->glw.SetHintParami(GLW::HNPPointDistanceAttenuation,glas.pointDistanceAttenuation?1:0);
mp->glw.SetHintParami(GLW::HNPPointSmooth,glas.pointSmooth?1:0);
//if(meshVisibilityMap[mp->id()]) mp->Render(rm.drawMode,rm.colorMode,rm.textureMode);
mp->Render(rm.drawMode,rm.colorMode,rm.textureMode);
qDebug("Meshlistsize %i id %i",this->md()->meshList.size(),this->id);
if(meshVisibilityMap[mp->id()]) mp->Render(rm.drawMode,rm.colorMode,rm.textureMode);
}
}
if(iEdit) iEdit->Decorate(*mm(),this,&painter);

View File

@ -1440,7 +1440,7 @@ bool MainWindow::openProject(QString fileName)
meshDoc()->setBusy(false);
if(this->GLA() == 0) return false;
this->GLA()->resetTrackBall();
this->currentViewContainer()->resetAllTrackBall();
qb->reset();
saveRecentProjectList(fileName);
return true;