style cleanup

This commit is contained in:
2013-04-18 01:52:38 +00:00
parent 9cceec40c4
commit 3f7f07faf5
15 changed files with 31 additions and 31 deletions

View File

@@ -61,9 +61,9 @@ public:
virtual CValue* GetReplica();
virtual void ProcessReplica();
void SetBlendTime (float newtime);
void SetLocalTime (float curtime);
void ResetStartTime (float curtime);
void SetBlendTime(float newtime);
void SetLocalTime(float curtime);
void ResetStartTime(float curtime);
bAction* GetAction() { return m_action; }
void SetAction(bAction* act) { m_action= act; }

View File

@@ -542,7 +542,7 @@ CExpression *CParser::Ex(int i)
errmsg=NULL;
} else {
// does this happen ?
MT_assert ("does this happen");
MT_assert("does this happen");
}
}
e1 = Error(errtext);

View File

@@ -328,13 +328,13 @@ bool RAS_OpenGLRasterizer::BeginFrame(int drawingmode, double time)
// Blender camera routine destroys the settings
if (m_drawingmode < KX_SOLID)
{
glDisable (GL_CULL_FACE);
glDisable (GL_DEPTH_TEST);
glDisable(GL_CULL_FACE);
glDisable(GL_DEPTH_TEST);
}
else
{
glEnable(GL_DEPTH_TEST);
glEnable (GL_CULL_FACE);
glEnable(GL_CULL_FACE);
}
glDisable(GL_BLEND);

View File

@@ -381,7 +381,7 @@ static PyObject *Texture_refresh(Texture *self, PyObject *args)
texture = self->m_scaledImg;
}
// load texture for rendering
loadTexture (self->m_actTex, texture, size, self->m_mipmap);
loadTexture(self->m_actTex, texture, size, self->m_mipmap);
// refresh texture source, if required
if (refreshSource) self->m_source->m_image->refresh();