18 years agoSound support for irix
Chris Want [Wed, 16 Jul 2003 23:53:09 +0000 (23:53 +0000)]
Sound support for irix

18 years agoFurther fixes to the old makefiles.
Kent Mein [Wed, 16 Jul 2003 19:53:53 +0000 (19:53 +0000)]
Further fixes to the old makefiles.


18 years ago-SDL links now on windows for cygwin-msvc and cygwin-gcc.
Florian Eggenberger [Wed, 16 Jul 2003 19:53:48 +0000 (19:53 +0000)]
-SDL links now on windows for cygwin-msvc and cygwin-gcc.

18 years agoHopefully update for NaN Makefiles for the moving of SoundSystem.
Kent Mein [Wed, 16 Jul 2003 19:00:04 +0000 (19:00 +0000)]
Hopefully update for NaN Makefiles for the moving of SoundSystem.
I need to get openal working on my machine before I can test it so
if it doesn't work feel free to fix it.  Hopefully this will be
the majority of the stuff though.


18 years ago- moved the 'Enable All Codecs' button over in the info window (for Win32)
Simon Clitherow [Wed, 16 Jul 2003 18:35:12 +0000 (18:35 +0000)]
- moved the 'Enable All Codecs' button over in the info window (for Win32)

18 years ago* Updated the auto* build system to compile again.
Michel Selten [Wed, 16 Jul 2003 18:23:50 +0000 (18:23 +0000)]
* Updated the auto* build system to compile again.
  SoundSystem has been moved from source/gameengine to intern. This was needed
  because functionality from SoundSystem was needed by
* Removed the option for the openal check in It's needed now by
* Removed the functionality for checking if 'noaudio' was provied on the
  commandline. Now audio is default on.

18 years agoWas doing #include "FTF_api.h" instead of #include "FTF_Api.h"
Chris Want [Wed, 16 Jul 2003 04:53:15 +0000 (04:53 +0000)]
Was doing #include "FTF_api.h" instead of #include "FTF_Api.h"

18 years agoExppython docs:
Willian Padovani Germano [Wed, 16 Jul 2003 01:44:51 +0000 (01:44 +0000)]
Exppython docs:
- Added a very brief intro to the api doc and updated the command to generate
  the documentation (it's in a comment in Improved the NMesh ex.

18 years agoAdded newline to file (seeing tinderbox burn...) and
Rob Haarsma [Tue, 15 Jul 2003 15:09:40 +0000 (15:09 +0000)]
Added newline to file (seeing tinderbox burn...) and
declared the BMF_Font struct for proper headerfile handling.

18 years agoWas including BMF_api.h instead of BMF_Api.h
Kent Mein [Tue, 15 Jul 2003 14:43:18 +0000 (14:43 +0000)]
Was including BMF_api.h instead of BMF_Api.h


18 years agoRemoved the old INTERNATIONAL Drawstring constructions.
Rob Haarsma [Mon, 14 Jul 2003 13:48:44 +0000 (13:48 +0000)]
Removed the old INTERNATIONAL Drawstring constructions.
These are now handled through BIF_DrawString(...) in src/language.c,
where it chooses between the old BMF and the new FTF DrawString.

18 years ago- updated MSVC 6 project files to include the sequencer audio support
Simon Clitherow [Sun, 13 Jul 2003 21:48:05 +0000 (21:48 +0000)]
- updated MSVC 6 project files to include the sequencer audio support

18 years ago- Fixed two swapped array indices in seqaudio.c which prevented panning
Alexander Ewering [Sun, 13 Jul 2003 21:43:15 +0000 (21:43 +0000)]
- Fixed two swapped array indices in seqaudio.c which prevented panning
  from working correctly

- Added MKEY for muting audio strips (as they can't be part of a meta strip

18 years agoFinally changed the Blender version (BLENDER_VERSION) to 228!
Alexander Ewering [Sun, 13 Jul 2003 21:29:44 +0000 (21:29 +0000)]
Finally changed the Blender version (BLENDER_VERSION) to 228!
(Some of the audio features do a version check in do_versions
(usiblender.c, readfile.c) and depend on this to convert fields in older
(<2.28) files).

I also removed the "2.27.Newpy.1" line from headerbuttons.c, it now shows
" 228" again.

18 years agoCommit message and the brunt of the code courtesy of intrr, apologies for the
Wouter van Heyst [Sun, 13 Jul 2003 20:16:56 +0000 (20:16 +0000)]
Commit message and the brunt of the code courtesy of intrr, apologies for the
size of this;

Finally, the Sequencer audio support and global audio/animation sync stuff!

Stuff that has been done:


Added code to make it handle sounds used by audio strips, and to convert
Scene data from older (<2.28) versions to init Scene global audio settings
(Scene->audio) to defaults.


The main audio routines that start/stop/scrub the audio stream at
a certain frame position, provide the frame reference for the current
stream position, mix the audio, convert the audio, mixdown the audio
into a file.


Introduced new variables in the bSound struct to accomodate the sample
data after converted to the scene's global mixing format (stream, streamlen).
Also added a new flag SOUND_FLAGS_SEQUENCE that gets set if the Sound
belongs to a sequence strip.


Added AudioData struct, which holds scene-global audio settings.


Added support for audio strips. Some variables to hold Panning/Attenuation
information, position information, reference to the sample, and some flags.


Added a "Mixing buffer size" userpref. Made the versions stuff initialize
it to a default for versions <2.28.


Added a Cyan dot to .WAV files. Any other suggestions on a better color? :)


Changes (fixes) to the WAV file loader, re-enabled some gameengine code that
is needed for dealing with bSounds and bSamples.


 - Created two different wrappers for update_for_newframe(), one which scrubs
   the audio, one which doesn't.
 - Replaced some of the occurences of update_for_newframe() with
   update_for_newframe_muted(), which doesn't scrub the audio.
 - In drawview.c: Changed the synchronization scheme to get the current audio
   position from the audio engine, and use that as a reference for setting
   CFRA. Implements a/v sync and framedrop.
 - In editipo.c: Changed handling of Fac IPOs to be usable for audio strips as
   volume envelopes.
 - In space.c: Added the mixing buffer size Userpref, enabled audio scrubbing
   (update_for_newframe()) for moving the sequence editor framebar.


Added support for audio strips and a default directory for WAV files which
gets saved from the last Shift-A operation.


Added Scene-global audio sequencer settings in Sound buttons.


Various stuff that deals with handling audio strips differently than
usual strips.

18 years agoExppython:
Willian Padovani Germano [Sun, 13 Jul 2003 16:28:17 +0000 (16:28 +0000)]
- "last minute" updates to documentation and two modules.

18 years ago- fixed the output file path for python project (MSVC 6)
Simon Clitherow [Sun, 13 Jul 2003 11:23:36 +0000 (11:23 +0000)]
- fixed the output file path for python project (MSVC 6)

18 years agoforgotten to remove the calls to removed functions...
Jacques Guignot [Sat, 12 Jul 2003 21:31:55 +0000 (21:31 +0000)]
forgotten to remove the calls to removed functions...

18 years agoDoc for the world module. Got rid of some unuseful fields in World module.
Jacques Guignot [Sat, 12 Jul 2003 20:48:56 +0000 (20:48 +0000)]
Doc for the world module. Got rid of some unuseful fields in World module.
The last doc  ;-))

18 years agoExppython:
Willian Padovani Germano [Sat, 12 Jul 2003 18:21:07 +0000 (18:21 +0000)]
- A few more changes to integrate the documentation:
    Instructions to build it with epydoc are on the file

18 years agoExppython:
Willian Padovani Germano [Sat, 12 Jul 2003 18:02:54 +0000 (18:02 +0000)]
- More documentation files for epydoc.
- Few minor changes in other files.

18 years agoEffect module documentation. What can more tedious than writing docs ?...
Jacques Guignot [Sat, 12 Jul 2003 14:35:49 +0000 (14:35 +0000)]
Effect module documentation. What can more tedious than writing docs ?...

18 years ago- cleaned up MSVC 6 project files (removed non-existing .h files, etc)
Simon Clitherow [Sat, 12 Jul 2003 12:49:36 +0000 (12:49 +0000)]
- cleaned up MSVC 6 project files (removed non-existing .h files, etc)

18 years agoEXPYTHON in now the only python for the Makefiles build.
Chris Want [Sat, 12 Jul 2003 00:46:43 +0000 (00:46 +0000)]
EXPYTHON in now the only python for the Makefiles build.

18 years ago- removed exppython project (which is now the new BPY_python project!)
Simon Clitherow [Fri, 11 Jul 2003 20:18:47 +0000 (20:18 +0000)]
- removed exppython project (which is now the new BPY_python project!)

18 years ago- removed old freeze and python projects, exppython now compiles by
Simon Clitherow [Fri, 11 Jul 2003 20:10:24 +0000 (20:10 +0000)]
- removed old freeze and python projects, exppython now compiles by
  default. (MSVC 6)

18 years ago* selecting objects has a different frontbuffer drawing handling now.
Ton Roosendaal [Fri, 11 Jul 2003 20:02:52 +0000 (20:02 +0000)]
* selecting objects has a different frontbuffer drawing handling now.
  instead of drawing everything again, in all windows, it restricts to
  the active and previous active object. when there are more objects to
  be redrawn, it does a normal swapbuffers.
  Result is it all redraws & selects a lot faster in complex scenes

* Little fix in "BallTable" routine when moving mouse vertical out of
  the 3d window.

18 years ago- removed freeze project from intern build (MSVC 6)
Simon Clitherow [Fri, 11 Jul 2003 19:34:20 +0000 (19:34 +0000)]
- removed freeze project from intern build (MSVC 6)

18 years ago* from Douglas Bischoff: improved tooltip descriptions.
Ton Roosendaal [Fri, 11 Jul 2003 17:34:08 +0000 (17:34 +0000)]
* from Douglas Bischoff: improved tooltip descriptions.

18 years ago* fixed bug "turntable deviation" #364
Ton Roosendaal [Fri, 11 Jul 2003 16:50:31 +0000 (16:50 +0000)]
* fixed bug "turntable deviation" #364

In fact, I made it working different, much more cooler!

-------The BallTable Method TM (patent pending)------------

This is a hybrid of the old turntable method (a virtual camara that rotates
around a table) and the trackball method. Mouse moving horizontal, gives
the turntable effect, but with vertical movement it works like a trackball.
So, vertically moving in the middle of the window exactly mimics old
turntable method, moving vertically in the window edge gives a 'twist'

Try the turntable for fun! (is in user settings menu)

18 years ago* fixed code that tried to restore material links, after radiosity, and
Ton Roosendaal [Fri, 11 Jul 2003 12:45:04 +0000 (12:45 +0000)]
* fixed code that tried to restore material links, after radiosity, and
  when you want a new Mesh.
  Problem happened when over 16 materials are used for 'collect meshes'.
  Blender does not support (yet) more than 16. For clarity, I added a
  warning for the user when this occurs

  (was bug 370)

18 years agochanged the get/setSize to get/setWinSize. Tks Willian.
Jacques Guignot [Thu, 10 Jul 2003 22:03:27 +0000 (22:03 +0000)]
changed the get/setSize to get/setWinSize. Tks Willian.

18 years agodocumentation for the Metaball module.
Jacques Guignot [Thu, 10 Jul 2003 21:56:03 +0000 (21:56 +0000)]
documentation for the Metaball module.

18 years ago- fixed a problem with face select and vertex paint modes by removing
Simon Clitherow [Thu, 10 Jul 2003 20:53:59 +0000 (20:53 +0000)]
-  fixed a problem with face select and vertex paint modes by removing
   the check for nors != NULL (sorry miencho!).

18 years ago* removed warning from Glut "unknown key" when pressing the 'paragraph'
Ton Roosendaal [Thu, 10 Jul 2003 20:45:17 +0000 (20:45 +0000)]
* removed warning from Glut "unknown key" when pressing the 'paragraph'

18 years ago* cursor now moves with arrow keys again for OSX
Ton Roosendaal [Thu, 10 Jul 2003 20:34:41 +0000 (20:34 +0000)]
* cursor now moves with arrow keys again for OSX
* this apple method to do it generates unwanted events, so it could not
  be used for the menu mouse-move trick. this is #ifdeffed
* we should re-evaluate if this mousemove should remain in blender...
  there are better ways (scrolling contents of pup)

* plus: removed warnings from drawview.c

18 years ago* Object_getInverseMatrix now returns a correct matrix.
Michel Selten [Thu, 10 Jul 2003 20:00:51 +0000 (20:00 +0000)]
* Object_getInverseMatrix now returns a correct matrix.
  The problem was that the memory was allocated at the stack, but after the
  Python object was created, the pointer to the memory goes invalid.

  Thanks to Kester Maddoc for providing a patch - almost 2 weeks ago. Ouch,
  I should read my mail a little bit better.

18 years agoWhen cutting out a part of a python script the old textbuffer was still used when...
Florian Eggenberger [Thu, 10 Jul 2003 18:32:42 +0000 (18:32 +0000)]
When cutting out a part of a python script the old textbuffer was still used when executing the script. Adding a txt_make_dirty() to txt_cut_sel() helped.

18 years ago2 new functions : getSize and setSize
Jacques Guignot [Thu, 10 Jul 2003 13:00:44 +0000 (13:00 +0000)]
2 new functions : getSize and setSize

18 years agoanged CurveCreatePyObject to Curce_CreatePyObject
Jacques Guignot [Thu, 10 Jul 2003 08:27:34 +0000 (08:27 +0000)]
anged CurveCreatePyObject to Curce_CreatePyObject

18 years agoremoved a wrong parameter name
Jacques Guignot [Thu, 10 Jul 2003 00:28:03 +0000 (00:28 +0000)]
removed a wrong parameter name

18 years agoDocumentation fot the Ipo module
Jacques Guignot [Thu, 10 Jul 2003 00:23:11 +0000 (00:23 +0000)]
Documentation fot the Ipo module

18 years agominor changes; deleted unuseful functions.
Jacques Guignot [Thu, 10 Jul 2003 00:22:17 +0000 (00:22 +0000)]
minor changes; deleted unuseful functions.

18 years agoremoved a function prototype which was already in modules.h
Jacques Guignot [Wed, 9 Jul 2003 23:21:41 +0000 (23:21 +0000)]
removed a function prototype which was already in modules.h

18 years agoname changes for Curve functions (added an underscore)
Jacques Guignot [Wed, 9 Jul 2003 23:19:18 +0000 (23:19 +0000)]
name changes for Curve functions (added an underscore)

18 years agodocumentation for the module Curve, to be formatted with epydoc
Jacques Guignot [Wed, 9 Jul 2003 21:20:01 +0000 (21:20 +0000)]
documentation for the module Curve, to be formatted with epydoc

18 years agochange the values of the functions get/set size/loc/rot to lists.
Jacques Guignot [Wed, 9 Jul 2003 21:18:34 +0000 (21:18 +0000)]
change the values of the functions get/set size/loc/rot to lists.
added the attributes loc, rot, size
changed the parameters of getControlPoint to int int list
cosmetic changes in names

18 years ago- this smartass hack, which was removed from editscreen.c, was needed for
Ton Roosendaal [Wed, 9 Jul 2003 20:09:07 +0000 (20:09 +0000)]
- this smartass hack, which was removed from editscreen.c, was needed for
  the textwindow. doh!

  now you can press alt+p in textwindow again!

18 years ago* F11 now nicely pops/pushes a window again
Ton Roosendaal [Wed, 9 Jul 2003 16:02:39 +0000 (16:02 +0000)]
* F11 now nicely pops/pushes a window again
* works (for OSX) only with the commit I did in Ghost 1 minute ago!
* needs to be checked for all other OS's.

18 years ago* Added a roman -> latin charset convertor.
Ton Roosendaal [Wed, 9 Jul 2003 16:01:27 +0000 (16:01 +0000)]
* Added a roman -> latin charset convertor.
MacOSX returns a Roman charset with kEventParamKeyMacCharCodes
as defined here:
I am not sure how international this works...
For cross-platform convention, we'll use the Latin ascii set instead.
As defined at:

* changed window-pop behaviour, it now also activates the window for input
  (OSX only)

18 years ago* typing special characters in 3d font now works again. For OSX ghost will
Ton Roosendaal [Wed, 9 Jul 2003 15:54:52 +0000 (15:54 +0000)]
* typing special characters in 3d font now works again. For OSX ghost will
  use the internal standards for ascii values > 127
* someone has to check how X11 returns these values! Otherise the old
  Blender codes (alt+s = german S) will still work though.
* still have to check this for the buttons!

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 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 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
* replaced with nice local (uiBlock) storage of what goes on in drawing.
  it now only calls a glDrawBuffer() and glFinish() when it is actually

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,

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
* 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

  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)]
- 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)]
- 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

changed it to just


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.

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
* 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 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

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.