Benoit Bolsee
8925ae6042
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.
2008-09-13 16:03:11 +00:00
Brecht Van Lommel
63ecf9966e
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.
2008-09-13 14:21:06 +00:00
Campbell Barton
ce41cfa40a
bullet wasnt building on 64bit linux
2008-09-13 12:07:36 +00:00
Benoit Bolsee
ba9d3aa4ab
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.
2008-09-13 11:46:07 +00:00
Campbell Barton
dfb5ebb12e
return dummy python values when no joystick is present
2008-09-13 11:43:01 +00:00
Benoit Bolsee
a9a8f74b80
Update MSVC project files for latest bullet revision
2008-09-13 11:41:52 +00:00
Campbell Barton
1c3043f011
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.
2008-09-13 08:22:55 +00:00
Benoit Bolsee
9a94620df0
Adapt MSVC project files for latest lib/windows configuration (update lib/windows first).
2008-09-13 08:10:50 +00:00
Benoit Bolsee
17478eeb23
Update MSVC project file for latest Bullet revision. Remove compound patch as it is now included in Bullet trunk.
2008-09-13 08:05:16 +00:00
Erwin Coumans
7f293488d1
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.
2008-09-13 07:06:43 +00:00
Erwin Coumans
206cfe7955
avoid crash when game engine returns to Blender, and OpenAL sources haven't been initialized properly for some reason.
2008-09-13 05:24:52 +00:00
Brecht Van Lommel
21d74deda6
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.
2008-09-12 16:06:17 +00:00
Ton Roosendaal
6ebd6cfa73
Bugfixes in SDL joystick, apparently it gives NULLs in OSX.
2008-09-12 15:26:00 +00:00
Daniel Genrich
ed0a0c704d
merging bullet 2.71 to trunk --> svn merge -r16334:16486 https://svn.blender.org/svnroot/bf-blender/branches/sim_physics
2008-09-12 14:09:44 +00:00
Campbell Barton
f40aa6d13f
typo in recent commit
2008-09-12 13:26:49 +00:00
Campbell Barton
b0d9994220
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.
2008-09-12 13:24:22 +00:00
Daniel Genrich
0795d01df4
Bugfix [ #17609 ] Complex particles crash II - related to #17592
2008-09-12 13:15:52 +00:00
Daniel Genrich
f274336f2f
svn merge -r 16453:16485 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-09-12 12:58:08 +00:00
Daniel Genrich
1adc2dce52
Correct half of rev16483, which does typecasts which are not nice on Win64 plattform
2008-09-12 12:33:55 +00:00
Joshua Leung
215828455a
IPO Editor - Zoom view to area
...
The Shift-B hotkey can now be used to access this tool.
2008-09-12 05:54:39 +00:00
Ken Hughes
3e5549213c
Add some typecasts for intptr_t and uintptr_t value to fix gcc warnings.
2008-09-12 05:27:02 +00:00
Diego Borghetti
c45f1f504b
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.
2008-09-12 05:14:57 +00:00
Ken Hughes
d86c4c1004
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!
2008-09-12 05:02:06 +00:00
Ken Hughes
4335811695
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.
2008-09-12 02:23:52 +00:00
Campbell Barton
0dea748e01
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.
2008-09-12 02:15:16 +00:00
Ken Hughes
75841bc97f
Python API
...
----------
Add description for missing parameter in Mesh.MFaceSeq.extend() documentation.
2008-09-11 23:50:22 +00:00
Benoit Bolsee
b16b0f91ec
Repair rayCast part 2: return correct polygon information and true normal
2008-09-11 20:16:30 +00:00
Benoit Bolsee
13b0cf94d5
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
2008-09-11 20:09:07 +00:00
Ton Roosendaal
3ac4cffdd0
Bugfix #14033
...
Option for Image render "Clip" gave wrong alphas on the edge of image.
2008-09-11 16:50:34 +00:00
Ton Roosendaal
d5839f21ab
Bugfix 12478
...
Border render didnt work for ANIM render.
2008-09-11 16:37:53 +00:00
Campbell Barton
97178fecd9
BGE message python api could return a CList type or None which makes exception checks annoying. just return an empty CList rather then None.
2008-09-11 14:58:13 +00:00
Brecht Van Lommel
729af67742
Bugfix: saved game engine runtimes failed to load library .blend
...
files with relative paths.
2008-09-11 13:00:54 +00:00
Brecht Van Lommel
695c354b61
Fix for bug #17602 : 32 bit bmp files were read with red and blue swapped.
2008-09-11 11:30:32 +00:00
Brecht Van Lommel
5eb1d5e3dc
Fix for bug #17593 : glsl crash using a texture node without a
...
texture assigned.
2008-09-11 10:17:17 +00:00
Joshua Leung
7b98b5d34e
Compiler warning fixes (mingw)
2008-09-11 06:17:21 +00:00
Campbell Barton
2af7083d75
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.
2008-09-11 01:51:45 +00:00
Ken Hughes
9d7c56a7f2
Tools
...
---------
Fix user counting for particles. id.us was not being decremented when using
the browser to replace current particle system.
2008-09-10 23:22:12 +00:00
Campbell Barton
dca6bd87ef
removed debug print
2008-09-10 22:49:11 +00:00
Ken Hughes
0859141238
Scripts
...
-------
Removed empty parenthesis from class definitions, causes a syntax error in
Python 2.4 (reported by Sanne on IRC, thanks!)
2008-09-10 21:37:22 +00:00
Daniel Genrich
9e675e547e
Bugfix [ #17594 ] separated mesh crash
2008-09-10 15:51:10 +00:00
Daniel Genrich
3bf182c4b4
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?
2008-09-10 15:25:06 +00:00
Kent Mein
bd518b8de6
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
Kent
2008-09-10 15:07:20 +00:00
Brecht Van Lommel
90272dfdad
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.
2008-09-10 13:02:58 +00:00
Joshua Leung
a42dd1482f
Bugfix:
...
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.
2008-09-10 12:04:20 +00:00
Joshua Leung
f5c19c2c35
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.
2008-09-10 11:45:42 +00:00
Daniel Genrich
fdb057ff53
Implement softbody function for modifier_depeends_on_time()
2008-09-10 11:42:07 +00:00
Daniel Genrich
1c44562d64
Bugfix [ #12033 ] Cloth and Softbody don't work with Object Actions (fix pointed out by Aligorith. Ton: You might like to look over this)
2008-09-10 11:40:30 +00:00
Daniel Genrich
dfd51ab5b6
Bugfix [ #17592 ] Complex particle system crash
2008-09-10 11:38:19 +00:00
Daniel Genrich
c40fe7b255
svn merge -r 16411:16453 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2008-09-10 10:53:38 +00:00
Brecht Van Lommel
75078d62df
Fix for bug #17589 : removing a lamp in the game engine with glsl
...
materials did not work correct.
2008-09-10 09:51:06 +00:00