blender-staging.git
16 years ago* bump VERSION to 2.33
Nathan Letwory [Fri, 7 May 2004 13:50:22 +0000 (13:50 +0000)]
* bump VERSION to 2.33
* change python2.2 in python2.3 for win32

16 years agoWhen pressing ALT+A, i noticed other windows advance 1 frame. This is
Ton Roosendaal [Fri, 7 May 2004 11:59:41 +0000 (11:59 +0000)]
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.

16 years agoImproved three tooltips:
Ton Roosendaal [Fri, 7 May 2004 11:35:38 +0000 (11:35 +0000)]
Improved three tooltips:
- Material Shadow and Traceable still mentioned old shadowbuffer methods
- AngMap option in World mapping has better explanation

16 years ago- switched a strcat and strcpy pair... doh! (well spotted b-ix!)
Simon Clitherow [Thu, 6 May 2004 21:40:38 +0000 (21:40 +0000)]
- 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.

16 years agopotential fix for windows crash when it encounters file dates beyond
Ton Roosendaal [Thu, 6 May 2004 20:53:05 +0000 (20:53 +0000)]
potential fix for windows crash when it encounters file dates beyond
the nice limited unix range (1970-2034 or so).
Zr will check!

16 years agoFix related to audio crash. Made the check for when audio_init runs a
Ton Roosendaal [Thu, 6 May 2004 19:57:21 +0000 (19:57 +0000)]
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.

16 years agobug fix #1237
Ton Roosendaal [Thu, 6 May 2004 19:42:38 +0000 (19:42 +0000)]
bug fix #1237

A too strict pointer check caused action browsing in action-window not
to work when object didn't have action yet.

16 years agofix for bug #1223
Ton Roosendaal [Thu, 6 May 2004 19:31:16 +0000 (19:31 +0000)]
fix for bug #1223

Bump was inverted in previewrender for planar preview.

16 years agofix for bug #1226:
Ton Roosendaal [Thu, 6 May 2004 17:32:17 +0000 (17:32 +0000)]
fix for bug #1226:
With subsurf level 0, in editmode, the hidden faces where still drawn.
Was caused because subsurfing code then is skipped.

16 years agoMember added, who wasnt included due to wrong subscription.
Ton Roosendaal [Thu, 6 May 2004 11:15:04 +0000 (11:15 +0000)]
Member added, who wasnt included due to wrong subscription.

16 years agoFix Bug #1243: http://projects.blender.org/tracker/?func=detail&aid=1243&group_id...
Kester Maddock [Thu, 6 May 2004 02:13:07 +0000 (02:13 +0000)]
Fix Bug #1243: 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.

16 years agoEnable doubles internally in Solid for the Makefile build system.
Kester Maddock [Wed, 5 May 2004 04:12:53 +0000 (04:12 +0000)]
Enable doubles internally in Solid for the Makefile build system.

16 years ago - PyInt_AsLong() was called on a possibly NULL object, this may be
Daniel Dunbar [Wed, 5 May 2004 03:22:22 +0000 (03:22 +0000)]
 - 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.

16 years ago - made a VERY IMPORTANT change to usiblender.c
Daniel Dunbar [Tue, 4 May 2004 21:16:39 +0000 (21:16 +0000)]
 - made a VERY IMPORTANT change to usiblender.c

16 years ago - change to non-typedef'ng method of declaring BCursor in winlay.h
Daniel Dunbar [Tue, 4 May 2004 19:40:11 +0000 (19:40 +0000)]
 - change to non-typedef'ng method of declaring BCursor in winlay.h
     (OSX doesn't like)

16 years ago - removed debug prints that had no meaning to most people
Daniel Dunbar [Tue, 4 May 2004 19:13:35 +0000 (19:13 +0000)]
 - 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!!!!

16 years ago - ugh, do not break open an abstract data type just to add one single
Daniel Dunbar [Tue, 4 May 2004 19:10:55 +0000 (19:10 +0000)]
 - 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.

16 years agoShortened up the Makefile since freebsd,linux and solaris do the
Kent Mein [Tue, 4 May 2004 16:26:52 +0000 (16:26 +0000)]
Shortened up the Makefile since freebsd,linux and solaris do the
same stuff:
Basically use this instead of seperate sections for each platform.
  ifeq ($(OS),$(findstring $(OS), "linux freebsd solaris"))

Kent

16 years agoAdded Camera Fly Mode (Shift F) to the toolbox.
Kent Mein [Tue, 4 May 2004 16:25:35 +0000 (16:25 +0000)]
Added Camera Fly Mode (Shift F) to the toolbox.

Kent

16 years agoRemoved the printf that was causing about 50000
Kent Mein [Tue, 4 May 2004 15:04:29 +0000 (15:04 +0000)]
Removed the printf that was causing about 50000
"Color depth R=8 G=8 B=8"  lines.....

Kent

16 years ago - fix silly scriptlink running code, pulled out convenient
Daniel Dunbar [Tue, 4 May 2004 14:27:41 +0000 (14:27 +0000)]
 - 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).

16 years agoUse a better compare function for RAS_IPolygonMaterial
Kester Maddock [Tue, 4 May 2004 13:17:46 +0000 (13:17 +0000)]
Use a better compare function for RAS_IPolygonMaterial
Fix sharing verticies - must test pos, normal, uv & colour before sharing (not just index)

16 years agoFix for bug #945 getVertexArrayLength(x) returns different values on different runs...
Kester Maddock [Tue, 4 May 2004 09:34:02 +0000 (09:34 +0000)]
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.

16 years agoBuild blender with solid-based gameengine on irix using pre-compiled
Chris Want [Tue, 4 May 2004 04:55:24 +0000 (04:55 +0000)]
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).

16 years agoApparently the sequencer has its own audiosystem, so the change I did
Ton Roosendaal [Mon, 3 May 2004 21:21:29 +0000 (21:21 +0000)]
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!

16 years ago- build qhull and solid (next to ode)
Hans Lambermont [Mon, 3 May 2004 17:58:36 +0000 (17:58 +0000)]
- build qhull and solid (next to ode)

16 years agoFixed a bug where From Window mapping in perspective view would give strange
Brecht Van Lommel [Mon, 3 May 2004 13:23:19 +0000 (13:23 +0000)]
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.

16 years ago- add 'tar file changed while reading' remark and a commented workaround
Hans Lambermont [Mon, 3 May 2004 08:12:40 +0000 (08:12 +0000)]
- add 'tar file changed while reading' remark and a commented workaround

16 years agobumped VERSION to 2.33-cvs and enable gameengine+solid per default for Linux
Nathan Letwory [Mon, 3 May 2004 06:11:58 +0000 (06:11 +0000)]
bumped VERSION to 2.33-cvs and enable gameengine+solid per default for Linux

16 years agoProjectfiles update for Python 2.3.X
Martin Poirier [Mon, 3 May 2004 01:37:50 +0000 (01:37 +0000)]
Projectfiles update for Python 2.3.X

16 years agoMouse Wheel Support for the Game Engine.
Kester Maddock [Sun, 2 May 2004 23:45:03 +0000 (23:45 +0000)]
Mouse Wheel Support for the Game Engine.

This adds "Wheel Up" and "Wheel Down" as choices to the Mouse sensor brick.

16 years agoCheck that deformer is an armature defore updating the displists
Chris Want [Sun, 2 May 2004 22:03:22 +0000 (22:03 +0000)]
Check that deformer is an armature defore updating the displists
of it's children (gives speed up for alt-A, animation rendering).

16 years ago- Documentation for the new python API
Joseph Gilbert [Sun, 2 May 2004 14:29:31 +0000 (14:29 +0000)]
- Documentation for the new python API

16 years agoChanges for OSX compiling with Makefiles;
Ton Roosendaal [Sat, 1 May 2004 16:52:29 +0000 (16:52 +0000)]
Changes for OSX compiling with Makefiles;
- support 2.3 python
- use -O2 for all
- fixed reference to SOLID.h

16 years ago- use SDL sound on FreeBSD too.
Hans Lambermont [Fri, 30 Apr 2004 17:50:48 +0000 (17:50 +0000)]
- 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.

16 years agoSplash! :)
Ton Roosendaal [Fri, 30 Apr 2004 11:52:08 +0000 (11:52 +0000)]
Splash! :)

Thanks Piotr Kordala for the great artwork.

16 years agoMake python 2.3 the default for the irix build.
Chris Want [Fri, 30 Apr 2004 02:12:28 +0000 (02:12 +0000)]
Make python 2.3 the default for the irix build.

16 years agoFix committed a while ago, revision 1.52, still set a bluroffset in a
Ton Roosendaal [Thu, 29 Apr 2004 22:31:48 +0000 (22:31 +0000)]
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! :-)

16 years agoAnd another error in creating 'release' for MacOS
Ton Roosendaal [Thu, 29 Apr 2004 19:41:40 +0000 (19:41 +0000)]
And another error in creating 'release' for MacOS

16 years agoChanged copying README to copying blender.html instead
Ton Roosendaal [Thu, 29 Apr 2004 18:25:27 +0000 (18:25 +0000)]
Changed copying README to copying blender.html instead
Only affects "make release"

16 years agoUpped version to 233 for in header in Blender
Ton Roosendaal [Thu, 29 Apr 2004 17:14:31 +0000 (17:14 +0000)]
Upped version to 233 for in header in Blender

(Warn: still to do: splash!)

16 years agoWorld->physicsEngine is SUMO when you create new one.
Ton Roosendaal [Thu, 29 Apr 2004 17:13:50 +0000 (17:13 +0000)]
World->physicsEngine is SUMO when you create new one.

16 years ago2.33 now, for release building
Ton Roosendaal [Thu, 29 Apr 2004 17:10:35 +0000 (17:10 +0000)]
2.33 now, for release building

16 years agoAdded python license to txt directory for binary releases.
Ton Roosendaal [Thu, 29 Apr 2004 16:39:39 +0000 (16:39 +0000)]
Added python license to txt directory for binary releases.

16 years agoNoted by Desoto: new 'Checker' option for Image repeat could use better
Ton Roosendaal [Thu, 29 Apr 2004 16:33:08 +0000 (16:33 +0000)]
Noted by Desoto: new 'Checker' option for Image repeat could use better
preview.

16 years agoFix #1207
Ton Roosendaal [Thu, 29 Apr 2004 16:20:34 +0000 (16:20 +0000)]
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.

16 years agoFix #1205
Ton Roosendaal [Thu, 29 Apr 2004 15:56:26 +0000 (15:56 +0000)]
Fix #1205

Array with 'auto' names for textures didn't have the new names yet
(musgrave, voronoi, distnoise)

16 years agofix #1204
Ton Roosendaal [Thu, 29 Apr 2004 15:52:11 +0000 (15:52 +0000)]
fix #1204

Two typos in tooltips.

16 years agoFix blenderplayer unable to load .blend files (only runtimes!)
Kester Maddock [Thu, 29 Apr 2004 10:51:02 +0000 (10:51 +0000)]
Fix blenderplayer unable to load .blend files (only runtimes!)

16 years agoAdded (very nice!) new blender.html written by Willian. This will replace
Ton Roosendaal [Thu, 29 Apr 2004 10:49:00 +0000 (10:49 +0000)]
Added (very nice!) new blender.html written by Willian. This will replace
the short README file. The blender.html doc is meant to give new users
quick hints how to survive with Blender.

16 years agofix for #1123 by Roland Hess (harkyman)
Stephen Swaney [Thu, 29 Apr 2004 04:50:28 +0000 (04:50 +0000)]
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.

16 years agobump version number
Stephen Swaney [Thu, 29 Apr 2004 01:56:55 +0000 (01:56 +0000)]
bump version number

16 years agoCorrect icons for OSX
Ton Roosendaal [Wed, 28 Apr 2004 21:19:18 +0000 (21:19 +0000)]
Correct icons for OSX

16 years agoSneaked in new feature (request samo):
Ton Roosendaal [Wed, 28 Apr 2004 18:08:34 +0000 (18:08 +0000)]
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.

16 years agoBug 1203
Ton Roosendaal [Wed, 28 Apr 2004 17:35:35 +0000 (17:35 +0000)]
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.

16 years agoBug fix 1202
Ton Roosendaal [Wed, 28 Apr 2004 17:26:30 +0000 (17:26 +0000)]
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.

16 years agoFix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Kester Maddock [Wed, 28 Apr 2004 09:08:42 +0000 (09:08 +0000)]
Fix: Setting objects Dynamic, then unsetting Actor would leave an object dynamic.
Check for Actor && Dynamic to enable dynamic.

16 years agoError in popup menu for new Musgrave texture. The order was wrong, and the
Ton Roosendaal [Tue, 27 Apr 2004 19:42:41 +0000 (19:42 +0000)]
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!

16 years agoBug 1199
Ton Roosendaal [Tue, 27 Apr 2004 19:30:16 +0000 (19:30 +0000)]
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.

16 years agoFixed minimum limit for values in Armature panel.
Ton Roosendaal [Tue, 27 Apr 2004 19:05:41 +0000 (19:05 +0000)]
Fixed minimum limit for values in Armature panel.

16 years ago- UGH! Some optimize line in sky code screwed up sky render when it had
Ton Roosendaal [Tue, 27 Apr 2004 17:06:02 +0000 (17:06 +0000)]
- UGH! Some optimize line in sky code screwed up sky render when it had
  no texture nor blend... gave weird lines in render.

16 years ago- Bug fix: MetaBalls was not polygonized, when armature (as parent of MetaBalls)...
Jiri Hnidek [Tue, 27 Apr 2004 14:37:19 +0000 (14:37 +0000)]
- Bug fix: MetaBalls was not polygonized, when armature (as parent of MetaBalls) was in pose mode.

16 years agoremoved print "break true" when pressing ESC with render window active.
Ton Roosendaal [Tue, 27 Apr 2004 12:17:16 +0000 (12:17 +0000)]
removed print "break true" when pressing ESC with render window active.

16 years agoError found in code that allows dynamic octrees. A lookup table was not
Ton Roosendaal [Mon, 26 Apr 2004 22:14:31 +0000 (22:14 +0000)]
Error found in code that allows dynamic octrees. A lookup table was not
cleared correctly for each face, causing too many octree nodes to be
filled in.
Especially for more complex scenes this fix is quite a time saver.

Still looking at ways to speedup octree filling though.

16 years agoRequest from [A]ndy:
Ton Roosendaal [Mon, 26 Apr 2004 21:38:36 +0000 (21:38 +0000)]
Request from [A]ndy:
When tracing a mirror with AO, the rendering was extremely slow due to
each mirror sample (like 8 per pixel) taking a full range of AO samples.

Now it uses for mirror samples a corrected amount, which makes sure for
a single pixel still a full AO range is used.
Makes mirror+AO render 5-6 times faster, at least.

16 years agobugfix: Ipo.addCurve() was creating a new Ipo block and adding curve there
Stephen Swaney [Mon, 26 Apr 2004 17:21:51 +0000 (17:21 +0000)]
bugfix:  Ipo.addCurve() was creating a new Ipo block and adding curve there
instead of adding curve to existing Ipo.  reported on elysiun.

16 years agoAdded Ambient channel in "Map To" Panel for materials. Is now means to
Ton Roosendaal [Mon, 26 Apr 2004 16:49:05 +0000 (16:49 +0000)]
Added Ambient channel in "Map To" Panel for materials. Is now means to
control AO and Radio with texture too.

16 years agoUpdate projectfile for new python module
Nathan Letwory [Mon, 26 Apr 2004 15:52:45 +0000 (15:52 +0000)]
Update projectfile for new python module

16 years agoOptimize for AO: when material ambient value is zero, no AO calculus
Ton Roosendaal [Mon, 26 Apr 2004 15:07:08 +0000 (15:07 +0000)]
Optimize for AO: when material ambient value is zero, no AO calculus
takes place now. Also nice to tweak & speedup environments.

(Thanks Theeth for hint!)

16 years agoSolved AO smooth rendering, by introducing a "Bias" value for smoothed
Ton Roosendaal [Mon, 26 Apr 2004 14:17:48 +0000 (14:17 +0000)]
Solved AO smooth rendering, by introducing a "Bias" value for smoothed
rendered faces.
http://www.blender3d.org/cms/Ambient_Occlusion.231.0.html

ALso removed prints when allocating new 'face groups' etc, which wasn't
informative at all.

16 years agoCroatian translation added, thanks go to Tomislav Corak ! (tommy5)
Rob Haarsma [Mon, 26 Apr 2004 11:44:57 +0000 (11:44 +0000)]
Croatian translation added, thanks go to Tomislav Corak ! (tommy5)

16 years agoFix MouseFocus Sensor objects for dynamic cameras. (Bug 1165)
Kester Maddock [Mon, 26 Apr 2004 07:19:18 +0000 (07:19 +0000)]
Fix MouseFocus Sensor objects for dynamic cameras. (Bug 1165)

16 years ago - add comment in filesel.c to note where memory from some BLO_blendhandle
Daniel Dunbar [Sun, 25 Apr 2004 15:12:45 +0000 (15:12 +0000)]
 - add comment in filesel.c to note where memory from some BLO_blendhandle
    functions is going

16 years agoBPython:
Willian Padovani Germano [Sun, 25 Apr 2004 14:43:21 +0000 (14:43 +0000)]
BPython:
-- epydoc Documentation for eeshlo's Noise module + small typo fix in Noise.c
-- BPY_end_python closes .blend file opened by Library module when script doesn't do it by itself.

16 years ago- finalize scene.render module
Joseph Gilbert [Sun, 25 Apr 2004 05:18:43 +0000 (05:18 +0000)]
- finalize scene.render module
- added some constants for the rendering module to blender module
- moved rendering functions from scene to scene.render
- rendering functions called from renderData struct instead of from scene directly
- getRenderingContext() returns rendering data struct
- deprecation of old scene functions
- some formatting/documentation of code

16 years agoAh, it's better when the menus show the correct hotkeys isn't it ;)
Martin Poirier [Sat, 24 Apr 2004 21:59:34 +0000 (21:59 +0000)]
Ah, it's better when the menus show the correct hotkeys isn't it ;)

16 years agoFor the 100st time or so: fix in selecting vertices for Mesh editmode.
Ton Roosendaal [Sat, 24 Apr 2004 21:51:38 +0000 (21:51 +0000)]
For the 100st time or so: fix in selecting vertices for Mesh editmode.
Why do i keep thinking it works? And will it be still broken? We find
out in a month! :)

Fixes also report 1191.

16 years agoMirror in object mode. Works like Mirror in edit mode but only works on local axis...
Martin Poirier [Sat, 24 Apr 2004 21:09:06 +0000 (21:09 +0000)]
Mirror in object mode. Works like Mirror in edit mode but only works on local axis (doing it differently would require a much more clever algorithm).
Mirror Object is assigned to Ctrl-M and I've add Ctrl-M to call Mirror Edit (on top of M alone) for practical reason. We should consider switching both to Ctrl-M for pratical reasons but I kept M for backward compatibility
Also added the menu and toolbox counterparts.

Minor addition to arithb.c: A function to print vectors to the console. Easier for debuging.

16 years agoprojectfile update for the new python module
Martin Poirier [Sat, 24 Apr 2004 20:50:23 +0000 (20:50 +0000)]
projectfile update for the new python module

16 years agoTurned Sky render code in Blender to become fully float, it still returned
Ton Roosendaal [Sat, 24 Apr 2004 20:27:29 +0000 (20:27 +0000)]
Turned Sky render code in Blender to become fully float, it still returned
bytes for RGB.
This to allow very bright contrasted images to be used for AO as well. As
a first start also the Texture->Colors panel now allows contrast setting
up to 5.0 (was 2.0).

16 years agoBPython:
Willian Padovani Germano [Sat, 24 Apr 2004 20:04:37 +0000 (20:04 +0000)]
BPython:
- New module + doc: Blender.Library:
  It's like File->Append, loads datablocks from .blend files.
- small updates to fix warnings and accomodate for the new module, in readfile.[ch]
- New Blender.sys module function: time, a wrapper of the PIL get time function.
- Updated original makefile and scons builds.

16 years ago - more binary file patching
Daniel Dunbar [Sat, 24 Apr 2004 18:38:04 +0000 (18:38 +0000)]
 - more binary file patching

16 years ago - convert darwin icon files to binary
Daniel Dunbar [Sat, 24 Apr 2004 18:34:08 +0000 (18:34 +0000)]
 - convert darwin icon files to binary

16 years agoNew: rendering in background mode (blender -b) now prints a percentage to
Ton Roosendaal [Sat, 24 Apr 2004 12:02:39 +0000 (12:02 +0000)]
New: rendering in background mode (blender -b) now prints a percentage to
indicate scanlines being in progress. For motion blur frames it works too.

Bug fix: in background render it accidentally tried to free a sound pointer
that wasn't set. (caused by own commit of three days ago).

Fix: rendering motion blur in forground prints correct sample # in info-
header again.

16 years agoSynchronise game engine with Tuhopuu2 tree.
Kester Maddock [Sat, 24 Apr 2004 06:40:15 +0000 (06:40 +0000)]
Synchronise game engine with Tuhopuu2 tree.

16 years agoFixes for MouseFocusSensor: (bug 1165)
Kester Maddock [Sat, 24 Apr 2004 06:36:55 +0000 (06:36 +0000)]
Fixes for MouseFocusSensor:  (bug 1165)
1. Do the ray cast properly (from the near plane to the far clip plane)
2. Loop over invisible objects (sensors)

16 years agoRemove ability to open a published executable from Blender.
Kester Maddock [Sat, 24 Apr 2004 06:29:51 +0000 (06:29 +0000)]
Remove ability to open a published executable from Blender.

16 years agoThe Anim and Tiles settings in the Image Window are now available again, in the
Brecht Van Lommel [Fri, 23 Apr 2004 21:38:01 +0000 (21:38 +0000)]
The Anim and Tiles settings in the Image Window are now available again, in the
new Properties panel (was first called Transform Properties). They include the
same settings as were previously found in the window header: Anim toggle,
Start/End frame, Speed, Tiles toggle, X repeat and Y repeat.

The Tiles button used to work incorrectly in 2.25, this is now fixed too.

The drawing of the UV Vertex transform buttons in the Properties panel used to
give popup error messages when in Edit Mode (uv_tface_editing_is_allowed is not
silent). Also these buttons would still draw in Edit Mode. Both are problems
are solved now.

16 years agoRaytrace now has option to change the resolution of the Octree used. It
Ton Roosendaal [Fri, 23 Apr 2004 21:02:58 +0000 (21:02 +0000)]
Raytrace now has option to change the resolution of the Octree used. It
appeared that the standard size (64x64x64) just works fine for small
scenes, like a single character in a small environment. Larger scenes and
larger environments became exponentional slower.

Disadvantage of larger octrees is longer build time, and overhead traver-
sing it though, so something to tweak based on some experimenting.
A table with test results + blender file will be in CMS soon.

New button is in F10 Render panel, in bottom. Last free spot there! O_o
Sizes supported now 64, 128, 256 or 512.

16 years agoa sensors 'invert' toggle button was showing the wrong state.
Stefan Gartner [Fri, 23 Apr 2004 15:27:40 +0000 (15:27 +0000)]
a sensors 'invert' toggle button was showing the wrong state.
thanks to Ton for figuring out what's wrong

16 years agoBPython:
Willian Padovani Germano [Fri, 23 Apr 2004 13:11:48 +0000 (13:11 +0000)]
BPython:
- fixed two warnings, unused var in Object.c and undeclared function in script.c
- updated Blender.Draw doc, it was missing info about Button object
- refactored pytype initialization to try to fix for once platform (and distro!) specific crashes on startup.  This asked for tiny updates in Effect.[ch] (removed static from declaration, moved definitions to the .c file) and modules.h
- fixed error I made trying to fix scripts w/ no [eol] char in menus.  Thanks Michael Velikanje for reporting the problem!

16 years agoWhen Sound blocks are loaded, they can have packedfiles. If a Sound isn't
Ton Roosendaal [Fri, 23 Apr 2004 13:11:29 +0000 (13:11 +0000)]
When Sound blocks are loaded, they can have packedfiles. If a Sound isn't
played (= packedfiles opened and copied to another block) these
packed data blocks where not freed.

The error showed in console at closing of Blender, like:
read_struct len: 24 0x1c4423c

16 years agoEnable the new, fast loading of the STL exotic file type
Chris Want [Thu, 22 Apr 2004 22:33:57 +0000 (22:33 +0000)]
Enable the new, fast loading of the STL exotic file type
(thanks Ton!)

16 years ago-bug fix #1186
Jiri Hnidek [Thu, 22 Apr 2004 21:16:54 +0000 (21:16 +0000)]
-bug fix #1186
http://projects.blender.org/tracker/?func=detail&atid=125&aid=1186&group_id=9

-I forgot somethig, when i commited to this file last (i'm really sorry)

16 years agotypo in this file...
Ton Roosendaal [Thu, 22 Apr 2004 20:37:24 +0000 (20:37 +0000)]
typo in this file...

16 years agoNasty Library linking and appending stuff!
Ton Roosendaal [Thu, 22 Apr 2004 19:58:54 +0000 (19:58 +0000)]
Nasty Library linking and appending stuff!

Problem: when appending data, it called the local_all() function, which
indeed made all data local, including all other dynamic linked data.
Not very nice... but mixing dynamic & appending data from single file is
headcrunching code.

Solution: when appending data, it now only makes local_all() the data from
that specific library file, leaving dynamic data from other files linked.

(Bug report 1183)

16 years agoFix for CTRL+drag on sliders and number buttons.
Ton Roosendaal [Thu, 22 Apr 2004 17:46:07 +0000 (17:46 +0000)]
Fix for CTRL+drag on sliders and number buttons.
The code wasn't correct at all (for ages!). Rule now again is:

Button range 0.0-2.0 : ctrl goes with steps of 0.1, shift+ctrl steps of 0.01
Button range 2.0-20.0: ctrl goes with steps of 1.0, shift+ctrl steps of 0.1
Button range larger: ctrl goes with steps of 10.0

16 years agoFixed bug #1187: tooltip typos in the uv calculation panel
Brecht Van Lommel [Thu, 22 Apr 2004 17:22:01 +0000 (17:22 +0000)]
Fixed bug #1187: tooltip typos in the uv calculation panel
- Draw Edges buttons all had the same tooltip
- aequator -> equator

16 years agobug 1181
Ton Roosendaal [Thu, 22 Apr 2004 17:11:20 +0000 (17:11 +0000)]
bug 1181

Inconsistancy... choose International Fonts, choose Load Font, then disable
International font, but still load a font: AA fonts magically are set. :)

16 years agoIn beginning of buttons for logic editor was weird code checking physics model.
Ton Roosendaal [Thu, 22 Apr 2004 13:08:49 +0000 (13:08 +0000)]
In beginning of buttons for logic editor was weird code checking physics model.
It even has old enji buttons still!
Anyhoo, if no World was active it returned.. that could be coded friendlier.