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.

13 years agoBGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling bug on...
Benoit Bolsee [Tue, 9 Sep 2008 22:40:10 +0000 (22:40 +0000)]
BGE bug #17549: fix crash on removeParent() with static mesh. Fix scaling bug on setParent(). Add python setWorldPosition() to allow setting object position in world coordinate regardless if it is a root or a child object.

13 years agoBugfix for [#17363] Edge selection mode + knife twice = latter cut doesn't do anything
Daniel Genrich [Tue, 9 Sep 2008 21:46:19 +0000 (21:46 +0000)]
Bugfix for [#17363] Edge selection mode + knife twice = latter cut doesn't do anything

13 years agoPatch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer...
Benoit Bolsee [Tue, 9 Sep 2008 21:15:30 +0000 (21:15 +0000)]
Patch 17508: Blender Web Plugin - XEmbed. Enable XEmbed integration of blenderplayer, using -i as input parameter to pass embedder window id. create a minimal web plugin to embed blenderplayer on web pages (using gecko/mozilla as browser). Only for *nix.

13 years agoPython API
Ken Hughes [Tue, 9 Sep 2008 20:52:18 +0000 (20:52 +0000)]
Python API
Bugfix #14425.  Particle.Get() could return a list of invalid items.  The API
still needs more work, but for now throw an NotImplemented exception.

13 years agoFix for bug #14775: memorblock end corrupt print, needed to allocate
Brecht Van Lommel [Tue, 9 Sep 2008 20:19:00 +0000 (20:19 +0000)]
Fix for bug #14775: memorblock end corrupt print, needed to allocate
one byte more for the align menu string 0 terminator.

13 years agoFix for bug #17588: crash with ctrl+a and no active object.
Brecht Van Lommel [Tue, 9 Sep 2008 20:09:54 +0000 (20:09 +0000)]
Fix for bug #17588: crash with ctrl+a and no active object.

13 years agoFix for bug #17443: make bone heat weighting solve a bit less
Brecht Van Lommel [Tue, 9 Sep 2008 20:00:57 +0000 (20:00 +0000)]
Fix for bug #17443: make bone heat weighting solve a bit less
sensitive to poorly shaped geometry, should succeed solving
in more cases now.

13 years agoBugfix for [#17329] Bevel Weights are lost after Subsurf
Daniel Genrich [Tue, 9 Sep 2008 18:44:10 +0000 (18:44 +0000)]
Bugfix for [#17329] Bevel Weights are lost after Subsurf

13 years agoFix for bug #12132: vector blur with fast moving objects does
Brecht Van Lommel [Tue, 9 Sep 2008 17:27:01 +0000 (17:27 +0000)]
Fix for bug #12132: vector blur with fast moving objects does
not give a smooth fallof. there's no correct fix possible due
to a lack of information, but this manually adds a smoother
falloff, overestimating the contribution of foregroud pixels
instead of becoming transparent.

13 years agoBugfix #17562: array fit to curve isnt working
Daniel Genrich [Tue, 9 Sep 2008 16:38:08 +0000 (16:38 +0000)]
Bugfix #17562: array fit to curve isnt working

13 years agoFix for bug #17402: IK influence blending with pole targets
Brecht Van Lommel [Tue, 9 Sep 2008 15:15:01 +0000 (15:15 +0000)]
Fix for bug #17402: IK influence blending with pole targets
didn't give smooth transition. Now it blends the result of
IK solving in that case.

13 years agoFix for bug #17580: crash rendering instanced objects with
Brecht Van Lommel [Tue, 9 Sep 2008 14:16:54 +0000 (14:16 +0000)]
Fix for bug #17580: crash rendering instanced objects with
halo material attach to the object instead of the mesh.

Also for bug #13489: avoid a crash rendering with invalid
active vcol layer, most likely caused by a bug that was
already fixed.

13 years agoBugfix #13592
Ton Roosendaal [Tue, 9 Sep 2008 13:35:38 +0000 (13:35 +0000)]
Bugfix #13592

Sequencer, Time, Sound windows were drawing frame numbers double when
too far zoomed in.

13 years agoBugfix #13596
Ton Roosendaal [Tue, 9 Sep 2008 12:51:22 +0000 (12:51 +0000)]
Bugfix #13596

Wrong popup on single-user particles, it said "make local".

13 years agoBugfix #13653
Ton Roosendaal [Tue, 9 Sep 2008 12:00:38 +0000 (12:00 +0000)]
Bugfix #13653

Autosave disable didn't work.

Note however that a disabled autosave only gets active on saving the
user settings, and loading blender again. This is a timer that gets
set on startup. I didn't code a kill timer. :)

13 years agoBugfix #13675
Ton Roosendaal [Tue, 9 Sep 2008 11:40:29 +0000 (11:40 +0000)]
Bugfix #13675

Edge render made star render disappear. Wrong Z value comparing...
(2 year old bug!)

13 years agowasnt using icon buttons correctly
Campbell Barton [Tue, 9 Sep 2008 10:58:58 +0000 (10:58 +0000)]
wasnt using icon buttons correctly

13 years agoBugfix #13837
Ton Roosendaal [Tue, 9 Sep 2008 10:16:09 +0000 (10:16 +0000)]
Bugfix #13837

Tonemap didn't correctly accept any buffer type.
The coder who added this should check this fix! Any node coder maybe...

13 years agoPython API
Ken Hughes [Mon, 8 Sep 2008 23:39:32 +0000 (23:39 +0000)]
Python API
Add access to MTex objects from Lamps and Worlds (first pass).  Since the
MTex structure is slightly difference between materials, lamps, and worlds,
a field is added to the BPy MTex object to distinquish which type it wraps.

Attempting to access attributes which are unique to materials for lamp or
world MTex objects throw an exception.  The next pass will implement MTex
attributes which are specific to Lamps and Worlds.

A new attribute (textures) is added to each module.  It is compatible with
the previous Material.getTextures(), which returns a tuple of either MTex
objects or None.  Surprised we never added an attribute for this before in
all the changes and refactoring.