diff options
author | Kent Mein <mein@cs.umn.edu> | 2002-12-20 05:08:46 +0300 |
---|---|---|
committer | Kent Mein <mein@cs.umn.edu> | 2002-12-20 05:08:46 +0300 |
commit | e49aeb84688180b3f9ef2c831ac509d8475ab3fe (patch) | |
tree | 9d408a2c2569bb88420ce8b3ebcdfa80d21ea7e8 /source/blender/bpython | |
parent | cf13c60fa4b8cbeadd557eba6cf2d687768ba537 (diff) |
In stubs.c I added a dummy return to functions that were non void types.
in readfile.c I renamed some localvars that were named main to mainl in
a couple of functions.
in action.c I initalized a var to 0. This is probably not needed but
its a little safer incase someone adds more modes...
I've included a diff of this last one below.
Kent
Index: action.c
===================================================================
RCS file: /cvs01/blender/source/blender/blenkernel/intern/action.c,v
retrieving revision 1.6
diff -u -r1.6 action.c
--- action.c 2002/11/25 12:01:52 1.6
+++ action.c 2002/12/20 02:06:27
@@ -153,7 +153,7 @@
){
bConstraint *dcon;
const bConstraint *scon;
- float dstweight;
+ float dstweight = 0;
switch (mode){
case POSE_BLEND:
Diffstat (limited to 'source/blender/bpython')
-rw-r--r-- | source/blender/bpython/intern/opy_nmesh.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/bpython/intern/opy_nmesh.c b/source/blender/bpython/intern/opy_nmesh.c index 6d1cbc2ecd8..46680278896 100644 --- a/source/blender/bpython/intern/opy_nmesh.c +++ b/source/blender/bpython/intern/opy_nmesh.c @@ -1352,7 +1352,6 @@ static int check_validFaceUV(NMesh *nmesh) faces = nmesh->faces; for (i = 0; i < PySequence_Length(faces); i++) { nmface = (NMFace *) PyList_GetItem(faces, i); - n = n = PySequence_Length(nmface->uv); if (n != PySequence_Length(nmface->v)) { |