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
AgeCommit message (Collapse)Author
2002-12-26WooHoo me again ;)Kent Mein
I took out the following from the includes in the intern dir that still had it: -#ifdef HAVE_CONFIG_H -#include <config.h> -#endif Kent -- mein@cs.umn.edu
2002-12-26Sorry, Kent the indexing changes to this file turn out to be brokenChris Want
too -- a user reported crashing while using decimation and rolling back the modifications between rev 1.2 and rev 1.3 for this file fixed it. Regards, Chris
2002-12-25Some changes made to the bsp code in early NovemberChris Want
(to stop gcc compiler warnings) caused segfaults when performing intersections (and possibly while doing other boolean operations). I felt it was best to revert these changes (I also got rid of the DOS line terminators in the files). Some more info about the matter can be found in the first 10 or so posts for Novembor on the old mailing list: http://www.soze.com/mailman/private/bf-committers/2002-November/date.html Chris (Merry Christmas!)
2002-12-24Added ode physics to blender and player targets.Maarten Gribnau
ActiveX control still has a linkigng problem. Maarten
2002-12-23Updated README with directions for Windows.Maarten Gribnau
Maarten
2002-12-23Removed fixed path for Python excutable.Maarten Gribnau
The README will explain how to set an option in MSVC to make it find python. Maarten
2002-12-23Fixed ode link path.Maarten Gribnau
Maarten
2002-12-23Fixed ActiveX control libraries and library paths.Maarten Gribnau
Removed abundant frozen python files. Maarten
2002-12-23Disabled player's check for Publisher file for input.Maarten Gribnau
Maarten
2002-12-23Fixed binary files stored as text files for plug-insMaarten Gribnau
Maarten
2002-12-22fixed a *really* minor bug where tooltips were not resetting if nextSimon Clitherow
call to add_numbut() asks for a NULL tooltip. --aphex ============================================================ RCS file: /cvs01/blender/source/blender/src/toolbox.c,v retrieving revision 1.4 diff -r1.4 toolbox.c 1356c1356,1360 < if(tip) strcpy(numbuts[nr].tip, tip); --- > if(tip) > strcpy(numbuts[nr].tip, tip); > else > strcpy(numbuts[nr].tip, ""); >
2002-12-22Rewired python for OSX. The Project Builder project now uses the Python thatMaarten Gribnau
comes with OSX in /usr/local. Removed some frozen python files that were not generated by the freeze script. mxTextTools is still disabled because of a link error. Maarten
2002-12-22Rewired python for OSX. The Makefiles now use the Python that comes with OSXMaarten Gribnau
in /usr/local. mxTextTools is still disabled because of a link error. Maarten
2002-12-21added the DELKEY stuff...Kent Mein
else if(dev==DELKEY) { if(but->pos>=0 && but->pos<strlen(str)) { for(x=but->pos; x<=strlen(str); x++) str[x]= str[x+1]; str[--len]='\0'; dodraw= 1; } } Kent
2002-12-21Fix so that rgba targa files view correctly in gimp:Kent Mein
Submitted to bf-committers by Chris Want Kent Index: targa.c =================================================================== RCS file: /cvs01/blender/source/blender/imbuf/intern/targa.c,v retrieving revision 1.4 diff -u -r1.4 targa.c --- targa.c 2002/12/20 01:29:14 1.4 +++ targa.c 2002/12/21 09:50:24 @@ -289,6 +289,12 @@ if (flags & IB_ttob) buf[17] ^= 0x20; + /* Don't forget to indicate that your 32 bit + * targa uses 8 bits for the alpha channel! */ + if (ibuf->depth==32) { + buf[17] |= 0x08; + } + if (write(file, buf, 18) != 18) return (0); if (ibuf->cmap){ for (i = 0 ; i<ibuf->maxcol ; i++){
2002-12-20This is sort of a two parter from the mailling list but really its theKent Mein
same thing: Added the xpcom include and added a flag to use mozilla vs netscape. Which basically adds some ifdefs to _Blender3DPlugin_implementation_.cpp Basically I modified the nan_definitions.mk in the following way (You'll need to update yours don't forget) ;) Also updated the makefiles to use the new vars and flushed them out so they first include whatever nspr is set to and then look in NAN_MOZILLA_INC I wasn't sure what the NAN_MOZILLA_INC and _LIB defaults should be since were assuming they point to a netscape dir by default (or maybe old mozilla???) maybe they should be export NAN_MOZILLA_INC ?= $(LCGDIR)/netscape/include export NAN_MOZILLA_LIB ?= $(LCGDIR)/netscape/lib/ instead... Anyone have any opinions on the defaults? Kent -- mein@cs.umn.edu Index: nan_definitions.mk =================================================================== RCS file: /cvs01/blender/source/nan_definitions.mk,v retrieving revision 1.8 diff -u -r1.8 nan_definitions.mk --- nan_definitions.mk 2002/12/19 21:12:58 1.8 +++ nan_definitions.mk 2002/12/20 19:28:51 @@ -75,7 +75,13 @@ export NAN_TEST_VERBOSITY ?= 1 export NAN_ZLIB ?= $(LCGDIR)/zlib export NAN_BMFONT ?= $(LCGDIR)/bmfont - export NAN_MOZILLA ?= $(LCGDIR)/mozilla + # Uncomment the following line to use Mozilla inplace of netscape + # CPPFLAGS +=-DMOZ_NOT_NET + # Location of MOZILLA/Netscape header files... + export NAN_MOZILLA_INC ?= $(LCGDIR)/mozilla/include + export NAN_MOZILLA_LIB ?= $(LCGDIR)/mozilla/lib/ + # Will fall back to look in NAN_MOZILLA_INC/nspr and NAN_MOZILLA_LIB + # if this is not set. export NAN_NSPR ?= $(LCGDIR)/nspr
2002-12-20Shrunk the hack so it didn't get used in newer versions of OpenAL whichKent Mein
seems to be working. Kent (diff follows) Index: SND_OpenALDevice.cpp =================================================================== RCS file: /cvs01/blender/source/gameengine/SoundSystem/openal/SND_OpenALDevice.cpp,v retrieving revision 1.4 diff -u -r1.4 SND_OpenALDevice.cpp --- SND_OpenALDevice.cpp 2002/11/25 15:29:57 1.4 +++ SND_OpenALDevice.cpp 2002/12/20 19:26:04 @@ -59,7 +59,7 @@ #include <fcntl.h> /* untill openal gets unified we need this hack for non-windows systems */ -#ifndef WIN32 +#if !defined(WIN32) && !defined(ALC_MAJOR_VERSION)
2002-12-20Added a link for where to get glutKent Mein
Kent -- mein@cs.umn.edu
2002-12-20Fixed up the header comment so it didn't produce a warning aboutKent Mein
comment inside of a comment Also removed the config.h thing since this is a .h Hopefully I'll get around to the other .h's soon. Kent -- mein@cs.umn.edu
2002-12-20Back at it ;)Kent Mein
Removed an unused var... Here is the cvs diff. Kent Index: bsp/intern/BSP_CSGUserData.cpp =================================================================== RCS file: /cvs01/blender/intern/bsp/intern/BSP_CSGUserData.cpp,v retrieving revision 1.4 diff -u -r1.4 BSP_CSGUserData.cpp --- BSP_CSGUserData.cpp 2002/11/25 09:52:48 1.4 +++ BSP_CSGUserData.cpp 2002/12/20 09:37:58 @@ -79,7 +79,6 @@ int record_index ){ if (m_width) { - int output = Size(); IncSize();
2002-12-20Ok last change for the night :)Kent Mein
Time to go watch er. Note this was already done with face_old, img_old was probably just overlooked. (If you guys didn't notice I was sick for a couple of days but I'm back now as you can tell) Kent -- mein@cs.umn.edu Index: editface.c =================================================================== RCS file: /cvs01/blender/source/blender/src/editface.c,v retrieving revision 1.3 diff -u -r1.3 editface.c --- editface.c 2002/11/25 12:02:05 1.3 +++ editface.c 2002/12/20 02:50:55 @@ -1202,7 +1202,7 @@ TFace *face, *face_old = 0; short xy[2], xy_old[2]; //int a, index; - Image *img, *img_old; + Image *img, *img_old = 0;
2002-12-20In stubs.c I added a dummy return to functions that were non void types.Kent Mein
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:
2002-12-20Two more variables that were not initalized.Kent Mein
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-20Ok since no one cares about this I put a 5 second fix on it and won'tKent Mein
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-20Fixed two uninitalized vars:Kent Mein
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-20Added the the magic compiler flag that will turn on game-engine integration ↵Maarten Gribnau
with Blender. The line is commented by default as was discussed on the list. Maarten
2002-12-20I initalized mask to 0 in IMB_converttocmapKent Mein
This may not be correct but at least now its predictable. Kent
2002-12-20Used NAN_ODE to point to the ode lib location.Maarten Gribnau
Maarten
2002-12-20Overrided NAN_ODE in OSX to point to the precompiled ode lib in the lib tree.Maarten Gribnau
Maarten
2002-12-19-static void SleepTillEvent(Display *display, GHOST_TUns64 maxSleep) {Kent Mein
+static void SleepTillEvent(Display *display, GHOST_TInt64 maxSleep) { maxSleep is checked against -1 so it needs to have a sign. This could even fix some stability problems since -1 is passed in sometimes in the code. Kent -- mein@cs.umn.edu
2002-12-19Fixed this warning:Kent Mein
IK_QSegment.h: In constructor `IK_QSegment::IK_QSegment(MT_Point3, MT_Matrix3x3, double, MT_ExpMap)': IK_QSegment.h:271: warning: member initializers for `MT_Scalar IK_QSegment::m_length' IK_QSegment.h:270: warning: and `MT_ExpMap IK_QSegment::m_q' IK_QSegment.cpp:56: warning: will be re-ordered to match declaration order IK_QSegment.h: In constructor `IK_QSegment::IK_QSegment()': IK_QSegment.h:271: warning: member initializers for `MT_Scalar IK_QSegment::m_length' IK_QSegment.h:270: warning: and `MT_ExpMap IK_QSegment::m_q' IK_QSegment.cpp:73: warning: will be re-ordered to match declaration order Kind of goofy its just the order of which 2 private vars are defined. Kent -- mein@cs.umn.edu
2002-12-17Updated the readme section on building OSX.Maarten Gribnau
Not sure whether this should also go in the xml file in the doc directory. If so, what editor should I use? Maarten
2002-12-17Removed Ode build from OSX target.Maarten Gribnau
This is now replaced by the Ode lib in CVS. Maarten
2002-12-16Created a Makefile and got it actually to compile :)Kent Mein
Kent -- mein@cs.umn.edu
2002-12-16Added extra libs for solarisKent Mein
(-l/usr/openwin/lib -lglut etc...) Kent -- mein@cs.umn.edu
2002-12-16Fixed the files so they compile...Kent Mein
Had to add an argument to Create_window... (it was missing the sterio flag) Also cleaned up some variable overloading warnings... (i.e. window shadows previous def) Kent
2002-12-14Gilles's patch to get rid of the the same identifier warningsKent Mein
Kent -- mein@cs.umn.edu
2002-12-14Corrected intern lib names so blendercreator.dsp can find them.Simon Clitherow
Previous commit broke this. --aphex
2002-12-14OSX Project Builder project for makes_dna, blender and player targets.Maarten Gribnau
After building intern with the Makefile, this project builds all three targets. blender and player targets are dependent on makes_dna so that dna.c is generated automatically (at the moment it is created evry build). The applications are complete with icons and file type registering. The only catch is that it might be necessary to symlink the darwin-6.1-powerpc directory if your kernel is no on 6.1. Maarten
2002-12-13This might be a slight hack but Iksolver library was complaining aboutKent Mein
some linking stuff that was in libmoto.a so I added a libmoto after it in the link lines. Hans got a better way to do this? :) Kent Here is the diff: RCS file: /cvs01/blender/source/Makefile,v retrieving revision 1.12 diff -u -r1.12 Makefile --- Makefile 2002/11/13 16:09:38 1.12 +++ Makefile 2002/12/13 20:28:13 @@ -165,6 +165,7 @@ COMLIB += $(NAN_PNG)/lib/libpng.a BCLIB = $(NAN_IKSOLVER)/lib/libiksolver.a + BCLIB += $(NAN_MOTO)/lib/libmoto.a BCLIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a BCLIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a BCLIB += $(OCGDIR)/blender/writestreamglueSTUB/$(DEBUG_DIR)libwritestreamglueSTUB.a @@ -174,6 +175,7 @@ BCLIB += $(OCGDIR)/blender/src/$(DEBUG_DIR)libsrccreator.a PULIB = $(NAN_IKSOLVER)/lib/libiksolver.a + PULIB += $(NAN_MOTO)/lib/libmoto.a PULIB += $(OCGDIR)/blender/readblenfile/$(DEBUG_DIR)libreadblenfile.a PULIB += $(OCGDIR)/blender/readstreamglue/$(DEBUG_DIR)libreadstreamglue.a PULIB += $(OCGDIR)/blender/writestreamglue/$(DEBUG_DIR)libwritestreamglue.a
2002-12-13Had to add a function (BPY_call_importloader) and a variable (bprogname)Maarten Gribnau
to the stubs to get the player linking with Project Builder under OSX. Maarten
2002-12-13And the rest! ;) --aphexSimon Clitherow
2002-12-13Modified the intern MSVC project files to make them moreSimon Clitherow
Win9x/ME-friendly. This shouldn't break the NT/2000/XP builds, but let me know if it does! --aphex
2002-12-12Updated the debug target defines. --aphexSimon Clitherow
2002-12-11compile and run source/blender/makesdna/intern/makesdna to (re)createStefan Gartner
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-10Commited Simon Clitherow's mods to BL_src.dspKent Mein
Kent -- mein@cs.umn.edu
2002-12-07don't crash when adding a UVsphere (Hos, heli)Stefan Gartner
sgefant
2002-12-06sgefants patch to remove the License Key stuff.Kent Mein
(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-03Ok this should have probably been three seperate things but I figuredKent Mein
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-03Had to make the patch for casting a little more complicated.Kent Mein
m_MotionState->getWorldOrientation((float)worldquat[1], (float)worldquat[2],(float)worldquat[3],(float)worldquat[0]); Is now: #ifdef dDOUBLE m_MotionState->getWorldOrientation((float)worldquat[1], (float)worldquat[2],(float)worldquat[3],(float)worldquat[0]); #else m_MotionState->getWorldOrientation(worldquat[1], worldquat[2],worldquat[3],worldquat[0]); #endif Kent -- mein@cs.umn.edu