13 years agoadd src/BulletSoftBody/* to cmake (other build systems also will need to do this...
Erwin Coumans [Tue, 16 Sep 2008 20:52:38 +0000 (20:52 +0000)]
add src/BulletSoftBody/* to cmake (other build systems also will need to do this soon)

13 years agoFix bug that broke editing vertices through python in the game engine.
Brecht Van Lommel [Tue, 16 Sep 2008 19:28:54 +0000 (19:28 +0000)]
Fix bug that broke editing vertices through python in the game engine.

13 years agoFix (harmless) error print about GameLogic.globalDict being lost. Also
Brecht Van Lommel [Tue, 16 Sep 2008 19:25:35 +0000 (19:25 +0000)]
Fix (harmless) error print about GameLogic.globalDict being lost. Also
fixed some memory leaks in this code and simplified it.

13 years ago== Transform Snap ==
Martin Poirier [Tue, 16 Sep 2008 19:10:58 +0000 (19:10 +0000)]
== Transform Snap ==

Tighten test for excluding objects as snap target.

Now exclude all object that are themselves moving (that includes childs of selected objects) as well as objects with moving geometry (like hooked meshes).

The previous situation would cause unfrequent bugs, but especially present in alignment cases (those concerned will understand).

13 years ago"Fix" for #17636 Crashing bug - won't open a file
Janne Karhu [Tue, 16 Sep 2008 18:40:54 +0000 (18:40 +0000)]
"Fix" for #17636 Crashing bug - won't open a file
- The cause was indeed corrupted particle settings which should have caused a deletion of the whole particle system. However the particle modifier was still left and that led to the crash.
- A "fix" because there's really no way of knowing what caused the corruption of the particle settings. If anyone else gets this and can recreate I'd love to get a .blend. Now that there shouldn't be a crash anymore the symptom will be a missing particle system after file load in an object that had a particle system before.

13 years agoAdded check for failing linking of a ID_PA block.
Ton Roosendaal [Tue, 16 Sep 2008 16:20:51 +0000 (16:20 +0000)]
Added check for failing linking of a ID_PA block.

13 years agoBugfix #17633
Ton Roosendaal [Tue, 16 Sep 2008 15:28:07 +0000 (15:28 +0000)]
Bugfix #17633

Tiny feature: "Flip normals" in editmode also recalculates vertex normals.

13 years agoBugfix #17630: objects are disappearing if you insert a layer key and then change...
Joshua Leung [Tue, 16 Sep 2008 06:55:15 +0000 (06:55 +0000)]
Bugfix #17630: objects are disappearing if you insert a layer key and then change time

Forgot to set type of data for inserting keyframes, so data was probably written as float or so.

13 years agoBugfix #17622: clicking on action IPO in outliner causes crash
Joshua Leung [Tue, 16 Sep 2008 06:33:59 +0000 (06:33 +0000)]
Bugfix #17622: clicking on action IPO in outliner causes crash

In some cases, no action channels existed, but yet the Outliner displayed some that, when clicked on, would cause a crash.

13 years agoadded static openal and openexr options for scons.
Campbell Barton [Tue, 16 Sep 2008 06:31:55 +0000 (06:31 +0000)]
added static openal and openexr options for scons.
also added a target 'blenderlite' - turns almost everything off, compressed binary is ~3.4meg

13 years agoBugfix #17627: Autokeyframe for Visual keying
Joshua Leung [Tue, 16 Sep 2008 06:11:02 +0000 (06:11 +0000)]
Bugfix #17627: Autokeyframe for Visual keying

Several months old typo! 'Visual keying' was not working for autokeyframing, as the test for it didn't even work.

13 years agoFix for bug #12028: background rendering on Mac OS X without
Brecht Van Lommel [Tue, 16 Sep 2008 02:58:33 +0000 (02:58 +0000)]
Fix for bug #12028: background rendering on Mac OS X without
a window manager did not work anymore since 2.46.

13 years agoFix for #17618 Particles: changing RGB sliders snap back
Janne Karhu [Mon, 15 Sep 2008 22:08:30 +0000 (22:08 +0000)]
Fix for #17618 Particles: changing RGB sliders snap back
-particle drawing was reading material ipos in a too invasive way

13 years agoBGE bug #17565 fixed: Constraint Actuator Location: GUI broken. Axis selection was...
Benoit Bolsee [Mon, 15 Sep 2008 21:37:27 +0000 (21:37 +0000)]
BGE bug #17565 fixed: Constraint Actuator Location: GUI broken. Axis selection was not persistent, now it is.

13 years agoBGE bug #17621 fixed: State Actuator GUI Flaw. State actuator didn't behave like...
Benoit Bolsee [Mon, 15 Sep 2008 21:10:51 +0000 (21:10 +0000)]
BGE bug #17621 fixed: State Actuator GUI Flaw. State actuator didn't behave like the object state mask. Now it works the same: LMB select one state, deselects all others, multiple select with SHIFT-LMB

13 years agoSmall fix in GHOST X11 system.
Diego Borghetti [Mon, 15 Sep 2008 18:23:34 +0000 (18:23 +0000)]
Small fix in GHOST X11 system.

* Fix and a little of cleanup to the full screen, minimzed and
  maximized code.

* Fix bad argument in the ClientMessage event to support the
  _NET_ACTIVE_WINDOW property.

* Fix focus problem in some WM (like TWM), this is because Blender
  don't set the WM_PROTOCOLS list, now it does, a very basic list
  but it's what we need now.

13 years agoWorkaround for an Nvidia driver bug on 32 bit linux (maybe windows too).
Brecht Van Lommel [Mon, 15 Sep 2008 18:15:11 +0000 (18:15 +0000)]
Workaround for an Nvidia driver bug on 32 bit linux (maybe windows too).
I reversed the order of attaching shader objects for linking to solve an
issue in the driver before, but now it appears it needs to be the other
way around again? I don't know if these are the same cards that now want
it different again due to changes in the glsl code, but I found another
workaround for the first bug in a forum post (leaving out parameter names
in the declarations), so with some luck both cases work?

13 years agoSmall tweak to get things compiling again.
Kent Mein [Mon, 15 Sep 2008 15:58:50 +0000 (15:58 +0000)]
Small tweak to get things compiling again.


13 years agoAdded -d debug option for blenderplayer, and remove some
Brecht Van Lommel [Mon, 15 Sep 2008 12:40:17 +0000 (12:40 +0000)]
Added -d debug option for blenderplayer, and remove some
invalid/unnecessary opengl calls on shader errors.

13 years agoFix glsl vertex shader string that was not 0 terminated, no idea
Brecht Van Lommel [Mon, 15 Sep 2008 11:39:49 +0000 (11:39 +0000)]
Fix glsl vertex shader string that was not 0 terminated, no idea
if it caused any problems.

13 years agocopy menu didnt copy visible and initial states, physics margin was also missing...
Campbell Barton [Mon, 15 Sep 2008 09:24:54 +0000 (09:24 +0000)]
copy menu didnt copy visible and initial states, physics margin was also missing from "all physical attributes" option

13 years agotooltip improvements from dfelinto, some minor edits
Campbell Barton [Mon, 15 Sep 2008 09:08:36 +0000 (09:08 +0000)]
tooltip improvements from dfelinto, some minor edits

13 years agoDelete Key Tool - Bugfixes:
Joshua Leung [Mon, 15 Sep 2008 04:15:37 +0000 (04:15 +0000)]
Delete Key Tool - Bugfixes:

* Available option would crash
* 'Visual' options are now not available for this tool (are not relevant)

13 years agoreplaced static make_absolute_filename with BLI_convertstringcwd
Campbell Barton [Mon, 15 Sep 2008 02:18:37 +0000 (02:18 +0000)]
replaced static make_absolute_filename with BLI_convertstringcwd

13 years agoadded BLI_convertstringcwd, used so command line blendfiles and python scripts can...
Campbell Barton [Mon, 15 Sep 2008 01:32:53 +0000 (01:32 +0000)]
added BLI_convertstringcwd, used so command line blendfiles and python scripts can be relative to the current path.
- was alredy doing this for blendfiles, but better to have in its own function.

header_text.c - renamed PATH_MAX, was defined by system includes.

13 years agoFix for bug #17620: the motion blur actuator did not work correct
Brecht Van Lommel [Mon, 15 Sep 2008 00:57:11 +0000 (00:57 +0000)]
Fix for bug #17620: the motion blur actuator did not work correct
with an always sensor, it kept resettting the motion blur each frame.

13 years agoFix for bug #4859: once a visibility actuator was set it was not
Brecht Van Lommel [Mon, 15 Sep 2008 00:34:43 +0000 (00:34 +0000)]
Fix for bug #4859: once a visibility actuator was set it was not
possible to change the visibility again through python for example.
This is because the actuator kept setting the visibility again each
frame, as a workaround for there being no separate visible and
viewport culling flag, but that was added some time ago.

13 years agoFix zoom level and clipping to be consistent with the viewport
Brecht Van Lommel [Mon, 15 Sep 2008 00:11:30 +0000 (00:11 +0000)]
Fix zoom level and clipping to be consistent with the viewport
when pressing P without a camera active, now it should match
the view exactly.

Fix an issue when setting a camera with an actuator and being
in orthographic mode in the viewport without an active camera,
it used a strange mix of the set camera and the viewport then.

13 years agoFix for bug #17617: GLSL shaders change vertex color unexpectedly.
Brecht Van Lommel [Sun, 14 Sep 2008 21:31:07 +0000 (21:31 +0000)]
Fix for bug #17617: GLSL shaders change vertex color unexpectedly.

13 years agoBGE patch: new Physics button and margin parameter in Logic panel. Change subversion.
Benoit Bolsee [Sun, 14 Sep 2008 19:34:06 +0000 (19:34 +0000)]
BGE patch: new Physics button and margin parameter in Logic panel. Change subversion.

The Physics button controls the creation of a physics representation
of the object when starting the game. If the button is not selected,
the object is a pure graphical object with no physics representation
and all the other physics buttons are hidden.
Selecting this button gives access to the usual physics buttons.
The physics button is enabled by default to match previous Blender

The margin parameter allows to control the collision margin from
the UI. Previously, this parameter was only accessible through
Python. By default, the collision margin is set to 0.0 on static
objects and 0.06 on dynamic objects.
To maintain compatibility with older games, the collision margin
is set to 0.06 on all objects when loading older blend file.

Note about the collision algorithms in Bullet 2.71
Bullet 2.71 handles the collision margin differently than Bullet 2.53
(the previous Bullet version in Blender). The collision margin is
now kept "inside" the object for box, sphere and cylinder bound
shapes. This means that two objects bound to any of these shape will
come in close contact when colliding.
The static mesh, convex hull and cone shapes still have their
collision margin "outside" the object, which leaves a space of 1
or 2 times the collision margin between objects.

The situation with Bullet 2.53 was more complicated, generally
leading to more space between objects, except for box-box collisions.

This means that running a old game under Bullet 2.71 may cause
visual problems, especially if the objects are small. You can fix
these problems by changing some visual aspect of the objects:
center, shape, size, position of children, etc.

13 years agoUpdate MSVC project and fix compilation problem in VS2003 with keyframing.c
Benoit Bolsee [Sun, 14 Sep 2008 19:07:57 +0000 (19:07 +0000)]
Update MSVC project and fix compilation problem in VS2003 with keyframing.c

13 years agoFix a game engine crash with mesh objects parented to an armature
Brecht Van Lommel [Sun, 14 Sep 2008 17:59:22 +0000 (17:59 +0000)]
Fix a game engine crash with mesh objects parented to an armature
without vertex groups.

13 years agoscons option for linking python statically - useful for building a more compatible...
Campbell Barton [Sun, 14 Sep 2008 17:56:15 +0000 (17:56 +0000)]
scons option for linking python statically - useful for building a more compatible blenderplayer, where most games python scripts only use builtin modules anyway.

13 years agofix for what looks like simple mistake, function wasnt returning any values (compiler...
Campbell Barton [Sun, 14 Sep 2008 17:19:59 +0000 (17:19 +0000)]
fix for what looks like simple mistake, function wasnt returning any values (compiler warning) and the variable being checked to return a value was never assigned.

13 years agoBugfix: avoid crash with too long pathname.
Andrea Weikert [Sun, 14 Sep 2008 16:22:03 +0000 (16:22 +0000)]
Bugfix: avoid crash with too long pathname.

13 years agoPython API
Ken Hughes [Sun, 14 Sep 2008 14:17:44 +0000 (14:17 +0000)]
Python API
Fix C90 mixed declarations and code.

13 years ago== Global 'Delete Key' Tool ==
Joshua Leung [Sun, 14 Sep 2008 12:41:42 +0000 (12:41 +0000)]
== Global 'Delete Key' Tool ==

The 'opposite' of the "Insert Key" tool.
- Use the hotkey Ctrl-Alt-IKEY to activate.
- Only available in 3d-view and buttons window

I've added an extra var to verify_ipo and verify_ipocurve to save having to make another duplicate of that code. Hopefully the gameengine compiles ok with this.

13 years agoBugfix #17608
Ton Roosendaal [Sun, 14 Sep 2008 09:09:10 +0000 (09:09 +0000)]
Bugfix #17608

Fileselect window:
Pressing X to remove a file should not work in databrowse view.

13 years agoMore bugfixes:
Joshua Leung [Sun, 14 Sep 2008 05:52:57 +0000 (05:52 +0000)]
More bugfixes:

* Added missing includes
* Fixed typos in header
* Added code to get ipo for 'Available' keyingsets to work

13 years agogame engine didnt compile with recent keyframing changes
Campbell Barton [Sun, 14 Sep 2008 05:42:05 +0000 (05:42 +0000)]
game engine didnt compile with recent keyframing changes

13 years agorunning scripts in background mode would crash in some cases. (tested all scripts...
Campbell Barton [Sun, 14 Sep 2008 05:10:45 +0000 (05:10 +0000)]
running scripts in background mode would crash in some cases. (tested all scripts, none segfault now)

13 years ago== Keyframing - Cleanup of API ==
Joshua Leung [Sun, 14 Sep 2008 04:32:17 +0000 (04:32 +0000)]
== Keyframing - Cleanup of API ==

* Moved all keyframing functions to their own file (keyframing.c)

* Merged all the different keyframing options (needed, visual, fast) into a single API call. The direct benefit of this is that it allows them to be used in conjunction with each other. Also, this means that when using the IKEY, autokeying settings for these are respected too.

* Implemented 'keyingsets' system (instead of directly calling insertkey on relevant channels), which is easier to maintain and cleaner. A keyingset basically defines all the channels that can be keyframed together. This paves the way for custom keyingsets sometime down the track (and also for quick-insert keyframes for previously used keyingset).

Menus for choosing the keying set to use are generated automatically from the definitions.

13 years agoFix for bug #5758 and #17585: armatures with IK constraint did not
Brecht Van Lommel [Sun, 14 Sep 2008 03:51:51 +0000 (03:51 +0000)]
Fix for bug #5758 and #17585: armatures with IK constraint did not
work in the game player, now the IK lib is linked into the player.

Makefiles/Scons/CMake buildsystems have been updated.

Fix materials nodes to work in the game player.

13 years agoFix for bug #7097: blender multitexture materials in the game engine
Brecht Van Lommel [Sun, 14 Sep 2008 01:10:45 +0000 (01:10 +0000)]
Fix for bug #7097: blender multitexture materials in the game engine
player did not enable mipmapping when falling back to texfaces.

Also commented out code that disabled mipmapping in the player on
Mac OS X. If that is a workaround for a bug it is a really poor one,
and hopefully fixed now since this code is from 2002 or earlier.

13 years agoVarious game engine fixes:
Brecht Van Lommel [Sun, 14 Sep 2008 00:32:18 +0000 (00:32 +0000)]
Various game engine fixes:

* Fix issue with add transparency mode with blender materials.
* Possible fix at frontface flip in the game engine.
* Fix color buffering clearing for multiple viewports, it used
  to clear as if there was one.
* Fix for zoom level in user defined viewports, it was based on
  the full window before, now it is based on the viewport itself.
* For user defined viewports, always use Expose instead of
  Letterbox with bars, the latter doesn't make sense then.

13 years agoFix for #11740 - Reactor particles do not render in animation.
Janne Karhu [Sat, 13 Sep 2008 21:06:22 +0000 (21:06 +0000)]
Fix for #11740 - Reactor particles do not render in animation.
- Particle data was deleted when the current frame was outside the baked range. Reactor particles need this data to store birth and death times.

13 years agoGame engine: added Rasterizer.get/setMaterialMode to set texface,
Brecht Van Lommel [Sat, 13 Sep 2008 19:19:51 +0000 (19:19 +0000)]
Game engine: added Rasterizer.get/setMaterialMode to set texface,
multitexture or glsl materials. This does not affect existing
scenes, only newly created ones.

13 years agoParticle collisions upgrade:
Janne Karhu [Sat, 13 Sep 2008 18:09:41 +0000 (18:09 +0000)]
Particle collisions upgrade:

- Particle now use the deflector objects collision modifier data to collide with deflectors and as a result can now use the velocity of the colliding object for more realistic collisions.
- Dynamic rotations are also quite a bit more realistic and are related to the friction setting of the deflector (to get any dynamic rotations there has to be some friction). This is largely due to the separate handling of rolling friction (approximated to be 1% of normal sliding friction).
- Collisions should be a bit faster on complex deflectors due to the tree structure used by the collision modifier.
- Collision should also generally be a bit more accurate.

To be noted: Only the average velocity of individual deflector faces is used, so collisions with rotating or deforming objects can't be handled accurately - this would require much more complex calculations. Subdividing the deflector object surface to smaller faces can help with this as the individual face velocities become more linear.

13 years agoBGE patch: use new btScaledBvhTriangleMeshShape to allow shape sharing between replic...
Benoit Bolsee [Sat, 13 Sep 2008 16:03:11 +0000 (16:03 +0000)]
BGE patch: use new btScaledBvhTriangleMeshShape to allow shape sharing between replicas and avoid BVH rebuild in case of scaling. This will save memory and speed up greatly the instantiation of static mesh.

13 years agoFix to make blenderplayer compile with makefiles on Mac OS X. It worked
Brecht Van Lommel [Sat, 13 Sep 2008 14:21:06 +0000 (14:21 +0000)]
Fix to make blenderplayer compile with makefiles on Mac OS X. It worked
on Linux already, I think there is a difference in the linker.

13 years agobullet wasnt building on 64bit linux
Campbell Barton [Sat, 13 Sep 2008 12:07:36 +0000 (12:07 +0000)]
bullet wasnt building on 64bit linux

13 years agoBGE patch: fix transform bug on compound shape: child shape didn't take into account...
Benoit Bolsee [Sat, 13 Sep 2008 11:46:07 +0000 (11:46 +0000)]
BGE patch: fix transform bug on compound shape: child shape didn't take into account parent inverse node. Fix scaling bug on instantiation of compound shape: child shape didn't have correct shape. Note: global scaling doesn't work on compound shape (limitation of Bullet); don't set any scale on the top dynamic object.

13 years agoreturn dummy python values when no joystick is present
Campbell Barton [Sat, 13 Sep 2008 11:43:01 +0000 (11:43 +0000)]
return dummy python values when no joystick is present

13 years agoUpdate MSVC project files for latest bullet revision
Benoit Bolsee [Sat, 13 Sep 2008 11:41:52 +0000 (11:41 +0000)]
Update MSVC project files for latest bullet revision

13 years ago32 sounds max would crash on windows because the openal limit is 24, tested an the...
Campbell Barton [Sat, 13 Sep 2008 08:22:55 +0000 (08:22 +0000)]
32 sounds max would crash on windows because the openal limit is 24, tested an the to-frankie demo playes ok with 24, but would be good to make use of the sound lib's 'priority' option.

13 years agoAdapt MSVC project files for latest lib/windows configuration (update lib/windows...
Benoit Bolsee [Sat, 13 Sep 2008 08:10:50 +0000 (08:10 +0000)]
Adapt MSVC project files for latest lib/windows configuration (update lib/windows first).

13 years agoUpdate MSVC project file for latest Bullet revision. Remove compound patch as it...
Benoit Bolsee [Sat, 13 Sep 2008 08:05:16 +0000 (08:05 +0000)]
Update MSVC project file for latest Bullet revision. Remove compound patch as it is now included in Bullet trunk.

13 years agoUpgrade to latest Bullet trunk, that is in sync with Blender/extern/bullet2. (except...
Erwin Coumans [Sat, 13 Sep 2008 07:06:43 +0000 (07:06 +0000)]
Upgrade to latest Bullet trunk, that is in sync with Blender/extern/bullet2. (except for one define 'WIN32_AVOID_SSE_WHEN_EMBEDDED_INSIDE_BLENDER')
In case someone reads those SVN logs: you can enable some extra broadphase SSE optimizations by replacing WIN32_AVOID_SSE_WHEN_EMBEDDED_INSIDE_BLENDER by WIN32 in extern/bullet2/src/BulletCollision/BroadphaseCollision/btDbvt.h

Thanks to Benoit Bolsee for the upstream patch/contribution.
Removed some obsolete files, they were just intended for comparison/testing.

13 years agoavoid crash when game engine returns to Blender, and OpenAL sources haven't been...
Erwin Coumans [Sat, 13 Sep 2008 05:24:52 +0000 (05:24 +0000)]
avoid crash when game engine returns to Blender, and OpenAL sources haven't been initialized properly for some reason.

13 years agoFixes for game engine runtime on Mac OS X, there were issues
Brecht Van Lommel [Fri, 12 Sep 2008 16:06:17 +0000 (16:06 +0000)]
Fixes for game engine runtime on Mac OS X, there were issues
working with relative paths. Still doesn't work optimal, since
paths are relative to game.blend which is in the app bundle
under Contents/Resources, so other files need to be moved there
manually at the moment.

13 years agoBugfixes in SDL joystick, apparently it gives NULLs in OSX.
Ton Roosendaal [Fri, 12 Sep 2008 15:26:00 +0000 (15:26 +0000)]
Bugfixes in SDL joystick, apparently it gives NULLs in OSX.

13 years agomerging bullet 2.71 to trunk --> svn merge -r16334:16486
Daniel Genrich [Fri, 12 Sep 2008 14:09:44 +0000 (14:09 +0000)]
merging bullet 2.71 to trunk --> svn merge -r16334:16486

13 years agotypo in recent commit
Campbell Barton [Fri, 12 Sep 2008 13:26:49 +0000 (13:26 +0000)]
typo in recent commit

13 years agomade max sounds playable at once 32 rather then 16. (demo release background music...
Campbell Barton [Fri, 12 Sep 2008 13:24:22 +0000 (13:24 +0000)]
made max sounds playable at once 32 rather then 16. (demo release background music would turn off otherwise)
made selecting sound samples keep the relative path setting.

13 years agoBugfix [#17609] Complex particles crash II - related to #17592
Daniel Genrich [Fri, 12 Sep 2008 13:15:52 +0000 (13:15 +0000)]
Bugfix [#17609] Complex particles crash II - related to #17592

13 years agosvn merge -r 16453:16485
Daniel Genrich [Fri, 12 Sep 2008 12:58:08 +0000 (12:58 +0000)]
svn merge -r 16453:16485

13 years agoCorrect half of rev16483, which does typecasts which are not nice on Win64 plattform
Daniel Genrich [Fri, 12 Sep 2008 12:33:55 +0000 (12:33 +0000)]
Correct half of rev16483, which does typecasts which are not nice on Win64 plattform

13 years agoIPO Editor - Zoom view to area
Joshua Leung [Fri, 12 Sep 2008 05:54:39 +0000 (05:54 +0000)]
IPO Editor - Zoom view to area

The Shift-B hotkey can now be used to access this tool.

13 years agoAdd some typecasts for intptr_t and uintptr_t value to fix gcc warnings.
Ken Hughes [Fri, 12 Sep 2008 05:27:02 +0000 (05:27 +0000)]
Add some typecasts for intptr_t and uintptr_t value to fix gcc warnings.

13 years agoFix segmentation fault in ipo transform.
Diego Borghetti [Fri, 12 Sep 2008 05:14:57 +0000 (05:14 +0000)]
Fix segmentation fault in ipo transform.

The NLA_IPO_SCALED define don't check if we have a Ipo Space open,
so in some case (like when you move a rig with locrot key) when
the function make_ipokey_transform is called, Blender crash.

13 years agoPython API
Ken Hughes [Fri, 12 Sep 2008 05:02:06 +0000 (05:02 +0000)]
Python API
Patch #17481: added Material attributes for missing colorbands controls:
 * material.colorbandDiffuseInput
 * material.colorbandDiffuseMethod
 * material.colorbandDiffuseFactor
 * material.colorbandSpecularInput
 * material.colorbandSpecularMethod
 * material.colorbandSpecularFactor

Contributed by Emilio José Encinas Mir (asfhy).  Thanks!

13 years agoPython API
Ken Hughes [Fri, 12 Sep 2008 02:23:52 +0000 (02:23 +0000)]
Python API
Second and final part of MTex API changes.  Added support for new attributes for MTex World objects, stricter checking of attribute types for materia/lamp/world MTex objects, setters for lamp.textures and world.textures attributes, and updated documentation.

13 years agosave and load configuration actuator, (option in game actuator menu)
Campbell Barton [Fri, 12 Sep 2008 02:15:16 +0000 (02:15 +0000)]
save and load configuration actuator, (option in game actuator menu)
saves a marshal'd GameLogic.globalDict to the blendfile path with the blend extension replaced with bgeconf

Use this in YoFrankie to save keyboard layout and graphics quality settings.

13 years agoPython API
Ken Hughes [Thu, 11 Sep 2008 23:50:22 +0000 (23:50 +0000)]
Python API
Add description for missing parameter in Mesh.MFaceSeq.extend() documentation.

13 years agoRepair rayCast part 2: return correct polygon information and true normal
Benoit Bolsee [Thu, 11 Sep 2008 20:16:30 +0000 (20:16 +0000)]
Repair rayCast part 2: return correct polygon information and true normal

13 years agoBullet patch for compound ray cast. The patch is filed in Bullet patch tracker for...
Benoit Bolsee [Thu, 11 Sep 2008 20:09:07 +0000 (20:09 +0000)]
Bullet patch for compound ray cast. The patch is filed in Bullet patch tracker for inclusion in later revision. If it is not included, apply manually extern/bullet2/bullet_compound_raycast.patch

13 years agoBugfix #14033
Ton Roosendaal [Thu, 11 Sep 2008 16:50:34 +0000 (16:50 +0000)]
Bugfix #14033

Option for Image render "Clip" gave wrong alphas on the edge of image.

13 years agoBugfix 12478
Ton Roosendaal [Thu, 11 Sep 2008 16:37:53 +0000 (16:37 +0000)]
Bugfix 12478

Border render didnt work for ANIM render.

13 years agoBGE message python api could return a CList type or None which makes exception checks...
Campbell Barton [Thu, 11 Sep 2008 14:58:13 +0000 (14:58 +0000)]
BGE message python api could return a CList type or None which makes exception checks annoying. just return an empty CList rather then None.

13 years agoBugfix: saved game engine runtimes failed to load library .blend
Brecht Van Lommel [Thu, 11 Sep 2008 13:00:54 +0000 (13:00 +0000)]
Bugfix: saved game engine runtimes failed to load library .blend
files with relative paths.

13 years agoFix for bug #17602: 32 bit bmp files were read with red and blue swapped.
Brecht Van Lommel [Thu, 11 Sep 2008 11:30:32 +0000 (11:30 +0000)]
Fix for bug #17602: 32 bit bmp files were read with red and blue swapped.

13 years agoFix for bug #17593: glsl crash using a texture node without a
Brecht Van Lommel [Thu, 11 Sep 2008 10:17:17 +0000 (10:17 +0000)]
Fix for bug #17593: glsl crash using a texture node without a
texture assigned.

13 years agoCompiler warning fixes (mingw)
Joshua Leung [Thu, 11 Sep 2008 06:17:21 +0000 (06:17 +0000)]
Compiler warning fixes (mingw)

13 years agoBPY api addition material.freeNodes() - use to cleanup apricot files, since there...
Campbell Barton [Thu, 11 Sep 2008 01:51:45 +0000 (01:51 +0000)]
BPY api addition material.freeNodes() - use to cleanup apricot files, since there is no way to remove a node tree via the UI, unused materials and duplicate images were hanging around.
buttons_logic - gave the name a but more room then the controller type, better for documentation screenshots.

13 years agoTools
Ken Hughes [Wed, 10 Sep 2008 23:22:12 +0000 (23:22 +0000)]
Fix user counting for particles. was not being decremented when using
the browser to replace current particle system.

13 years agoremoved debug print
Campbell Barton [Wed, 10 Sep 2008 22:49:11 +0000 (22:49 +0000)]
removed debug print

13 years agoScripts
Ken Hughes [Wed, 10 Sep 2008 21:37:22 +0000 (21:37 +0000)]
Removed empty parenthesis from class definitions, causes a syntax error in
Python 2.4 (reported by Sanne on IRC, thanks!)

13 years agoBugfix [#17594] separated mesh crash
Daniel Genrich [Wed, 10 Sep 2008 15:51:10 +0000 (15:51 +0000)]
Bugfix [#17594] separated mesh crash

13 years agoBugfix for [#17561] when i try to change the particle to hair I cant choose group...
Daniel Genrich [Wed, 10 Sep 2008 15:25:06 +0000 (15:25 +0000)]
Bugfix for [#17561] when i try to change the particle to hair I cant choose group or object as viz; Bugfix for mat[4][4] equal to zero resulting in no duplis --> Important: Janne could you check that fixes?

13 years agoThis is patch:
Kent Mein [Wed, 10 Sep 2008 15:07:20 +0000 (15:07 +0000)]
This is patch:
[#15135] imbuf DDS support: sync to nvidia texture tools revision 602 + fix for ATI2 compressed normal maps

It just updates the dds stuff.

Provided by Amorilia


13 years agoFix for bug #8132: on Mac OS X 10.5 with Nvidia cards drawing
Brecht Van Lommel [Wed, 10 Sep 2008 13:02:58 +0000 (13:02 +0000)]
Fix for bug #8132: on Mac OS X 10.5 with Nvidia cards drawing
background images and node previews goes wrong. The exact cause
of that is not sure, may be a driver bug, workaround is to fall
back to another slower function.

13 years agoBugfix:
Joshua Leung [Wed, 10 Sep 2008 12:04:20 +0000 (12:04 +0000)]

There were too many undo events being added for IPO Editor when selecting items with the mouse. Removed deselectall_editipo()'s undo push, as it was never called standalone anyway.

13 years agoBugfix #17495: IPO curve handles go haywire
Joshua Leung [Wed, 10 Sep 2008 11:45:42 +0000 (11:45 +0000)]
Bugfix #17495: IPO curve handles go haywire

When editing IPO curve handles on a curve that belongs to a NLA-strip with repeat != 1 and 'AutoMerge Keyframes' on, the scaling correction was causing more problems than it was worth.

13 years agoImplement softbody function for modifier_depeends_on_time()
Daniel Genrich [Wed, 10 Sep 2008 11:42:07 +0000 (11:42 +0000)]
Implement softbody function for modifier_depeends_on_time()

13 years agoBugfix [#12033] Cloth and Softbody don't work with Object Actions (fix pointed out...
Daniel Genrich [Wed, 10 Sep 2008 11:40:30 +0000 (11:40 +0000)]
Bugfix [#12033] Cloth and Softbody don't work with Object Actions (fix pointed out by Aligorith. Ton: You might like to look over this)

13 years agoBugfix [#17592] Complex particle system crash
Daniel Genrich [Wed, 10 Sep 2008 11:38:19 +0000 (11:38 +0000)]
Bugfix [#17592] Complex particle system crash

13 years agosvn merge -r 16411:16453
Daniel Genrich [Wed, 10 Sep 2008 10:53:38 +0000 (10:53 +0000)]
svn merge -r 16411:16453

13 years agoFix for bug #17589: removing a lamp in the game engine with glsl
Brecht Van Lommel [Wed, 10 Sep 2008 09:51:06 +0000 (09:51 +0000)]
Fix for bug #17589: removing a lamp in the game engine with glsl
materials did not work correct.

13 years ago2 gamelogic templates, one with example functions and comments, another minimal templ...
Campbell Barton [Wed, 10 Sep 2008 03:34:08 +0000 (03:34 +0000)]
2 gamelogic templates, one with example functions and comments, another minimal template for those who know the api.

13 years agoBPY merge from apricot branch.
Campbell Barton [Wed, 10 Sep 2008 01:17:03 +0000 (01:17 +0000)]
BPY merge from apricot branch.
work around non unix line endings using pythons execfile() function rather then loading the binary data and manually stripping the line endings.