blender.git
18 years agonew os x icons by xype
Stefan Gartner [Sun, 20 Jul 2003 13:38:51 +0000 (13:38 +0000)]
new os x icons by xype

18 years ago- changed button type for WorldButtns->misi to fit with the others. Just
Ton Roosendaal [Sun, 20 Jul 2003 08:58:42 +0000 (08:58 +0000)]
- changed button type for WorldButtns->misi to fit with the others. Just
  for a better looks.

18 years agoExppython:
Willian Padovani Germano [Sat, 19 Jul 2003 21:04:33 +0000 (21:04 +0000)]
Exppython:
  Still compilation problems, wrong type returned in a function.

18 years agoExppython:
Willian Padovani Germano [Sat, 19 Jul 2003 20:44:25 +0000 (20:44 +0000)]
Exppython:
- Trying to correct a compile problem. IpoCurve_Init wasn't declared in modules.h

18 years agoWARNING: with makefiles I could not get a stable blender compiled.
Ton Roosendaal [Sat, 19 Jul 2003 20:31:29 +0000 (20:31 +0000)]
WARNING: with makefiles I could not get a stable blender compiled.
         do a make clean in source/blender/ to be sure!

- Included the new shaders from Cessen... well, only the shader calls
  themselves. To make sure the shaders work I nicely integrated it

- MaterialButtons: layout changed a bit, but still resembles the old
  layout. The 'shader' options now are located together.

- Shaders are separated in 'diffuse' and 'specular'. You can combine them
  freely.

- diffuse Lambert: old shader
  diffuse Oren Nayar: new shader, gives sandy/silky/skinny material well
  diffuse Toon: for cartoon render

- specular Phong: new spec, traditional 70ies spec
  specular CookTorr: a reduced version of cook torrance shading, does
                     off specular peak well
  specular Blinn: new spec, same features as CookTorr, but with extra
                  'refraction' setting
  specular Toon: new spec for cartoon render

- default blender starts with settings that render compatible!

- works in shaded view and preview-render

- works in unified render

Further little changes:

- removed paranoia compile warnings from render/loader/blenlib

- and the warnings at files I worked at were removed.

18 years ago- fixed bug in renderwin zoom function. You now can press 'Z' in a window
Ton Roosendaal [Sat, 19 Jul 2003 20:19:31 +0000 (20:19 +0000)]
- fixed bug in renderwin zoom function. You now can press 'Z' in a window
  again, and move your mouse around to scan the image.
  MiddleMouse works too, but less intuitive

- at some systems it is still slow, bad clipping code...

18 years ago- Blender in background render mode (blender -b) now reacts to CTRL+C
Ton Roosendaal [Sat, 19 Jul 2003 20:14:07 +0000 (20:14 +0000)]
- Blender in background render mode (blender -b) now reacts to CTRL+C
  again. You'll have to do it twice... first CTRL+C will send an internal
  break (exit render loops)
- I prefer this in foreground mode too, but Python uses it as well, to
  escape from loops. We have to fix this once.

18 years agoWorld : got rid of debug messages
Jacques Guignot [Sat, 19 Jul 2003 08:32:01 +0000 (08:32 +0000)]
World : got rid of debug messages
Blender : declatation of the module IpoCurve
Ipo : modifications (new attributes) to keep the compatibility with 227 api

18 years agoNex modules added to keep a minimal compatibility with 227 api
Jacques Guignot [Sat, 19 Jul 2003 08:29:55 +0000 (08:29 +0000)]
Nex modules added to keep a minimal compatibility with 227 api

18 years ago- fixed error message at OSX in interface.c, added a load of comments there
Ton Roosendaal [Fri, 18 Jul 2003 18:32:57 +0000 (18:32 +0000)]
- fixed error message at OSX in interface.c, added a load of comments there
  to understand the central loop better.

18 years agoAdded "Group selection" menu (SHIFT-G), which offers the following options:
Alexander Ewering [Fri, 18 Jul 2003 15:50:33 +0000 (15:50 +0000)]
Added "Group selection" menu (SHIFT-G), which offers the following options:

1 - Children
2 - Immediate Children
3 - Parent
4 - Objects on shared layers

1: Selects all direct children of the active object
2: Select all children, children's children etc. of the active object
3: Makes the parent of the current object active, and deselects the
   active object
4: Selects all objects that share at least one layer with the active object

Useful for stepping through object hierarchies and for quickly selecting
objects belonging together.

See my message on bf-committers as well.

18 years agoAdded a MEM_freeN call to sound_free_sound() to release bSound->stream
Alexander Ewering [Fri, 18 Jul 2003 15:30:12 +0000 (15:30 +0000)]
Added a MEM_freeN call to sound_free_sound() to release bSound->stream
created by audio_makestream(). Fixes "Err Totblck stream len..." messages
and memory leak.

18 years agoproperly fix the fix this time (I need more coffee...)
Stefan Gartner [Fri, 18 Jul 2003 14:43:18 +0000 (14:43 +0000)]
properly fix the fix this time (I need more coffee...)

18 years agofix sdl detection
Stefan Gartner [Fri, 18 Jul 2003 13:34:55 +0000 (13:34 +0000)]
fix sdl detection

18 years ago* fixed bug: pressing F11 in dispview mode opened a window
Ton Roosendaal [Fri, 18 Jul 2003 13:20:47 +0000 (13:20 +0000)]
* fixed bug: pressing F11 in dispview mode opened a window

* new feature: rendering large images now displays correctly zoomed down
  in an imagewindow. The fact that it didn't also caused unpredictable
  slowdowns at various systems (tested osx, win).
  Of course after rendering you can still zoom in/out as usual.

* there was code that limits the maximum size of an imagewindow, keeping
  a small border around it free. By increasing the border 15 pixels I got
  huge speedup at OSX. Still looks good though...
  Needs more research what is happening here, maybe we need a user setting
  for it... but i rather implement the usage of the internal ImageWindow
  first.
  Still unsolved: 24 bits windows opening... I don't dare yet hacking in it
  Ghost.

18 years agosome sdl related stuff:
Stefan Gartner [Fri, 18 Jul 2003 10:11:40 +0000 (10:11 +0000)]
some sdl related stuff:

* moved references to libSDL out of ifeq($(INTERNATIONAL), true) (win32)
and  ifeq($(WITH_FREETYPE2),true) (irix) conditionals in source/Makefile

* look for sdl in $(LCGDIR)/sdl if sdl-config isn't found

thanks to LarstiQ for doing most of the work

18 years ago- added 'Textured Solid' to the Draw mode popup (DKEY).
Simon Clitherow [Thu, 17 Jul 2003 19:25:36 +0000 (19:25 +0000)]
- added 'Textured Solid' to the Draw mode popup (DKEY).

18 years agoAdded $(NAN_SDLCFLAGS) to CPPFLAGS so that my machine
Kent Mein [Thu, 17 Jul 2003 14:47:19 +0000 (14:47 +0000)]
Added  $(NAN_SDLCFLAGS) to CPPFLAGS so that my machine
could find the SDL headers (SDL.h)

Kent

18 years agoFixed a couple more warnings.
Kent Mein [Thu, 17 Jul 2003 14:19:55 +0000 (14:19 +0000)]
Fixed a couple more warnings.

Kent

18 years agofixed a warning by adding a newline to end of file.
Kent Mein [Thu, 17 Jul 2003 13:47:58 +0000 (13:47 +0000)]
fixed a warning by adding a newline to end of file.

Kent

18 years ago- Made references to SoundSystem look in intern instead of gameengine for
Chris Want [Thu, 17 Jul 2003 03:36:25 +0000 (03:36 +0000)]
- Made references to SoundSystem look in intern instead of gameengine for
all platforms. Please test on non-linux/non-irix.
- Changed another libsoundsystem.a to libSoundSystem.a.
- Removed comments refering to fmod (I assume it's not coming back ever)

18 years agoChanged some occurances of the lib 'soundsystem' to 'SoundSystem'
Chris Want [Thu, 17 Jul 2003 02:36:56 +0000 (02:36 +0000)]
Changed some occurances of the lib 'soundsystem' to 'SoundSystem'
(seems half of the references were one way, the other half were
the other way). Also made irix link to $(OCGDIR)/intern/*SoundSystem/*
instead of $(OCGDIR)/gameengine/*SoundSystem/*

18 years agoExppython docs:
Willian Padovani Germano [Thu, 17 Jul 2003 00:26:33 +0000 (00:26 +0000)]
Exppython docs:
- Minor: fixed wrong url to www.python.org/doc (had written 'docs').

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.

Kent

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.

Kent

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
  source/blender/src/editsound.c.
* Removed the option for the openal check in configure.ac. It's needed now by
  SoundSystem
* 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 Blender.py). 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

Kent

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

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
"www.blender.org 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!
(See http://intrr.org/blender/audiosequencer.html)

Stuff that has been done:

./source/blender/blenloader/intern/writefile.c
./source/blender/blenloader/intern/readfile.c

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.

./source/blender/include/BSE_seqaudio.h
./source/blender/src/seqaudio.c

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.

./source/blender/makesdna/DNA_sound_types.h

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.

./source/blender/makesdna/DNA_scene_types.h

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

./source/blender/makesdna/DNA_sequence_types.h

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

./source/blender/makesdna/DNA_userdef_types.h
./source/blender/src/usiblender.c

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

./source/blender/makesdna/DNA_space_types.h
./source/blender/src/filesel.c

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

./source/blender/src/editsound.c

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

./source/blender/src/editipo.c
./source/blender/src/drawseq.c
./source/blender/src/editnla.c
./source/blender/src/space.c
./source/blender/src/drawview.c
./source/blender/src/renderwin.c
./source/blender/src/headerbuttons.c

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

./source/blender/src/editseq.c

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

./source/blender/src/buttons.c

Added Scene-global audio sequencer settings in Sound buttons.

./source/blender/src/sequence.c

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)]
Exppython:
- "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)]
Exppython:
- A few more changes to integrate the documentation:
    Instructions to build it with epydoc are on the file Blender.py.

18 years agoExppython:
Willian Padovani Germano [Sat, 12 Jul 2003 18:02:54 +0000 (18:02 +0000)]
Exppython:
- 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'
rotation.

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'
  key.

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: http://developer.apple.com/documentation/mac/Text/Text-516.html
I am not sure how international this works...
For cross-platform convention, we'll use the Latin ascii set instead.
As defined at: http://www.ramsch.org/martin/uni/fmi-hp/iso8859-1.html

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