Commit Graph

796 Commits

Author SHA1 Message Date
63537d1e77 - fixed error, in 'z buffer' mode the bg color in 3d view was too bright 2003-06-15 19:08:50 +00:00
cada9df214 * Fixed compilation error. FP_INFINITE needs to be defined _after_ all header
files are included.
2003-06-15 13:14:45 +00:00
6a626aa60d Draw extra wire tuhopuu-style. Fixes Bug 244 2003-06-15 10:25:12 +00:00
Chris Want
5ec1160432 The mipspro compiler also doesn't like FP_INFINITE,
so extended it so Simon's redefinition also occurs whenever
FP_INFINITE isn't defined (don't know why setting infinity
equals to 1 would be a good thing though)... maybe the author
might choose a more portable method for doing this.
2003-06-15 06:18:21 +00:00
Hans Lambermont
2775b2c380 fix the link target naming 2003-06-14 22:58:01 +00:00
Chris Want
5e0ec8c057 This makes the new renderwin.c behavior work
for windows-gcc.
2003-06-14 22:47:54 +00:00
833553be16 - Added exppython project to VC6
A quick HOW-TO:

  * Open /blender/projectfiles/blender/blender.dsw
  * Replace all existing files in the exppython project with the
    .c/h files found in /blender/source/blender/python/ and subdirs
  * Make sure Blender project is active.
  * Remove the old BPY_python and BPY_freeze dependancies.
    (Project->Dependancies...)
  * Add the new exppython as a dependancy.
  * Recompile, et voila! :)

  I'm sure the python team would appreciate some Windows feedback,
  so please test this if you can and report any probs, etc to the
  bf-python mailist.

  Note: The old BPY_python/freeze project will be removed and exppython
  made default just as soon as it is declared ready! ;)

--aphex
2003-06-14 15:52:53 +00:00
0b3093348e - Fixed a compile error on Windows:
VC98 Win32 Platform SDK does not define FP_INFINITE!

  Anyone know if VC7 is C99 compliant?
2003-06-14 15:20:53 +00:00
6dc3b9107c - removed test_break call from #ifdef POSIX part, to prevent double
it now is a cross platform function again.
2003-06-14 14:49:12 +00:00
7a096b4664 - Holger's patch to enable ESC detection when rendering (Win32). 2003-06-14 13:34:35 +00:00
23b2a1be8f * Fixed crash on file image selectors:
The global python dict can't be cleaned before the callbacks are executed.
2003-06-14 10:10:01 +00:00
c812a09ff3 - bug fix #257
crash when ESC out of FileSelect, while previous window Info (user settings)
2003-06-13 19:56:15 +00:00
2f56a9b0ca - fixed bug #228
dispview mode now doesnt disappear immedately after render
  oh, what i hated that one!
2003-06-13 16:51:22 +00:00
2b3bc332e4 - again same commit, typo in comment was still there... 2003-06-13 14:04:06 +00:00
075ce0954b - fixed commenting in renderwin.c 2003-06-13 13:54:08 +00:00
073bed8601 - restored functionality for ESC detection during rendering which doesnt
eat up cpu time.
  in fact it was in pre-ghost blender already.

works now for all posix OS's, except for windows. now working on getting
that fixed as well. until then, rendering will be slow at win32...


cvS: ----------------------------------------------------------------------
2003-06-13 13:46:00 +00:00
84a34eb9b8 - at systems with an inverted-draw crosshair cursor (editmode) it was almost
invisible in the 3d win. Jacked up the background grey a tinsy bit to
  improve that.
  also made the grid lines brighter, less distracting that way.
2003-06-13 13:43:27 +00:00
f70302670e * Bugs item #169 fixed:
Now Blender.NMesh.PutRaw() doesn't destroy vertex color info anymore.
    Both exppython's NMesh.c and bpython's opy_nmesh.c were updated.
* Minor changes in other files.
2003-06-13 04:21:48 +00:00
bbf8fe932f Kester's patch, for FreeBSD from,
http://www.elysiun.com/forum/viewtopic.php?t=12096

Kent
2003-06-12 19:17:33 +00:00
18b30d23ad Added some small comments on cygwin building under windows.
From this post...
http://projects.blender.org/viewcvs/viewcvs.cgi/blender/doc/README.windows-gcc?rev=1.3&cvsroot=bf-blender&content-type=text/vnd.viewcvs-markup

Kent
2003-06-12 18:25:56 +00:00
35007d147e - Completely reorganized renderwin.c, added readable comments and removed
confusing functions which were only used once.
  Part of examining how renderwindows get opened/closed, and to enable
  a third option for render output to ImageWindow in Blender
2003-06-12 10:07:36 +00:00
6cc45538ef * Small changes in many files:
-  Trying to fix linking problems in OSX;
-  Making module .Get functions behave like the ones in Blender 2.25 - 2.27
   (Guignot pointed the incompatibility);
-  Included more types to Blender.Types;
-  Found by luck and corrected two bugs that were making Blender crash;
-  Added/updated some simple functions.
2003-06-12 04:51:50 +00:00
ed6885d728 A better method for finding the installation dir on Windows.
Now works properly for _all_ Windows versions!
2003-06-11 20:26:35 +00:00
8ffd18a56c - fixed timer-wait for tooltips. this annoyed me such a long time!
now the tooltip waits 0.3 seconds before popping up.
2003-06-11 19:38:35 +00:00
51c8bb6077 - OSX bugfix: drawing selection code for vpaint and faceselect happens in AUX
buffers now. It only works nice at OSX (tested, linux and windows do not
  support it nicely)
  This fixes the annoying flashing during paint or select
2003-06-11 15:43:20 +00:00
47e7e146ba - Makefile: removed 'creator lib' compiling. only 'publisher lib' is used 2003-06-11 15:41:11 +00:00
2c6da7a2db - OSX bug: selecting vertices in imagewindow didnt draw in frontbuf visibly
added a glFlush
2003-06-11 15:40:25 +00:00
ef4c05bd6c - OSX ghost: hand cursor, and it creates an opengl context with AUX buffer 2003-06-11 15:11:59 +00:00
2fc36da5fa - cursors: now display a nice hand over the edges, and another arrow for
vpaint/faceselect
- BUGFIX: restoring focus from renderwin to editor caused a click at the
  wrong location (annoying when pressing 'render'
2003-06-11 15:02:57 +00:00
f73b8eac82 enabled mousewheel functionality also in 3D textediting. 2003-06-10 21:07:56 +00:00
84bd226fa3 * Added 'extern' to PyTypeObject declarations in some headers. 2003-06-09 20:07:43 +00:00
c7c5fd1451 small update to getAttr method 2003-06-09 04:35:24 +00:00
864e5640f7 * Applied a small fix to a bug reported by Guignot:
When a script that used setAttr for Camera Data objs (the bug also
    affected some other modules) was executed multiple times, Blender
    would crash after, let's say, the first 5 or 6 tries.  Problem, as
    Guignot pointed, was with reference counting.  Should be ok now, all
    affected modules were fixed.
* The Scene module is now "complete" (= 2.25).
* Made some necessary updates to Object and NMesh.
2003-06-09 04:01:48 +00:00
51850586a8 fixed a prob with background rendering, also spotted by intrr. 2003-06-08 16:25:48 +00:00
ad61dd37ef * Improved error checking in BPY_interface.c:
Applied a fix suggested by Guignot
* Added part of Module Blender.Scene.
* Added doxygen comments to Camera.c .
2003-06-07 03:49:45 +00:00
b499fac975 readded IS_jpg() macro 2003-06-06 11:55:16 +00:00
Casey Corn
3942b12185 Hopfully fixed the readability issue by using distributed group docs. 2003-06-06 03:21:39 +00:00
98752e5d92 Blender now correctly checks the current dir for /.blender/.Blanguages
on Windows
2003-06-05 18:36:27 +00:00
a9ced6d86a * Added two modules:
Guignot contributed the Ipo and Metaball modules.  Metaball wasn't
   available in the 2.25 API, it's a new addition.
* Minor changes in other files.
2003-06-05 18:03:46 +00:00
d29a8c0a3c *Minor updates:
changed some function names and cleaned the Camera header file
2003-06-05 16:21:44 +00:00
0de12ba517 Holger's update.
Kent
2003-06-05 15:24:47 +00:00
f40d9f57ee Registering .blend files now works for Windows -- hopefully!
You will need to re-register the blend files (blender.exe -R)
for the fix to come into action.
2003-06-04 21:22:57 +00:00
f289109228 * Made three functions static in the Object module.
* Updated the method struct for the Object module. It now terminates with a
  {0}.
2003-06-04 20:18:29 +00:00
474ab1ff7b * Fixed stupid compilation bug (non-gcc) in BGL. I did some initialization
before variable declarations. ugh, gcc -Wall didn't complain.
2003-06-04 18:59:19 +00:00
7d38afc7b6 holger's patch for visual-c ssl stuff.
Kent
2003-06-03 19:09:03 +00:00
Chris Want
ddceb57d8e Removing this ssl-related file as it is no longer needed
and breaks the Irix build.
2003-06-03 14:19:55 +00:00
Casey Corn
9c9b8a9565 Enabled distributing group documentation, in order to make docs
cleaner.
2003-06-03 02:24:35 +00:00
a127b38760 * Fix compilation errors on Windows hopefully. Implemented the suggestion done
by Aphex - thanks.
* Added the doc strings to the Object module.
* Added more functionality to the Object module.
2003-06-02 20:15:50 +00:00
Alexander Ewering
271dc5aaf1 Fixes a memory leak which caused Blender to hog up more and more memory
when rendering long animations.
2003-05-31 15:44:58 +00:00
302479603b * Updated NMesh port to exppython:
Added material and image handling/hooks and the constant dictionaries.
    Changed Image.h and Material.h to only have public declarations, so
    NMesh could include them.
2003-05-31 04:43:10 +00:00