Commit Graph

49420 Commits

Author SHA1 Message Date
Jean-Luc Peurière
ac47d081c4 post 2.33 release commit of the modified SCons files for Os X.
Sconstruct modified so that Blender build on 10.3 without any additionnal
download than source + darwin libs.
defaults settings correct for 10.3.

fixed bug # 1260 : added MT_NDEBUG flag at top-level.
2004-05-08 01:34:39 +00:00
Kester Maddock
bd50d2f9cd Delete all SOLID shapes at the end of the game engine. They were all being leaked! 2004-05-08 00:25:20 +00:00
Ton Roosendaal
83907fc5f7 Num-slider buts and CTRL didn't work when range was > 1.0 2004-05-07 19:56:26 +00:00
Ton Roosendaal
16c783d950 Added two more mapping types to World buttons for sky render.
"Sphere": spherical mapping for a 360 degree panorama
"Tube": cylindrical mapping for a 360 degree panorama

Both mappings by default do only the sky (upper) hemisphere. The color
below is same as regular Horiz and Zenith colors, useful for setting
an AO effect.

Sample pics:
http://www.1000skies.com/fullpanos/index.htm (commercial)
2004-05-07 18:03:40 +00:00
Ton Roosendaal
934bdb5ee9 When pressing ALT+A, i noticed other windows advance 1 frame. This is
caused by swapbuffers system, which redraws the other windows when the
CFRA timer already advanced 1 frame.

Added an extra redraw to fix this. Could fix report #964, will wait for
JWalton to verify.
2004-05-07 11:59:41 +00:00
Ton Roosendaal
e7f6ebb7ca Improved three tooltips:
- Material Shadow and Traceable still mentioned old shadowbuffer methods
- AngMap option in World mapping has better explanation
2004-05-07 11:35:38 +00:00
Simon Clitherow
9936d28382 - switched a strcat and strcpy pair... doh! (well spotted b-ix!)
- appended "./blender" to %HOME% return for Win32. Is consistant now
  with the other returns for Win.
2004-05-06 21:40:38 +00:00
Ton Roosendaal
8d18aade3f potential fix for windows crash when it encounters file dates beyond
the nice limited unix range (1970-2034 or so).
Zr will check!
2004-05-06 20:53:05 +00:00
Ton Roosendaal
ef0adbd15f Fix related to audio crash. Made the check for when audio_init runs a
tinsy bit more strict. Now it did it for each ALT+A play anim.

I leave the debug print in still, for testing.
2004-05-06 19:57:21 +00:00
Ton Roosendaal
dba290879d bug fix #1237
A too strict pointer check caused action browsing in action-window not
to work when object didn't have action yet.
2004-05-06 19:42:38 +00:00
Ton Roosendaal
a686d5cb45 fix for bug #1223
Bump was inverted in previewrender for planar preview.
2004-05-06 19:31:16 +00:00
Ton Roosendaal
002a855275 fix for bug #1226:
With subsurf level 0, in editmode, the hidden faces where still drawn.
Was caused because subsurfing code then is skipped.
2004-05-06 17:32:17 +00:00
Kester Maddock
5813ae55d4 Fix Bug #1243: http://projects.blender.org/tracker/?func=detail&aid=1243&group_id=9&atid=125
Use external velocity (velocity set by the game engine - not the physics engine) for Motion Actuators.
2004-05-06 02:13:07 +00:00
Daniel Dunbar
f54160ca2f - PyInt_AsLong() was called on a possibly NULL object, this may be
a checked error but is no good anyway
 - Bone_dealloc free'd Blender's actual copy of the Bone! AGH!!!!
 - On syntax errors the python global dictionary was being free'd
    twice. AGH!!! again!

Can someone from the Python team please audit this.
2004-05-05 03:22:22 +00:00
Daniel Dunbar
baa54a9a9f - made a VERY IMPORTANT change to usiblender.c 2004-05-04 21:16:39 +00:00
Daniel Dunbar
993a438b3f - change to non-typedef'ng method of declaring BCursor in winlay.h
(OSX doesn't like)
2004-05-04 19:40:11 +00:00
Daniel Dunbar
14a46b70d3 - removed debug prints that had no meaning to most people
- zr: you lazy developer, you shouldn't commit code that has debug prints
     in it. you ruined my life!!!!
2004-05-04 19:13:35 +00:00
Daniel Dunbar
400cd96eff - ugh, do not break open an abstract data type just to add one single
function, especially when you are introducing extra dependencies
    (GHOST) on files that should not have them.
2004-05-04 19:10:55 +00:00
Kent Mein
84009013f6 Added Camera Fly Mode (Shift F) to the toolbox.
Kent
2004-05-04 16:25:35 +00:00
Kent Mein
ce816de41a Removed the printf that was causing about 50000
"Color depth R=8 G=8 B=8"  lines.....

Kent
2004-05-04 15:04:29 +00:00
Daniel Dunbar
c80ec7b808 - fix silly scriptlink running code, pulled out convenient
ID_asPyObject and ID_getScriptlinks functions,
	moved code into BPY_interface.c (where it fit better)
 - EXPP_interface.c is essentially obselete now
 - I didn't test this, I'm sure I broke something, if a Pythonista
	could comment that would be nice (oh and the maintainer too).
2004-05-04 14:27:41 +00:00
Kester Maddock
648c21947c Use a better compare function for RAS_IPolygonMaterial
Fix sharing verticies - must test pos, normal, uv & colour before sharing (not just index)
2004-05-04 13:17:46 +00:00
Kester Maddock
f03fa79d28 Fix for bug #945 getVertexArrayLength(x) returns different values on different runs of the game engine.
http://projects.blender.org/tracker/index.php?func=detail&aid=945&group_id=9&atid=125

The material buckets were being sorted by pointer (ie their location in memory.)

Also fixed find shared verticies.
2004-05-04 09:34:02 +00:00
Chris Want
79f3e88021 Build blender with solid-based gameengine on irix using pre-compiled
libs. I turned off the automatic building of solid in extern/ for
irix since the vendor supplied build system does not work well.

Note to JW: this can be built with either mipspro 7.3 or 7.4
(I needed to archive solid with "CC -ar ..." for this to work
with 7.3).
2004-05-04 04:55:24 +00:00
Ton Roosendaal
c0a7891382 Apparently the sequencer has its own audiosystem, so the change I did
for init sound only when needed, was not catched by sequencer.

Somehow, however, the SND_xxx library needs to be set when using the
sequencer... so, here a patch!
2004-05-03 21:21:29 +00:00
Brecht Van Lommel
0c64d26db3 Fixed a bug where From Window mapping in perspective view would give strange
results, caused by a little typo. The solution was proposed by bjornmose.
2004-05-03 13:23:19 +00:00
Kester Maddock
08c14c7ca0 Mouse Wheel Support for the Game Engine.
This adds "Wheel Up" and "Wheel Down" as choices to the Mouse sensor brick.
2004-05-02 23:45:03 +00:00
Chris Want
45a240260e Check that deformer is an armature defore updating the displists
of it's children (gives speed up for alt-A, animation rendering).
2004-05-02 22:03:22 +00:00
Joseph Gilbert
5a4e574b81 - Documentation for the new python API 2004-05-02 14:29:31 +00:00
Ton Roosendaal
e7df984c16 Changes for OSX compiling with Makefiles;
- support 2.3 python
- use -O2 for all
- fixed reference to SOLID.h
2004-05-01 16:52:29 +00:00
Hans Lambermont
dcb83e27a2 - use SDL sound on FreeBSD too.
- add solid include path to unix common makefile ... this is not FreeBSD
  specific, so I'm a bit confused as this wasn't corrected before.
2004-04-30 17:50:48 +00:00
Ton Roosendaal
298922ce39 Splash! :)
Thanks Piotr Kordala for the great artwork.
2004-04-30 11:52:08 +00:00
Chris Want
bfc6fbc573 Make python 2.3 the default for the irix build. 2004-04-30 02:12:28 +00:00
Ton Roosendaal
4c423081b2 Fix committed a while ago, revision 1.52, still set a bluroffset in a
very unexpected location, causing small offset in rendered sub-pixel,
which showed only up raytracing a very detailed object with small
faces... ugh!

(Thanks [A]ndy, sorry Desoto! :-)
2004-04-29 22:31:48 +00:00
Ton Roosendaal
954cf702d6 Upped version to 233 for in header in Blender
(Warn: still to do: splash!)
2004-04-29 17:14:31 +00:00
Ton Roosendaal
33abfc8015 World->physicsEngine is SUMO when you create new one. 2004-04-29 17:13:50 +00:00
Ton Roosendaal
94e57dbe0d Noted by Desoto: new 'Checker' option for Image repeat could use better
preview.
2004-04-29 16:33:08 +00:00
Ton Roosendaal
97f2cf05f5 Fix #1207
Flag for 'only shadow' was still working when lamp type switched to
Hemi. Also 'only shadow' didnt work yet for ray_shadow Spot lamp.
2004-04-29 16:20:34 +00:00
Ton Roosendaal
d6eeceb83d Fix #1205
Array with 'auto' names for textures didn't have the new names yet
(musgrave, voronoi, distnoise)
2004-04-29 15:56:26 +00:00
Ton Roosendaal
813352d677 fix #1204
Two typos in tooltips.
2004-04-29 15:52:11 +00:00
Kester Maddock
d7e6a3dd47 Fix blenderplayer unable to load .blend files (only runtimes!) 2004-04-29 10:51:02 +00:00
Stephen Swaney
2609a608bb fix for #1123 by Roland Hess (harkyman)
Testing has not convinced me this is a complete solution to the
Ipo Curve handle issue, but it does seem to make things
better for curves created via python.  We will probably need to revisit
this, especially if we expose the curve handles in the bpy interface.
2004-04-29 04:50:28 +00:00
Stephen Swaney
1e75dbc0a1 bump version number 2004-04-29 01:56:55 +00:00
Ton Roosendaal
8f4f2e5235 Correct icons for OSX 2004-04-28 21:19:18 +00:00
Ton Roosendaal
02ba73aaad Sneaked in new feature (request samo):
The Image texture repeat options, now allow a "Checker" repeat. With
odd and even tiles set separately, and a size button to set a
'Mortar' inbetween tiles.

http://www.blender3d.org/cms/Render_engine_features.215.0.html

Also fixed bug: using 'CalcAlpha' option for image textures didn't give
antialised edges for image.
2004-04-28 18:08:34 +00:00
Ton Roosendaal
0da09b4299 Bug 1203
Error in code invoked by menu:
View3d header -> Select -> Groups -> Parent
There was a call to draw an object in frontbuffer, whilst the header
was still active.
Not needed, because full redraw event was sent too.
2004-04-28 17:35:35 +00:00
Ton Roosendaal
07b6ca41c8 Bug fix 1202
Sample file showed UV-textured Subsurf, in 'Potato' texture view. When
separating part of it in editmode, a null pointer was referenced in
drawing code.
2004-04-28 17:26:30 +00:00
Kester Maddock
83b17b9f4d Fix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Check for Actor && Dynamic to enable dynamic.
2004-04-28 09:08:42 +00:00
Ton Roosendaal
0bf41c06cd Error in popup menu for new Musgrave texture. The order was wrong, and the
button values where wrong... big messup!
Only thing that actually changes is that now the Musgrave names suddenly
are different.

Thanks Desoto for finding it!
2004-04-27 19:42:41 +00:00
Ton Roosendaal
ef4a6c3551 Bug 1199
Joining meshes could crash when 1 had vertexgroups, other not.
The first then should have been appended from other file, to make
it more complex. :)

Crash caused by reading NULL pointer.
2004-04-27 19:30:16 +00:00