cf13c60fa4
Two more variables that were not initalized.
...
cvs diff included below.
Kent
--
mein@cs.umn.edu
Index: png_encode.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/png_encode.c,v
retrieving revision 1.3
diff -u -r1.3 png_encode.c
--- png_encode.c 2002/11/25 12:02:00 1.3
+++ png_encode.c 2002/12/20 01:28:18
@@ -91,7 +91,7 @@
unsigned char *pixels = 0;
unsigned char *from, *to;
png_bytepp row_pointers = 0;
- int i, bytesperpixel, color_type;
+ int i, bytesperpixel, color_type = PNG_COLOR_TYPE_GRAY;
FILE *fp = 0;
Index: targa.c
===================================================================
RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v
retrieving revision 1.3
diff -u -r1.3 targa.c
--- targa.c 2002/11/25 12:02:00 1.3
+++ targa.c 2002/12/20 01:28:20
@@ -247,7 +247,7 @@
char buf[20];
FILE *fildes;
int i;
- short ok;
+ short ok = 0;
2002-12-20 01:29:14 +00:00
14819414e9
Ok since no one cares about this I put a 5 second fix on it and won't
...
worry about it anymore :)
(initalized it to 0 and then later return 0 if its still 0 before doing
the work)
Kent
--
mein@cs.umn.edu
2002-12-20 01:14:46 +00:00
734e358eb4
Fixed two uninitalized vars:
...
Kent
/cvs01/blender/source/blender/imbuf/intern/iris.c,v
retrieving revision 1.3
diff -u -r1.3 iris.c
--- iris.c 2002/11/25 12:02:00 1.3
+++ iris.c 2002/12/19 22:12:53
@@ -212,7 +212,7 @@
/* unsigned int *tab; */
/* int len; */
{
- int r;
+ int r = 0;
while(len) {
r = putlong(outf,*tab++);
@@ -548,7 +548,7 @@
{
FILE *outf;
IMAGE *image;
- int tablen, y, z, pos, len;
+ int tablen, y, z, pos, len = 0;
int *starttab, *lengthtab;
unsigned char *rlebuf;
2002-12-19 22:13:37 +00:00
f8ef881474
I initalized mask to 0 in IMB_converttocmap
...
This may not be correct but at least now its predictable.
Kent
2002-12-19 21:26:34 +00:00
a64f137a37
Had to add a function (BPY_call_importloader) and a variable (bprogname)
...
to the stubs to get the player linking with Project Builder under OSX.
Maarten
2002-12-12 22:18:25 +00:00
87e588d4c9
compile and run source/blender/makesdna/intern/makesdna to (re)create
...
source/blender/makesdna/intern/dna.c
This should fix the segfault at startup for non-x86 systems (tested on
linux/ppc and linux/x86). I would be glad if someone could check
if it works on other systems as well.
sgefant
2002-12-10 23:55:59 +00:00
2494b7c9cc
don't crash when adding a UVsphere (Hos, heli)
...
sgefant
2002-12-07 20:57:50 +00:00
cd4a60f536
sgefants patch to remove the License Key stuff.
...
(I noticed its not completely gone yet from the blender/source dir)
But its a big step in the right direction if it doesn't enable
all of the functionatlity already...
(Using cscope for LICENSE_KEY_VALID still turns up some stuff)
Kent
--
mein@cs.umn.edu
2002-12-06 19:48:37 +00:00
fd05cdbaad
Ok this should have probably been three seperate things but I figured
...
some people are getting sick of the email and the comments are small.
editmesh.c I added casts in a couple of places to remove a few warnings.
Then I cleaned up configure.ac a bit specifically the checks for
--with-ssl etc... so they work a little nicer.
I also modified source/Makefile.am to add targets for the player
Still needs some work I'm sure but its a start.
Kent
--
mein@cs.umn.edu
2002-12-03 18:31:50 +00:00
4950e0e74b
wrapped S_ISREG and S_ISDIR with a define to suppress compiler
...
complaints about redefinitions. These occur now that Python 2.2 is included.
2002-12-01 22:41:22 +00:00
0bc5f2fa3f
Changed "www.blender.nl" to "www.blender.org" for that little display
...
thingy in the upper right corner.
-Fred <phaethon>
2002-12-01 10:52:01 +00:00
07049dda83
Somehow the img directory got lost from the list of include paths
...
Maarten
2002-11-29 20:51:40 +00:00
651fa32eaa
Bunch of small fixes emailed to me from phaethon
...
Kent
--
mein@cs.umn.edu
2002-11-29 17:07:58 +00:00
3fe6959360
I know this is a bugfix but hey its simple :)
...
More info on it can be found here:
http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=176
Kent
--
mein@cs.umn.edu
2002-11-27 17:09:40 +00:00
209a2ede2c
Last of the config.h mods...
...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
added to these files.
Kent
--
mein@cs.umn.edu
2002-11-25 15:29:57 +00:00
d0e346d544
updated .c files to include:
...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Just need to finish cpp files now :)
Kent
--
mein@cs.umn.edu
2002-11-25 12:02:15 +00:00
b9a19f1ea7
Did all of the .h's in source
...
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac
Kent
--
mein@cs.umn.edu
2002-11-25 11:16:17 +00:00
3f2f1571e5
added the following to configure.ac
...
+case "$target" in
+ *sparc* )
+ AC_DEFINE(SUN_OGL_NO_VERTEX_MACROS,1,[Fix for Sun's GL])
+ ;;
+esac
+
Also added the include to the above .c files.
I'm going to add it to everything in source just haven't gotten that far yet.
Kent
2002-11-25 10:13:52 +00:00
d44f2c6dcc
Robert Wenzlaff's fix for AVI_JPEGS.
...
Kent
--
mein@cs.umn.edu
2002-11-22 15:59:38 +00:00
b4c622d4ba
bug fix in vrml (inventor) import.
...
Maarten
2002-11-12 20:12:40 +00:00
a65506a3b5
Fixed action.c (brought it back to 1.2)
...
Kent
--
mein@cs.umn.edu
2002-11-11 14:46:27 +00:00
50aabf8599
switched the order of build (frozen and intern are now intern and frozen)
...
that way the lib gets installed before the dir didn't exist so it
died.
Kent
--
mein@cs.umn.edu
2002-11-08 11:36:37 +00:00
e46a6d2611
I autmated the rest of building libfrozen.a
...
I also moved it so that it gets put in:
$(OCGDIR)/blender/bpython/$(DEBUG_DIR)libfrozen.a
and removed the stuff from the readme on how to do it by hand.
(I made one other small change and that was to comment
out the ssr target on solaris and freebsd in source/Makefile
I forgot to commit it yesterday)
Kent
--
mein@cs.umn.edu
2002-11-07 17:47:15 +00:00
0bca792880
again changing // to /* */ so that sun's compiler doesn't fail.
...
(note these are all in source/blender/verify)
Sorry about not putting the full path in on the last two,
I just noticed it doesn't do that unless your in the root dir.
mein@cs.umn.edu
2002-10-30 21:51:56 +00:00
59e07ab2a5
Fixed // comments and converted them to /* */ (used by a c file)
2002-10-30 21:40:36 +00:00
01bff70383
fixed spacing in the headers to get rid of some warnings and some other
...
little minor spacing issues.
2002-10-30 02:07:20 +00:00
f6c7a89357
some small optimizations
2002-10-30 00:37:19 +00:00
df6b70a9ca
removed some unused variables
2002-10-30 00:27:48 +00:00
ca3392a310
Took out "" verses <> and just left <> for includes.
...
It works just fine on every system I could try it on.
2002-10-30 00:08:59 +00:00
8eefe2a9e5
Filled out the spacebar menu a little and removed dummy
...
function which isn't used anywhere:
2002-10-30 00:05:50 +00:00
d063311b08
Fixed defined __sparc to also check for __sparc__ (thanks to Ferris)
2002-10-29 21:55:52 +00:00
Norman Lin
1b15961786
First checkin of core ODE functionality. See OdePhysicsController.cpp for a todo list.
2002-10-18 14:36:34 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00