Commit Graph

741 Commits

Author SHA1 Message Date
b4bb377ae5 - this probably fixes export to vrml 1.0 output for textures (UV coords)
it needs tests... just a simple cube with sides texmapped. and then
  import to whatever vrml viewer or importer you have around.

  the trick lies in adding textureCoordIndex nodes to file.
2003-06-30 18:09:08 +00:00
79c2d74cd1 - fixed bug #316
just two icons that were switched accidentally
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.
2003-06-29 19:57:41 +00:00
Chris Want
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.
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.
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.
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.
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)
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
2003-06-28 07:38:21 +00:00
Chris Want
569a32a2ea expython needs pthreads to link under irix (prolly a python 2.2
requirement).
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! ;-)
2003-06-27 15:29:36 +00:00
6a3f419142 - bug #152
databrowse didnt work in NLA editor, for a SHIFT+A "add action"

  note: the databrowse is a bit out-focus here. the NLA editor is not yet
  well integrated with blender standards. For example, there is no awareness
  of an 'active' strip in the editor, which makes a bit clumsy code. It needs
  some more work... options in the window header etc.
2003-06-27 15:26:23 +00:00
6bbf245d17 Deleted a ^S that was causing it to not compile on my linux box.
Kent
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...
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
2003-06-27 12:34:44 +00:00
dc686139de end of cleanup ; naming conventions, balance between c and h files 2003-06-27 07:46:29 +00:00
13d7bb920b some cleanup; naming conventions 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.
2003-06-26 02:03:51 +00:00
dd8f216691 * Documentation and a simple test for BGL. 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.
2003-06-24 07:21:17 +00:00
a0ea4df1ba - added reference to genfile.c instructions 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
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
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
Hans Lambermont
2775b2c380 fix the link target naming 2003-06-14 22:58:01 +00:00