style cleanup
This commit is contained in:
@@ -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; }
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user