Commit Graph

348 Commits

Author SHA1 Message Date
61e41f6817 * Added matrix module
* Moved the function EXPP_tuple_repr from vector.c to gen_utils.[ch]
* Matrix functionality should work now in Object module.
* Fixed compilation warning about implicit declaration of M_World_Init.
  Added the declaration to modules.h
2003-06-22 20:14:11 +00:00
ab9e15b75d removed all references to FP_INFINITE, dirty hack I used before, which is not useful now.
: ----------------------------------------------------------------------
2003-06-22 19:52:04 +00:00
d18538076d * Added the definition of FP_INFINITE back to Metaball.c
It really doesn't compile on some platforms if it isn't defined.
2003-06-22 18:48:22 +00:00
d253eb4b75 * Fixes segfault caused in the Object.getParent function.
Found by Jonathan Thambidurai
* Fixes a scriptlink problem when a script is run using ALT-p.
  Found by Yann Vernier (LoneTech)
* Prints unhandled exceptions. Should fix some memory leaks too.
  Fixed by Yann Verniet (LoneTech)
2003-06-22 18:34:36 +00:00
85f5804333 bug fix
-
2003-06-22 16:23:58 +00:00
6053079d50 new module
-
2003-06-22 13:51:29 +00:00
85d9481ba0 nex module 2003-06-22 13:51:01 +00:00
7cab51c0a6 - for test: action space has no 'winchange' callback now.
well. the callback is empty!
2003-06-21 21:34:40 +00:00
bedee3227b taking care of mist intensity in the render process 2003-06-21 20:57:16 +00:00
3da49a30c8 a slider for controlling mist intensity 2003-06-21 20:54:33 +00:00
84d432d6b3 Integration of the new modules 2003-06-21 20:47:12 +00:00
9392d5662a several bug fixes 2003-06-21 20:44:44 +00:00
e4bbc590a4 - added (old supposed) option for uiDefBut to define the amount of digits
in NUM or NUMSLI buttons. It's the last but one argument...

  i really have to put the interface.c API doc back!!! :-)

  (get probably killed for the fact that i have it)
2003-06-21 20:24:42 +00:00
53969183fc very last test. 2003-06-21 16:11:50 +00:00
a228d7ef7d check in test... 2003-06-21 16:09:21 +00:00
89e847f51a added python test files
these tests should be exhaustive
2003-06-21 16:07:55 +00:00
81dae537b1 *** empty log message *** 2003-06-21 11:44:10 +00:00
79370bd9b9 *** empty log message *** 2003-06-21 11:34:43 +00:00
b1e0ce966c *** empty log message *** 2003-06-21 11:27:19 +00:00
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
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
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