blender.git
18 years ago- increased the character loading/conversion routine that it includes the
Ton Roosendaal [Wed, 9 Jul 2003 14:44:53 +0000 (14:44 +0000)]
- increased the character loading/conversion routine that it includes the
  entire ascii extended set (up to 255)

18 years agoadded what needed to link a curve to an object (modification of Object_link
Jacques Guignot [Wed, 9 Jul 2003 12:25:27 +0000 (12:25 +0000)]
added what needed to link a curve to an object (modification of Object_link
added 2 functions Curve_CheckPyObject and Curve_FromPyObject
that I had forgotten

18 years ago* Forgot to update the Object.name variable functionality. Had a bug in it to
Michel Selten [Tue, 8 Jul 2003 20:06:00 +0000 (20:06 +0000)]
* Forgot to update the Object.name variable functionality. Had a bug in it to
  return the first 2 identifying characters too - which it shouldn't.

18 years ago- changed silly name 'shadelamplus' to shade_lamp_loop
Ton Roosendaal [Tue, 8 Jul 2003 13:07:35 +0000 (13:07 +0000)]
- changed silly name 'shadelamplus' to shade_lamp_loop

18 years ago* fixed two more subloops in button drawing for new optimized usage of
Ton Roosendaal [Tue, 8 Jul 2003 10:15:42 +0000 (10:15 +0000)]
* fixed two more subloops in button drawing for new optimized usage of
  glFinish(). Textbut and the 'But' (render for example) didnt work proper.

18 years ago- old python: removed reference to UIfrontbuf, just to get it compiling
Ton Roosendaal [Mon, 7 Jul 2003 16:12:31 +0000 (16:12 +0000)]
- old python: removed reference to UIfrontbuf, just to get it compiling
  for those who dont have EXPYTHON defined

18 years ago* removed the global uiFrontbuf from interface.c (and python, it was used
Ton Roosendaal [Mon, 7 Jul 2003 15:50:44 +0000 (15:50 +0000)]
* removed the global uiFrontbuf from interface.c (and python, it was used
  there)
* replaced with nice local (uiBlock) storage of what goes on in drawing.
  it now only calls a glDrawBuffer() and glFinish() when it is actually
  needed

Result: interface drawing in general is speedy again, especially for gfx
cards that dont allow frontbuffer drawing, and copy stuff to the frontbuf
with a glFinish() call.

Needs to be tested on all platforms... report to me when you see problems
like menus not drawing correctly, tooltips not drawing or not disappearing,
etc.

18 years ago* removed some debugging prints. Accidentally committed them last time.
Michel Selten [Sun, 6 Jul 2003 20:34:59 +0000 (20:34 +0000)]
* removed some debugging prints. Accidentally committed them last time.
* nicely format the matrix object when printing.

18 years ago- miencho (thanks) pointed me to a weak line in draw mesh solid call.
Ton Roosendaal [Sun, 6 Jul 2003 20:18:42 +0000 (20:18 +0000)]
- miencho (thanks) pointed me to a weak line in draw mesh solid call.
  it used a pointer, without checking its value. the calling code
  took care it never happened, nevertheless... added a comment there.

18 years ago* Fixed:
Michel Selten [Sun, 6 Jul 2003 19:58:27 +0000 (19:58 +0000)]
* Fixed:
    - Object_getMatrix()    - prints correct values now
    - Object_getName()      - removes the two identifying chars from the front
    - Object_setName()      - calls the internal function to correctly set the
                              name of the object.
* Removed the Object_print function. It causes a crash on Windows.
* Updated the Object_repr function to display the Object nicely.
* Object.Get() now returns a list of Objects when no argument has passed to
  it.
* Changed the function declaration for newMatrixObject function
  Easier to read now.

18 years ago- bug #149.
Ton Roosendaal [Sat, 5 Jul 2003 20:38:31 +0000 (20:38 +0000)]
- bug #149.
  rendering the current view (view3d header, render) didn't render solid
  drawmode.

  found missing opengl initialization calls in opening renderwin.
  probably remains from ghost migration.

18 years ago- removed "SILLY CODE" comment. :-)
Ton Roosendaal [Sat, 5 Jul 2003 16:50:29 +0000 (16:50 +0000)]
- removed "SILLY CODE" comment. :-)

  it is from zr, a note to remind him to have better drawing of procuderal
  duplicators in Blender. the code below that comment was mostly a copy
  from code it used before already.
  writing it more efficient would give a gain of about 20 code lines...

18 years ago- fixed slow file reading of vertex deform groups.
Ton Roosendaal [Sat, 5 Jul 2003 16:41:04 +0000 (16:41 +0000)]
- fixed slow file reading of vertex deform groups.

  found out that per vertex, per deform group, a heavy function was called
  to get an address from a huge array. that address even didnt exist, was
  not written in the file... just removing the code makes .blend file
  reading happy again.

  check it by parenting a 40k vertex mesh, to an armature with "use
  armature" and "create vertex groups". save and load file.

18 years ago- included missing <string.h> (ah, these warnings...)
Ton Roosendaal [Sat, 5 Jul 2003 14:24:05 +0000 (14:24 +0000)]
- included missing <string.h> (ah, these warnings...)

18 years agoMultiline string literals are deprecated in gcc3.3, fixes build error
Wouter van Heyst [Sat, 5 Jul 2003 11:27:50 +0000 (11:27 +0000)]
Multiline string literals are deprecated in gcc3.3, fixes build error

18 years agoPatch provided by Jacques Beaurain (thanks!) to fix bug #322. I've added
Ton Roosendaal [Sat, 5 Jul 2003 11:15:49 +0000 (11:15 +0000)]
Patch provided by Jacques Beaurain (thanks!) to fix bug #322. I've added
the text below as comment:

adding a glFinish() here is to prevent Geforce in 'full scene antialias' mode
from antialising the Blender window. Officially a swapbuffers does a glFinish
itself, so this feels really like a hack... but it won't harm. (ton)

18 years ago- fixed small bug in menu button (preset dirs) in fileselect. When the menu
Ton Roosendaal [Sat, 5 Jul 2003 10:50:42 +0000 (10:50 +0000)]
- fixed small bug in menu button (preset dirs) in fileselect. When the menu
  is empty (no $HOME/.Bfs and first time use of FileSelect) it was empty,
  causing a nasty drawing error.
  It now doesn't draw the menubutton when there are no preset dirs yet.

- removed 'unused variable' warnings from space.c

18 years agoIconified windows do not get window focus.
Chris Want [Sat, 5 Jul 2003 02:28:52 +0000 (02:28 +0000)]
Iconified windows do not get window focus.

18 years agoExppython: small update to fix a warning and a compile problem.
Willian Padovani Germano [Sat, 5 Jul 2003 01:44:32 +0000 (01:44 +0000)]
Exppython: small update to fix a warning and a compile problem.

18 years agoExppython:
Willian Padovani Germano [Sat, 5 Jul 2003 01:18:41 +0000 (01:18 +0000)]
Exppython:
- Continued getting rid of print methods and updating repr ones:
    Needed to fix crashes on Windows >= 98 systems.
- Found and fixed a few small memory leaks in EXPP_interface, related to
  execution of script links.

18 years ago- fixed bug that printed: "bad call to addqueue: 0 (18, 1)" when using
Ton Roosendaal [Fri, 4 Jul 2003 20:15:13 +0000 (20:15 +0000)]
- fixed bug that printed: "bad call to addqueue: 0 (18, 1)" when using
  layer buttons or the layer hotkeys 1-2-3-etc.

  was caused in space.c, view3dlock, untested call to addqueue.

18 years agodeleted print function, which caused crashes.
Jacques Guignot [Fri, 4 Jul 2003 16:09:34 +0000 (16:09 +0000)]
deleted print function, which caused crashes.
Objects are printed with the repr function.

18 years agoFollowing Willian's proposal,deleted the print function, which caused crashes.
Jacques Guignot [Fri, 4 Jul 2003 16:06:39 +0000 (16:06 +0000)]
Following Willian's proposal,deleted the print function, which caused crashes.
The objects are now printed with the repr function.

18 years agoExppython:
Willian Padovani Germano [Fri, 4 Jul 2003 02:56:07 +0000 (02:56 +0000)]
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.

18 years agoremoved extra tabs in the help function.
Kent Mein [Thu, 3 Jul 2003 13:53:11 +0000 (13:53 +0000)]
removed extra tabs in the help function.
It was
function()
{
blah
}

changed it to just
function()
{
blah
}

Kent

18 years ago- second change in vrml file writing. Thanks to testing of a user (don't have good
Ton Roosendaal [Thu, 3 Jul 2003 12:31:19 +0000 (12:31 +0000)]
- 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

18 years ago- exppython now can import modules contained in Blender Texts:
Willian Padovani Germano [Thu, 3 Jul 2003 01:42:00 +0000 (01:42 +0000)]
- 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.

18 years agoOPENGL headers include path is necessary on non-linuxes
Hans Lambermont [Wed, 2 Jul 2003 18:51:37 +0000 (18:51 +0000)]
OPENGL headers include path is necessary on non-linuxes

18 years ago- NMesh.PutRaw:
Willian Padovani Germano [Wed, 2 Jul 2003 18:26:21 +0000 (18:26 +0000)]
- 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

18 years ago- removed MXtools reference from Makefiles.
Ton Roosendaal [Wed, 2 Jul 2003 13:45:45 +0000 (13:45 +0000)]
- removed MXtools reference from Makefiles.

  This compiles so much faster! and hardly no useless warnings anymore
  now, so finally we can pay some attentian to real warnings.

18 years ago- removed the 'const' from arithb function declarations. it caused
Ton Roosendaal [Wed, 2 Jul 2003 13:37:03 +0000 (13:37 +0000)]
- 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!

18 years ago* Updated the version number of Blender to display 2.27.NewPy1 in the User
Michel Selten [Tue, 1 Jul 2003 17:05:28 +0000 (17:05 +0000)]
* 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!!!

18 years ago- small fix in Sys.c to compile on Windows:
Willian Padovani Germano [Tue, 1 Jul 2003 05:19:14 +0000 (05:19 +0000)]
- 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.

18 years agoJacques patch for initializing m_context as NULL
Chris Want [Tue, 1 Jul 2003 00:53:26 +0000 (00:53 +0000)]
Jacques patch for initializing m_context as NULL

18 years ago- added a call calc_meshverts_ext_f2(void) which:
Ton Roosendaal [Mon, 30 Jun 2003 19:51:18 +0000 (19:51 +0000)]
- 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)

18 years ago- accidentally commited an armature test call. sorry!
Ton Roosendaal [Mon, 30 Jun 2003 19:13:18 +0000 (19:13 +0000)]
- accidentally commited an armature test call. sorry!

18 years ago- this probably fixes export to vrml 1.0 output for textures (UV coords)
Ton Roosendaal [Mon, 30 Jun 2003 18:09:08 +0000 (18:09 +0000)]
- 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.

18 years ago- fixed bug #316
Ton Roosendaal [Mon, 30 Jun 2003 14:11:17 +0000 (14:11 +0000)]
- fixed bug #316

 just two icons that were switched accidentally

18 years ago* The Object.get and Object.getSelected will become obsolete in the future.
Michel Selten [Sun, 29 Jun 2003 19:57:41 +0000 (19:57 +0000)]
* The Object.get and Object.getSelected will become obsolete in the future.
  Added a warning about this - and to use the alternative function.

18 years agoMoved the OPENGL_HEADERS to the end of the include paths
Chris Want [Sun, 29 Jun 2003 17:21:38 +0000 (17:21 +0000)]
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.

18 years ago* Added some internal functions to the Material module
Michel Selten [Sun, 29 Jun 2003 16:49:21 +0000 (16:49 +0000)]
* 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.

18 years ago- Trying to fix something I caused:
Willian Padovani Germano [Sun, 29 Jun 2003 14:35:49 +0000 (14:35 +0000)]
- 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.

18 years ago* Added functionality to the Object module for getting and setting the name of
Michel Selten [Sat, 28 Jun 2003 15:10:23 +0000 (15:10 +0000)]
* 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.

18 years ago- Added user defined python dir to Python's sys.path:
Willian Padovani Germano [Sat, 28 Jun 2003 10:35:14 +0000 (10:35 +0000)]
- 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)

18 years ago- More renaming all around to follow our conventions
Willian Padovani Germano [Sat, 28 Jun 2003 07:38:21 +0000 (07:38 +0000)]
- More renaming all around to follow our conventions
- Implemented partially Blender.Sys
- Worked on issues related to sys, path
- Took away most "debug" printfs

18 years agoexpython needs pthreads to link under irix (prolly a python 2.2
Chris Want [Sat, 28 Jun 2003 03:47:05 +0000 (03:47 +0000)]
expython needs pthreads to link under irix (prolly a python 2.2
requirement).

18 years ago- associated .h file change for previous commit (bug #152).
Ton Roosendaal [Fri, 27 Jun 2003 15:29:36 +0000 (15:29 +0000)]
- 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! ;-)

18 years ago- bug #152
Ton Roosendaal [Fri, 27 Jun 2003 15:26:23 +0000 (15:26 +0000)]
- 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.

18 years agoDeleted a ^S that was causing it to not compile on my linux box.
Kent Mein [Fri, 27 Jun 2003 15:17:22 +0000 (15:17 +0000)]
Deleted a ^S that was causing it to not compile on my linux box.

Kent

18 years ago- when inserting first key for Bone in Armature, the IpoWindow now gets
Ton Roosendaal [Fri, 27 Jun 2003 12:58:21 +0000 (12:58 +0000)]
- 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...

18 years ago- part 1 of investigating how armatures work!
Ton Roosendaal [Fri, 27 Jun 2003 12:34:44 +0000 (12:34 +0000)]
- part 1 of investigating how armatures work!
  fixed display error; when adding a 'key' in a bone, it didnt update IpoWindow

18 years agoend of cleanup ; naming conventions, balance between c and h files
Jacques Guignot [Fri, 27 Jun 2003 07:46:29 +0000 (07:46 +0000)]
end of cleanup ; naming conventions, balance between c and h files

18 years agosome cleanup; naming conventions
Jacques Guignot [Fri, 27 Jun 2003 07:35:55 +0000 (07:35 +0000)]
some cleanup; naming conventions

18 years ago* Added function Blender.Draw.GetStringWidth().
Willian Padovani Germano [Thu, 26 Jun 2003 02:03:51 +0000 (02:03 +0000)]
* Added function Blender.Draw.GetStringWidth().
* Added doc and small test for Blender.Test
* trying changes to make Blender.Test.unlink() safer.

18 years ago* Documentation and a simple test for BGL.
Willian Padovani Germano [Wed, 25 Jun 2003 04:38:38 +0000 (04:38 +0000)]
* Documentation and a simple test for BGL.

18 years ago* Added more doc files for epydoc and a test for the camera module.
Willian Padovani Germano [Tue, 24 Jun 2003 07:21:17 +0000 (07:21 +0000)]
* 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.

18 years ago- added reference to genfile.c instructions
Ton Roosendaal [Mon, 23 Jun 2003 12:28:20 +0000 (12:28 +0000)]
- added reference to genfile.c instructions

18 years ago- renderwindow doesn't close when switching from dispwin to dispview
Ton Roosendaal [Mon, 23 Jun 2003 08:20:30 +0000 (08:20 +0000)]
- renderwindow doesn't close when switching from dispwin to dispview
- left out activating the mainwindow after rendering, this is confusing

18 years ago* Added matrix module
Michel Selten [Sun, 22 Jun 2003 20:14:11 +0000 (20:14 +0000)]
* 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

18 years agoremoved all references to FP_INFINITE, dirty hack I used before, which is not useful...
Jacques Guignot [Sun, 22 Jun 2003 19:52:04 +0000 (19:52 +0000)]
removed all references to FP_INFINITE, dirty hack I used before, which is not useful now.

: ----------------------------------------------------------------------

18 years ago* Added the definition of FP_INFINITE back to Metaball.c
Michel Selten [Sun, 22 Jun 2003 18:48:22 +0000 (18:48 +0000)]
* Added the definition of FP_INFINITE back to Metaball.c
  It really doesn't compile on some platforms if it isn't defined.

18 years ago* Fixes segfault caused in the Object.getParent function.
Michel Selten [Sun, 22 Jun 2003 18:34:36 +0000 (18:34 +0000)]
* 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)

18 years agobug fix
Jacques Guignot [Sun, 22 Jun 2003 16:23:58 +0000 (16:23 +0000)]
bug fix
-

18 years agonew module
Jacques Guignot [Sun, 22 Jun 2003 13:51:29 +0000 (13:51 +0000)]
new module
-

18 years agonex module
Jacques Guignot [Sun, 22 Jun 2003 13:51:01 +0000 (13:51 +0000)]
nex module

18 years ago- for test: action space has no 'winchange' callback now.
Ton Roosendaal [Sat, 21 Jun 2003 21:34:40 +0000 (21:34 +0000)]
- for test: action space has no 'winchange' callback now.
  well. the callback is empty!

18 years agotaking care of mist intensity in the render process
Jacques Guignot [Sat, 21 Jun 2003 20:57:16 +0000 (20:57 +0000)]
taking care of mist intensity in the render process

18 years agoa slider for controlling mist intensity
Jacques Guignot [Sat, 21 Jun 2003 20:54:33 +0000 (20:54 +0000)]
a slider for controlling mist intensity

18 years agoIntegration of the new modules
Jacques Guignot [Sat, 21 Jun 2003 20:47:12 +0000 (20:47 +0000)]
Integration of the new modules

18 years agoseveral bug fixes
Jacques Guignot [Sat, 21 Jun 2003 20:44:44 +0000 (20:44 +0000)]
several bug fixes

18 years ago- added (old supposed) option for uiDefBut to define the amount of digits
Ton Roosendaal [Sat, 21 Jun 2003 20:24:42 +0000 (20:24 +0000)]
- 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)

18 years agovery last test.
Jacques Guignot [Sat, 21 Jun 2003 16:11:50 +0000 (16:11 +0000)]
very last test.

18 years agocheck in test...
Jacques Guignot [Sat, 21 Jun 2003 16:09:21 +0000 (16:09 +0000)]
check in test...

18 years agoadded python test files
Jacques Guignot [Sat, 21 Jun 2003 16:07:55 +0000 (16:07 +0000)]
added python test files
these tests should be exhaustive

18 years ago*** empty log message ***
Jacques Guignot [Sat, 21 Jun 2003 11:44:10 +0000 (11:44 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jacques Guignot [Sat, 21 Jun 2003 11:34:43 +0000 (11:34 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jacques Guignot [Sat, 21 Jun 2003 11:27:19 +0000 (11:27 +0000)]
*** empty log message ***

18 years ago*** empty log message ***
Jacques Guignot [Sat, 21 Jun 2003 11:12:14 +0000 (11:12 +0000)]
*** empty log message ***

18 years ago- removed 'gldrawbuffer()' and 'glflush()' calls from main buttons loop.
Ton Roosendaal [Fri, 20 Jun 2003 12:49:36 +0000 (12:49 +0000)]
- 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!

18 years ago* Adding doc dir to exppython, with sample Camera.py file.
Willian Padovani Germano [Fri, 20 Jun 2003 02:01:22 +0000 (02:01 +0000)]
* Adding doc dir to exppython, with sample Camera.py file.
    We're testing the epydoc doc generator with good results.

18 years agoRolled back comments. According to new guidelines, no .c files
Casey Corn [Wed, 18 Jun 2003 03:48:55 +0000 (03:48 +0000)]
Rolled back comments.  According to new guidelines, no .c files
should contain doxygen comments.

18 years ago- fixed error, in 'z buffer' mode the bg color in 3d view was too bright
Ton Roosendaal [Sun, 15 Jun 2003 19:08:50 +0000 (19:08 +0000)]
- fixed error, in 'z buffer' mode the bg color in 3d view was too bright

18 years ago* Fixed compilation error. FP_INFINITE needs to be defined _after_ all header
Michel Selten [Sun, 15 Jun 2003 13:14:45 +0000 (13:14 +0000)]
* Fixed compilation error. FP_INFINITE needs to be defined _after_ all header
  files are included.

18 years agoDraw extra wire tuhopuu-style. Fixes Bug 244
Stefan Gartner [Sun, 15 Jun 2003 10:25:12 +0000 (10:25 +0000)]
Draw extra wire tuhopuu-style. Fixes Bug 244

18 years agoThe mipspro compiler also doesn't like FP_INFINITE,
Chris Want [Sun, 15 Jun 2003 06:18:21 +0000 (06:18 +0000)]
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.

18 years agofix the link target naming
Hans Lambermont [Sat, 14 Jun 2003 22:58:01 +0000 (22:58 +0000)]
fix the link target naming

18 years agoThis makes the new renderwin.c behavior work
Chris Want [Sat, 14 Jun 2003 22:47:54 +0000 (22:47 +0000)]
This makes the new renderwin.c behavior work
for windows-gcc.

18 years ago- Added exppython project to VC6
Simon Clitherow [Sat, 14 Jun 2003 15:52:53 +0000 (15:52 +0000)]
- 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

18 years ago- Fixed a compile error on Windows:
Simon Clitherow [Sat, 14 Jun 2003 15:20:53 +0000 (15:20 +0000)]
- Fixed a compile error on Windows:
  VC98 Win32 Platform SDK does not define FP_INFINITE!

  Anyone know if VC7 is C99 compliant?

18 years ago- removed test_break call from #ifdef POSIX part, to prevent double
Ton Roosendaal [Sat, 14 Jun 2003 14:49:12 +0000 (14:49 +0000)]
- removed test_break call from #ifdef POSIX part, to prevent double
  it now is a cross platform function again.

18 years ago- Holger's patch to enable ESC detection when rendering (Win32).
Simon Clitherow [Sat, 14 Jun 2003 13:34:35 +0000 (13:34 +0000)]
- Holger's patch to enable ESC detection when rendering (Win32).

18 years ago* Fixed crash on file image selectors:
Willian Padovani Germano [Sat, 14 Jun 2003 10:10:01 +0000 (10:10 +0000)]
* Fixed crash on file image selectors:
   The global python dict can't be cleaned before the callbacks are executed.

18 years ago- bug fix #257
Ton Roosendaal [Fri, 13 Jun 2003 19:56:15 +0000 (19:56 +0000)]
- bug fix #257
  crash when ESC out of FileSelect, while previous window Info (user settings)

18 years ago- fixed bug #228
Ton Roosendaal [Fri, 13 Jun 2003 16:51:22 +0000 (16:51 +0000)]
- fixed bug #228
  dispview mode now doesnt disappear immedately after render
  oh, what i hated that one!

18 years ago- again same commit, typo in comment was still there...
Ton Roosendaal [Fri, 13 Jun 2003 14:04:06 +0000 (14:04 +0000)]
- again same commit, typo in comment was still there...

18 years ago- fixed commenting in renderwin.c
Ton Roosendaal [Fri, 13 Jun 2003 13:54:08 +0000 (13:54 +0000)]
- fixed commenting in renderwin.c

18 years ago- restored functionality for ESC detection during rendering which doesnt
Ton Roosendaal [Fri, 13 Jun 2003 13:46:00 +0000 (13:46 +0000)]
- 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: ----------------------------------------------------------------------

18 years ago- at systems with an inverted-draw crosshair cursor (editmode) it was almost
Ton Roosendaal [Fri, 13 Jun 2003 13:43:27 +0000 (13:43 +0000)]
- 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.

18 years ago* Bugs item #169 fixed:
Willian Padovani Germano [Fri, 13 Jun 2003 04:21:48 +0000 (04:21 +0000)]
* 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.

18 years agoKester's patch, for FreeBSD from,
Kent Mein [Thu, 12 Jun 2003 19:17:33 +0000 (19:17 +0000)]
Kester's patch, for FreeBSD from,
 http://www.elysiun.com/forum/viewtopic.php?t=12096

Kent