Commit Graph

428 Commits

Author SHA1 Message Date
798063acd6 *** empty log message *** 2003-06-21 11:12:14 +00:00
7c0712fb7f - removed 'gldrawbuffer()' and 'glflush()' calls from main buttons loop.
these calls were done without anything actually happening, for each
  mouse move, and caused quite some slowdown at OSX.
  Might help the other platforms as well. Check it by just moving your mouse
  around, over window edges, buttons, etc. Especially Radiosity buttons
  were horrible slow in a large window

  Please be aware that the above calls cause a swapbuffer at OSX!
2003-06-20 12:49:36 +00:00
8fc4749167 * Adding doc dir to exppython, with sample Camera.py file.
We're testing the epydoc doc generator with good results.
2003-06-20 02:01:22 +00:00
Casey Corn
17ca22de62 Rolled back comments. According to new guidelines, no .c files
should contain doxygen comments.
2003-06-18 03:48:55 +00:00
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
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
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
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
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
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
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
721fa5479c Patch submitted by Martin Renold (maxy)
To complain on a certain error he was getting with a blend file.
See http://projects.blender.org/tracker/index.php?func=detail&aid=230&group_id=9&atid=127 for more info...

Kent
2003-05-30 19:00:12 +00:00
3c7c20676e This is a fun one ;)
Removes ssl from blender.
makes the following directorys not needed anymore:
blender/intern/keymaker
blender/source/blender/src/pub
blender/source/blender/encrypt
blender/source/blender/decrypt
blender/source/blender/sign
blender/source/blender/verify

It works with The Nan Makefiles and autoconf, could whoever is working
on the other build systems update them so we can nuke those directorys?
They won't do anything but I figured I'd leave them in for a week or so
to make things easyer on people.

Kent
2003-05-30 15:06:54 +00:00