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

17 years agoFix Bug #1243:
Kester Maddock [Thu, 6 May 2004 02:13:07 +0000 (02:13 +0000)]
Fix Bug #1243:

Use external velocity (velocity set by the game engine - not the physics engine) for Motion Actuators.

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

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

17 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

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

17 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!!!!

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

17 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"))


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


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


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

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

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

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

Also fixed find shared verticies.

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

17 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!

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

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

17 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

17 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

17 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

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

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

17 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

17 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

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

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

Thanks Piotr Kordala for the great artwork.

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

17 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! :-)

17 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

17 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"

17 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!)

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

17 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

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

17 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

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

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

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

Two typos in tooltips.

17 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!)

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

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

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

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

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

Also fixed bug: using 'CalcAlpha' option for image textures didn't give
antialised edges for image.

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

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

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

17 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!

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

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

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

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

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

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

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

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

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

17 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

17 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!)

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

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

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

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

17 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

17 years agoBPython:
Willian Padovani Germano [Sun, 25 Apr 2004 14:43:21 +0000 (14:43 +0000)]
-- 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.

17 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

17 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 ;)

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

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

17 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

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

17 years agoBPython:
Willian Padovani Germano [Sat, 24 Apr 2004 20:04:37 +0000 (20:04 +0000)]
- 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.

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

17 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

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

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

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

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

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

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

17 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

17 years agoBPython:
Willian Padovani Germano [Fri, 23 Apr 2004 13:11:48 +0000 (13:11 +0000)]
- 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!

17 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

17 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!)

17 years ago-bug fix #1186
Jiri Hnidek [Thu, 22 Apr 2004 21:16:54 +0000 (21:16 +0000)]
-bug fix #1186

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

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

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

17 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

17 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

17 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. :)

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

17 years ago- NLA Window:
Ton Roosendaal [Thu, 22 Apr 2004 12:36:27 +0000 (12:36 +0000)]
- NLA Window:
Added support for Panels, and converted old NKEY menu here.
Also enabled zooming in further, as for Action Window.
(note: this editor can use some work, this action stuff is underdeveloped
and mysterious!)

- UI code
Brought back fix that sets for each Panel a GL matrix for UI code thats
coming after it. This makes system more flexible, and prevents conflicts
with other uiBlocks in a window (like ipo, action).
This will give a tinsy bit more load for moving mouse around... please
report back if this causes troubles.

17 years agoSmall fix: when using vertex keys for Lattices, all buttons in the panel
Ton Roosendaal [Thu, 22 Apr 2004 10:35:02 +0000 (10:35 +0000)]
Small fix: when using vertex keys for Lattices, all buttons in the panel
where locked. This should not be for three of them, to set drawtype or
key mode (slurph, relative)

17 years ago[SCONS] Optimisation flags for msvc
Nathan Letwory [Thu, 22 Apr 2004 04:50:41 +0000 (04:50 +0000)]
[SCONS] Optimisation flags for msvc

17 years ago- zeroed out a variable before strcat()'ing! :)
Simon Clitherow [Wed, 21 Apr 2004 19:03:22 +0000 (19:03 +0000)]
- zeroed out a variable before strcat()'ing! :)
- removed a rogue debug printf().

17 years agocommented out code to enable multiple uiBlocks in window with different
Ton Roosendaal [Wed, 21 Apr 2004 18:04:02 +0000 (18:04 +0000)]
commented out code to enable multiple uiBlocks in window with different
matrices (like action window should have). This one gave error in
IpoWindow with Panel.

17 years agoFix for #1174
Ton Roosendaal [Wed, 21 Apr 2004 17:23:04 +0000 (17:23 +0000)]
Fix for #1174

When toonshading is used, also backfacing polygons are rendered. This
causes a conflict with raytraced shadow, since backfacing polygons
always have shadow.
There was an error in the code that didnt set shadow for backfacing
polys, assuming shading would be 'zero' then as well. That's fixed.

17 years agofix for bug #1178
Ton Roosendaal [Wed, 21 Apr 2004 16:43:51 +0000 (16:43 +0000)]
fix for bug #1178

Apparently gcc 3.4 gives error when not casting a pointer to long.
Found and reported by Noselasd.

17 years agoFix for radio render.
Ton Roosendaal [Wed, 21 Apr 2004 15:44:37 +0000 (15:44 +0000)]
Fix for radio render.

Somewhere after 2.28c I fixed some thing in radio rendering that prevented
textures to be applied to radio energy.
Now it is a normal 'diffuse' energy again, and multiplied with actual
(textured) material color.

Small fix: the radiosity steps show up as numbers printed in time-cursor.

17 years agoBPython:
Willian Padovani Germano [Wed, 21 Apr 2004 14:24:59 +0000 (14:24 +0000)]
- Michel's linux test builds with Python 2.3.x were crashing.  This of course shouldn't happen even when Python isn't installed in the system.  The problem was much probably some uninitialized internal type needed by the Mathutils module and the "fix" is stupid.

Moving the registration of Mathutils module in Blender.c to the end of the list solves the crash here.