Commit Graph

  • 19ac604c47 deleted print function, which caused crashes. Objects are printed with the repr function. Jacques Guignot 2003-07-04 16:09:34 +00:00
  • 82e1783dcb Following Willian's proposal,deleted the print function, which caused crashes. The objects are now printed with the repr function. Jacques Guignot 2003-07-04 16:06:39 +00:00
  • 28b8e667a0 Exppython: - Fixed a problem with control of the global Python dictionary persistence: Blender.ReleaseGlobalDict(bool) should now work fine. - Trying to fix the sigsegv crashes on Windows: They happen when we try to "print" our objects, like Lamps or Cameras. Following advice from the Python Embedding doc, removed the tp_print method from Camera and also improved its tp_repr one, that will be used as print, repr() and str() for Cameras. If this test works all other objs will be updated accordingly. Willian Padovani Germano 2003-07-04 02:56:07 +00:00
  • 77213f7da6 removed extra tabs in the help function. It was function() { blah } Kent Mein 2003-07-03 13:53:11 +00:00
  • a41069b954 - second change in vrml file writing. Thanks to testing of a user (don't have good vrml viewer here) I could make the UV coords in the right order. Ton Roosendaal 2003-07-03 12:31:19 +00:00
  • dfa7a48407 - exppython now can import modules contained in Blender Texts: The Python import function was substituted by our own one (like done in the old bpython) to also check Blender Texts upon importing. Willian Padovani Germano 2003-07-03 01:42:00 +00:00
  • 1b726ba080 OPENGL headers include path is necessary on non-linuxes Hans Lambermont 2003-07-02 18:51:37 +00:00
  • c57b13ed78 - NMesh.PutRaw: - now it returns the Object wrapper if an obj was created, as in 2.25 - fixed another bug related to obj-mesh material lists Willian Padovani Germano 2003-07-02 18:26:21 +00:00
  • 4954e23738 - removed MXtools reference from Makefiles. Ton Roosendaal 2003-07-02 13:45:45 +00:00
  • d8cc44417f - removed the 'const' from arithb function declarations. it caused the myriad of warnings people complained about so long. Ton Roosendaal 2003-07-02 13:37:03 +00:00
  • 123696724d * Updated the version number of Blender to display 2.27.NewPy1 in the User Interface only. Commented the original line. THIS NEEDS TO BE RESTORED TO THE ORIGINAL LINE WHEN A RELEASE IS BUILD!!! Michel Selten 2003-07-01 17:05:28 +00:00
  • fad2aeb3fb - small fix in Sys.c to compile on Windows: Thanks Florian Eggenberger for telling us about it. And Greg McBride for pointing a possible fix. - Draw.Text and Draw.GetStringWidth updated: Now they accept an optional second parameter to set font size and Draw.Text returns the drawn string width. - Partially fixed the update() and PutRaw() bugs in NMesh: A total fix will require bigger changes, but what was done (unless buggy) takes care of the common cases. Willian Padovani Germano 2003-07-01 05:19:14 +00:00
  • 14b4ed4e8d Jacques patch for initializing m_context as NULL Chris Want 2003-07-01 00:53:26 +00:00
  • cee677699f - added a call calc_meshverts_ext_f2(void) which: - projects vertices without clipping code (xs at 3200) - sets flag in editvert ( eve->f & 2) when it is not visible Ton Roosendaal 2003-06-30 19:51:18 +00:00
  • e1efa7378c - accidentally commited an armature test call. sorry! Ton Roosendaal 2003-06-30 19:13:18 +00:00
  • b4bb377ae5 - this probably fixes export to vrml 1.0 output for textures (UV coords) Ton Roosendaal 2003-06-30 18:09:08 +00:00
  • 79c2d74cd1 - fixed bug #316 Ton Roosendaal 2003-06-30 14:11:17 +00:00
  • 34e349b4ce * The Object.get and Object.getSelected will become obsolete in the future. Added a warning about this - and to use the alternative function. Michel Selten 2003-06-29 19:57:41 +00:00
  • 67e9d00936 Moved the OPENGL_HEADERS to the end of the include paths -- so that render.h from another package (such as the Xrender extension on irix) doesn't conflict with the blender one. Chris Want 2003-06-29 17:21:38 +00:00
  • 3284916aeb * Added some internal functions to the Material module * Updated the Object module with some more functions. Only 1 function left to implement. * Removed the getDeformData function declaration. Michel Selten 2003-06-29 16:49:21 +00:00
  • 389c7e101e - Trying to fix something I caused: Added a function call to creator.c that is needed by exppython, but forgot to add the function also to the old bpython implementation. Thanks, Hos! - Addition in Draw.Text and Draw.GetStringWidth (Python Draw methods): Now script writers can select the font size: normal, small or tiny. Willian Padovani Germano 2003-06-29 14:35:49 +00:00
  • 0ff572954e * Added functionality to the Object module for getting and setting the name of the object. * Added the GetSelected function. (Same as getSelected). * Added a start for the Object.py API documentation. * Some minor bug-fixes to the Object module. * Added the functionality to get the IPO of the Object. Michel Selten 2003-06-28 15:10:23 +00:00
  • 8155033930 - Added user defined python dir to Python's sys.path: Had to add a function call to creator.c, explained in a note there (look for pythondir in the file) Willian Padovani Germano 2003-06-28 10:35:14 +00:00
  • eaf1cdd383 - More renaming all around to follow our conventions - Implemented partially Blender.Sys - Worked on issues related to sys, path - Took away most "debug" printfs Willian Padovani Germano 2003-06-28 07:38:21 +00:00
  • 569a32a2ea expython needs pthreads to link under irix (prolly a python 2.2 requirement). Chris Want 2003-06-28 03:47:05 +00:00
  • 1323315937 - associated .h file change for previous commit (bug #152). plus added a warning in screen_types.h. Some wierd person thinks ENUM is nice? It's dangerous! ;-) Ton Roosendaal 2003-06-27 15:29:36 +00:00
  • 6a3f419142 - bug #152 Ton Roosendaal 2003-06-27 15:26:23 +00:00
  • 6bbf245d17 Deleted a ^S that was causing it to not compile on my linux box. Kent Mein 2003-06-27 15:17:22 +00:00
  • ff5e41cd3e - when inserting first key for Bone in Armature, the IpoWindow now gets a signal to change to 'show Action Ipos' Makes it all a tad more clear... Ton Roosendaal 2003-06-27 12:58:21 +00:00
  • 57aaef00ee - part 1 of investigating how armatures work! fixed display error; when adding a 'key' in a bone, it didnt update IpoWindow Ton Roosendaal 2003-06-27 12:34:44 +00:00
  • dc686139de end of cleanup ; naming conventions, balance between c and h files Jacques Guignot 2003-06-27 07:46:29 +00:00
  • 13d7bb920b some cleanup; naming conventions Jacques Guignot 2003-06-27 07:35:55 +00:00
  • 72f0cdace4 * Added function Blender.Draw.GetStringWidth(). * Added doc and small test for Blender.Test * trying changes to make Blender.Test.unlink() safer. Willian Padovani Germano 2003-06-26 02:03:51 +00:00
  • dd8f216691 * Documentation and a simple test for BGL. Willian Padovani Germano 2003-06-25 04:38:38 +00:00
  • 06ee04fb05 * Added more doc files for epydoc and a test for the camera module. * Moved public declarations in camera and lamp to a new file: bpy_types.h. * Fixed minor bugs in material, rgbTuple and Lamp + other minor changes. * Made part of the changes to conform to decided naming conventions. Willian Padovani Germano 2003-06-24 07:21:17 +00:00
  • a0ea4df1ba - added reference to genfile.c instructions Ton Roosendaal 2003-06-23 12:28:20 +00:00
  • 1a32001efc - renderwindow doesn't close when switching from dispwin to dispview - left out activating the mainwindow after rendering, this is confusing Ton Roosendaal 2003-06-23 08:20:30 +00:00
  • 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 Michel Selten 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. Jacques Guignot 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. Michel Selten 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) Michel Selten 2003-06-22 18:34:36 +00:00
  • 85f5804333 bug fix - Jacques Guignot 2003-06-22 16:23:58 +00:00
  • 6053079d50 new module - Jacques Guignot 2003-06-22 13:51:29 +00:00
  • 85d9481ba0 nex module Jacques Guignot 2003-06-22 13:51:01 +00:00
  • 7cab51c0a6 - for test: action space has no 'winchange' callback now. well. the callback is empty! Ton Roosendaal 2003-06-21 21:34:40 +00:00
  • bedee3227b taking care of mist intensity in the render process Jacques Guignot 2003-06-21 20:57:16 +00:00
  • 3da49a30c8 a slider for controlling mist intensity Jacques Guignot 2003-06-21 20:54:33 +00:00
  • 84d432d6b3 Integration of the new modules Jacques Guignot 2003-06-21 20:47:12 +00:00
  • 9392d5662a several bug fixes Jacques Guignot 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... Ton Roosendaal 2003-06-21 20:24:42 +00:00
  • 53969183fc very last test. Jacques Guignot 2003-06-21 16:11:50 +00:00
  • a228d7ef7d check in test... Jacques Guignot 2003-06-21 16:09:21 +00:00
  • 89e847f51a added python test files these tests should be exhaustive Jacques Guignot 2003-06-21 16:07:55 +00:00
  • 81dae537b1 *** empty log message *** Jacques Guignot 2003-06-21 11:44:10 +00:00
  • 79370bd9b9 *** empty log message *** Jacques Guignot 2003-06-21 11:34:43 +00:00
  • b1e0ce966c *** empty log message *** Jacques Guignot 2003-06-21 11:27:19 +00:00
  • 798063acd6 *** empty log message *** Jacques Guignot 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 Ton Roosendaal 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. Willian Padovani Germano 2003-06-20 02:01:22 +00:00
  • 17ca22de62 Rolled back comments. According to new guidelines, no .c files should contain doxygen comments. Casey Corn 2003-06-18 03:48:55 +00:00
  • 63537d1e77 - fixed error, in 'z buffer' mode the bg color in 3d view was too bright Ton Roosendaal 2003-06-15 19:08:50 +00:00
  • cada9df214 * Fixed compilation error. FP_INFINITE needs to be defined _after_ all header files are included. Michel Selten 2003-06-15 13:14:45 +00:00
  • 6a626aa60d Draw extra wire tuhopuu-style. Fixes Bug 244 Stefan Gartner 2003-06-15 10:25:12 +00:00
  • 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. Chris Want 2003-06-15 06:18:21 +00:00
  • 2775b2c380 fix the link target naming Hans Lambermont 2003-06-14 22:58:01 +00:00
  • 5e0ec8c057 This makes the new renderwin.c behavior work for windows-gcc. Chris Want 2003-06-14 22:47:54 +00:00
  • 833553be16 - Added exppython project to VC6 Simon Clitherow 2003-06-14 15:52:53 +00:00
  • 0b3093348e - Fixed a compile error on Windows: VC98 Win32 Platform SDK does not define FP_INFINITE! Simon Clitherow 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. Ton Roosendaal 2003-06-14 14:49:12 +00:00
  • 7a096b4664 - Holger's patch to enable ESC detection when rendering (Win32). Simon Clitherow 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. Willian Padovani Germano 2003-06-14 10:10:01 +00:00
  • c812a09ff3 - bug fix #257 crash when ESC out of FileSelect, while previous window Info (user settings) Ton Roosendaal 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! Ton Roosendaal 2003-06-13 16:51:22 +00:00
  • 2b3bc332e4 - again same commit, typo in comment was still there... Ton Roosendaal 2003-06-13 14:04:06 +00:00
  • 075ce0954b - fixed commenting in renderwin.c Ton Roosendaal 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. Ton Roosendaal 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. Ton Roosendaal 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. Willian Padovani Germano 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 Mein 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 Mein 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 Ton Roosendaal 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. Willian Padovani Germano 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! Simon Clitherow 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. Ton Roosendaal 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 Ton Roosendaal 2003-06-11 15:43:20 +00:00
  • 47e7e146ba - Makefile: removed 'creator lib' compiling. only 'publisher lib' is used Ton Roosendaal 2003-06-11 15:41:11 +00:00
  • 2c6da7a2db - OSX bug: selecting vertices in imagewindow didnt draw in frontbuf visibly added a glFlush Ton Roosendaal 2003-06-11 15:40:25 +00:00
  • ef4c05bd6c - OSX ghost: hand cursor, and it creates an opengl context with AUX buffer Ton Roosendaal 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' Ton Roosendaal 2003-06-11 15:02:57 +00:00
  • f73b8eac82 enabled mousewheel functionality also in 3D textediting. Rob Haarsma 2003-06-10 21:07:56 +00:00
  • 84bd226fa3 * Added 'extern' to PyTypeObject declarations in some headers. Willian Padovani Germano 2003-06-09 20:07:43 +00:00
  • c7c5fd1451 small update to getAttr method Willian Padovani Germano 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. Willian Padovani Germano 2003-06-09 04:01:48 +00:00
  • 51850586a8 fixed a prob with background rendering, also spotted by intrr. Rob Haarsma 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 . Willian Padovani Germano 2003-06-07 03:49:45 +00:00
  • b499fac975 readded IS_jpg() macro Stefan Gartner 2003-06-06 11:55:16 +00:00
  • 3942b12185 Hopfully fixed the readability issue by using distributed group docs. Casey Corn 2003-06-06 03:21:39 +00:00
  • 98752e5d92 Blender now correctly checks the current dir for /.blender/.Blanguages on Windows Simon Clitherow 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. Willian Padovani Germano 2003-06-05 18:03:46 +00:00
  • d29a8c0a3c *Minor updates: changed some function names and cleaned the Camera header file Willian Padovani Germano 2003-06-05 16:21:44 +00:00