Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorKent Mein <mein@cs.umn.edu>2005-10-04 00:24:10 +0400
committerKent Mein <mein@cs.umn.edu>2005-10-04 00:24:10 +0400
commitbfea10e65979ab6c45d1401b018de88167f144c1 (patch)
tree4a775647cdec8aefa2565eea5dbc9661483b66fa /source
parent3a8d10a713343543ea389e266c4774be9446891a (diff)
Small code cleanups by Stephane SOPPER...
remove extra ; and move a variable declaration to top of function. Kent
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenkernel/intern/displist.c2
-rw-r--r--source/blender/python/api2_2x/Mesh.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/intern/displist.c b/source/blender/blenkernel/intern/displist.c
index c8dc2c63086..d0d679bfbf7 100644
--- a/source/blender/blenkernel/intern/displist.c
+++ b/source/blender/blenkernel/intern/displist.c
@@ -1598,7 +1598,7 @@ void makeDispListCurveTypes(Object *ob, int forOrco)
makeDispListSurf(ob, dispbase, 0);
}
else if ELEM(ob->type, OB_CURVE, OB_FONT) {
- ListBase dlbev;;
+ ListBase dlbev;
float (*originalVerts)[3];
float (*deformedVerts)[3];
int obedit= (G.obedit && G.obedit->data==ob->data);
diff --git a/source/blender/python/api2_2x/Mesh.c b/source/blender/python/api2_2x/Mesh.c
index 15f46751de0..08df1b32b8e 100644
--- a/source/blender/python/api2_2x/Mesh.c
+++ b/source/blender/python/api2_2x/Mesh.c
@@ -2873,11 +2873,11 @@ static PyObject *Mesh_calcNormals( BPy_Mesh * self )
static PyObject *Mesh_vertexShade( BPy_Mesh * self )
{
+ Base *base = FIRSTBASE;
if( G.obedit )
return EXPP_ReturnPyObjError(PyExc_RuntimeError,
"can't shade vertices while in edit mode" );
- Base *base = FIRSTBASE;
while( base ) {
if( base->object->type == OB_MESH &&
base->object->data == self->mesh ) {