Changed: #878 Fix typos in comments/code

This commit is contained in:
kervala 2010-11-03 13:44:27 +01:00
parent 33b32e9efb
commit d3a9566b26
4 changed files with 16 additions and 18 deletions

View file

@ -1,2 +1,2 @@
EXPORTS NL3D_createIDriverInstance
EXPORTS NL3D_interfaceVersion
EXPORTS NL3D_interfaceVersion

View file

@ -743,9 +743,8 @@ void CDriverGLStates::enableVertexArray(bool enable)
glEnableClientState(GL_VERTEX_ARRAY);
else
glDisableClientState(GL_VERTEX_ARRAY);
_VertexArrayEnabled= enable;
}
}
// ***************************************************************************

View file

@ -1016,7 +1016,6 @@ void CDriverGL::toggleGlArraysForNVVertexProgram()
_DriverGLStates.enableTexCoordArray(false);
}
// now, vertex program setup.
_LastSetupGLArrayVertexProgram= true;
}
@ -1080,6 +1079,7 @@ void CDriverGL::toggleGlArraysForARBVertexProgram()
_DriverGLStates.clientActiveTextureARB(i);
_DriverGLStates.enableTexCoordArray(false);
}
// now, vertex program setup.
_LastSetupGLArrayVertexProgram= true;
}
@ -1129,7 +1129,6 @@ void CDriverGL::toggleGlArraysForEXTVertexShader()
_DriverGLStates.enableTexCoordArray(false);
}
// now, vertex program setup.
_LastSetupGLArrayVertexProgram= true;
}

View file

@ -223,13 +223,13 @@ namespace NLQT
// Get the left view
//CView* pView = getLeftView ();
}
}
catch (Exception &e)
}
catch (Exception &e)
{
nlerror("Error while loading file: %s", e.what());
}
}
else
}
else
{ //if (!file.open())
nlerror("Can't open the file %s for writing.", s);
}
@ -237,7 +237,7 @@ namespace NLQT
void CGeorgesTreeViewDialog::doubleClicked ( const QModelIndex & index )
{
if (index.column() == 1)
if (index.column() == 1)
return;
CFormItem *item = static_cast<CFormItem*>(index.internalPointer());
@ -247,7 +247,7 @@ namespace NLQT
if (!path.isEmpty() && !path.contains(".shape"))
Q_EMIT changeFile(path);
if (path.contains(".shape"))
if (path.contains(".shape"))
{
Modules::objView().resetScene();
Modules::config().configRemapExtensions();
@ -258,22 +258,22 @@ namespace NLQT
void CGeorgesTreeViewDialog::closeEvent(QCloseEvent *event)
{
if (Modules::mainWin().getEmptyView() == this)
if (Modules::mainWin().getEmptyView() == this)
{
event->ignore();
}
else
}
else
{
Modules::mainWin().getTreeViewList().removeOne(this);
if(!Modules::mainWin().getTreeViewList().size())
if(!Modules::mainWin().getTreeViewList().size())
{
Modules::mainWin().createEmptyView();
}
deleteLater();
}
}
}
void CGeorgesTreeViewDialog::showParentRows(int newState)
void CGeorgesTreeViewDialog::showParentRows(int newState)
{
CGeorgesFormProxyModel * mp = dynamic_cast<CGeorgesFormProxyModel *>(_ui.treeView->model());
CGeorgesFormModel *m = dynamic_cast<CGeorgesFormModel *>(mp->sourceModel());
@ -313,4 +313,4 @@ namespace NLQT
}
}
} /* namespace NLQT */
} /* namespace NLQT */