Commit Graph

66005 Commits

Author SHA1 Message Date
guignot a228d7ef7d check in test... 2003-06-21 16:09:21 +00:00
guignot 89e847f51a added python test files
these tests should be exhaustive
2003-06-21 16:07:55 +00:00
guignot 81dae537b1 *** empty log message *** 2003-06-21 11:44:10 +00:00
guignot 79370bd9b9 *** empty log message *** 2003-06-21 11:34:43 +00:00
guignot b1e0ce966c *** empty log message *** 2003-06-21 11:27:19 +00:00
guignot 798063acd6 *** empty log message *** 2003-06-21 11:12:14 +00:00
Ton Roosendaal 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
Willian Padovani Germano 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
Ton Roosendaal 63537d1e77 - fixed error, in 'z buffer' mode the bg color in 3d view was too bright 2003-06-15 19:08:50 +00:00
Michel Selten cada9df214 * Fixed compilation error. FP_INFINITE needs to be defined _after_ all header
files are included.
2003-06-15 13:14:45 +00:00
Stefan Gartner 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
Simon Clitherow 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
Simon Clitherow 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
Ton Roosendaal 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
Simon Clitherow 7a096b4664 - Holger's patch to enable ESC detection when rendering (Win32). 2003-06-14 13:34:35 +00:00
Willian Padovani Germano 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
Ton Roosendaal c812a09ff3 - bug fix #257
crash when ESC out of FileSelect, while previous window Info (user settings)
2003-06-13 19:56:15 +00:00
Ton Roosendaal 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
Ton Roosendaal 2b3bc332e4 - again same commit, typo in comment was still there... 2003-06-13 14:04:06 +00:00
Ton Roosendaal 075ce0954b - fixed commenting in renderwin.c 2003-06-13 13:54:08 +00:00
Ton Roosendaal 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
Ton Roosendaal 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
Willian Padovani Germano 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
Kent Mein 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
Kent Mein 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
Ton Roosendaal 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
Willian Padovani Germano 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
Simon Clitherow 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
Ton Roosendaal 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
Ton Roosendaal 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
Ton Roosendaal 47e7e146ba - Makefile: removed 'creator lib' compiling. only 'publisher lib' is used 2003-06-11 15:41:11 +00:00
Ton Roosendaal 2c6da7a2db - OSX bug: selecting vertices in imagewindow didnt draw in frontbuf visibly
added a glFlush
2003-06-11 15:40:25 +00:00
Ton Roosendaal ef4c05bd6c - OSX ghost: hand cursor, and it creates an opengl context with AUX buffer 2003-06-11 15:11:59 +00:00
Ton Roosendaal 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
Rob Haarsma f73b8eac82 enabled mousewheel functionality also in 3D textediting. 2003-06-10 21:07:56 +00:00
Willian Padovani Germano 84bd226fa3 * Added 'extern' to PyTypeObject declarations in some headers. 2003-06-09 20:07:43 +00:00
Willian Padovani Germano c7c5fd1451 small update to getAttr method 2003-06-09 04:35:24 +00:00
Willian Padovani Germano 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
Rob Haarsma 51850586a8 fixed a prob with background rendering, also spotted by intrr. 2003-06-08 16:25:48 +00:00
Willian Padovani Germano 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
Stefan Gartner 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
Simon Clitherow 98752e5d92 Blender now correctly checks the current dir for /.blender/.Blanguages
on Windows
2003-06-05 18:36:27 +00:00
Willian Padovani Germano 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
Willian Padovani Germano d29a8c0a3c *Minor updates:
changed some function names and cleaned the Camera header file
2003-06-05 16:21:44 +00:00
Kent Mein 0de12ba517 Holger's update.
Kent
2003-06-05 15:24:47 +00:00