Commit Graph

378 Commits

Author SHA1 Message Date
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.

  seems to look good now, but will keep in touch with the tester for verification
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.
2003-07-03 01:42:00 +00:00
Hans Lambermont
1b726ba080 OPENGL headers include path is necessary on non-linuxes 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
2003-07-02 18:26:21 +00:00
d8cc44417f - removed the 'const' from arithb function declarations. it caused
the myriad of warnings people complained about so long.

  after careful consulting & reading I could not find a good reason
  for this const stuff, apart from a sort-of comment to indicate
  this array (matrix) pointer cannot be changed. Well, doh! you
  should not do that with a float mat[][3] anyway!
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!!!
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.
2003-07-01 05:19:14 +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

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
e1efa7378c - accidentally commited an armature test call. sorry! 2003-06-30 19:13:18 +00:00
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
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