Commit Graph

744 Commits

Author SHA1 Message Date
Chris Want
14b4ed4e8d Jacques patch for initializing m_context as NULL 2003-07-01 00:53:26 +00:00
Ton Roosendaal
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

general note: that flag is only valid after the calc_meshverts_ext_f2
call. it is a free flag. be aware that selection
is stored in bit 1 (eve->f & 1)
2003-06-30 19:51:18 +00:00
Ton Roosendaal
e1efa7378c - accidentally commited an armature test call. sorry! 2003-06-30 19:13:18 +00:00
Ton Roosendaal
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
Ton Roosendaal
79c2d74cd1 - fixed bug #316
just two icons that were switched accidentally
2003-06-30 14:11:17 +00:00
Michel Selten
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
Michel Selten
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
Willian Padovani Germano
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
Michel Selten
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
Willian Padovani Germano
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
Willian Padovani Germano
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
Ton Roosendaal
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
Ton Roosendaal
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
Kent Mein
6bbf245d17 Deleted a ^S that was causing it to not compile on my linux box.
Kent
2003-06-27 15:17:22 +00:00
Ton Roosendaal
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
Ton Roosendaal
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
Jacques Guignot
dc686139de end of cleanup ; naming conventions, balance between c and h files 2003-06-27 07:46:29 +00:00
Jacques Guignot
13d7bb920b some cleanup; naming conventions 2003-06-27 07:35:55 +00:00
Willian Padovani Germano
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
Willian Padovani Germano
dd8f216691 * Documentation and a simple test for BGL. 2003-06-25 04:38:38 +00:00
Willian Padovani Germano
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
Ton Roosendaal
a0ea4df1ba - added reference to genfile.c instructions 2003-06-23 12:28:20 +00:00
Ton Roosendaal
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
Michel Selten
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
Jacques Guignot
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
Michel Selten
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
Michel Selten
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
Jacques Guignot
85f5804333 bug fix
-
2003-06-22 16:23:58 +00:00
Jacques Guignot
6053079d50 new module
-
2003-06-22 13:51:29 +00:00
Jacques Guignot
85d9481ba0 nex module 2003-06-22 13:51:01 +00:00
Ton Roosendaal
7cab51c0a6 - for test: action space has no 'winchange' callback now.
well. the callback is empty!
2003-06-21 21:34:40 +00:00
Jacques Guignot
bedee3227b taking care of mist intensity in the render process 2003-06-21 20:57:16 +00:00
Jacques Guignot
3da49a30c8 a slider for controlling mist intensity 2003-06-21 20:54:33 +00:00
Jacques Guignot
84d432d6b3 Integration of the new modules 2003-06-21 20:47:12 +00:00
Jacques Guignot
9392d5662a several bug fixes 2003-06-21 20:44:44 +00:00
Ton Roosendaal
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
Jacques Guignot
53969183fc very last test. 2003-06-21 16:11:50 +00:00
Jacques Guignot
a228d7ef7d check in test... 2003-06-21 16:09:21 +00:00
Jacques Guignot
89e847f51a added python test files
these tests should be exhaustive
2003-06-21 16:07:55 +00:00
Jacques Guignot
81dae537b1 *** empty log message *** 2003-06-21 11:44:10 +00:00
Jacques Guignot
79370bd9b9 *** empty log message *** 2003-06-21 11:34:43 +00:00
Jacques Guignot
b1e0ce966c *** empty log message *** 2003-06-21 11:27:19 +00:00
Jacques 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