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.
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.
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.
Ton Roosendaal [Fri, 12 Sep 2008 15:26:00 +0000 (15:26 +0000)]
Bugfixes in SDL joystick, apparently it gives NULLs in OSX.
Daniel Genrich [Fri, 12 Sep 2008 14:09:44 +0000 (14:09 +0000)]
merging bullet 2.71 to trunk --> svn merge -r16334:16486 https://svn.blender.org/svnroot/bf-blender/branches/sim_physics
Campbell Barton [Fri, 12 Sep 2008 13:26:49 +0000 (13:26 +0000)]
typo in recent commit
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.
Daniel Genrich [Fri, 12 Sep 2008 13:15:52 +0000 (13:15 +0000)]
Bugfix [#17609] Complex particles crash II - related to #17592
Daniel Genrich [Fri, 12 Sep 2008 12:58:08 +0000 (12:58 +0000)]
svn merge -r 16453:16485 https://svn.blender.org/svnroot/bf-blender/trunk/blender
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
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.
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.
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.
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!
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.
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.
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.
Benoit Bolsee [Thu, 11 Sep 2008 20:16:30 +0000 (20:16 +0000)]
Repair rayCast part 2: return correct polygon information and true normal
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
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.
Ton Roosendaal [Thu, 11 Sep 2008 16:37:53 +0000 (16:37 +0000)]
Bugfix 12478
Border render didnt work for ANIM render.
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.
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.
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.
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.
Joshua Leung [Thu, 11 Sep 2008 06:17:21 +0000 (06:17 +0000)]
Compiler warning fixes (mingw)
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.
Ken Hughes [Wed, 10 Sep 2008 23:22:12 +0000 (23:22 +0000)]
Tools
---------
Fix user counting for particles. id.us was not being decremented when using
the browser to replace current particle system.
Campbell Barton [Wed, 10 Sep 2008 22:49:11 +0000 (22:49 +0000)]
removed debug print
Ken Hughes [Wed, 10 Sep 2008 21:37:22 +0000 (21:37 +0000)]
Scripts
-------
Removed empty parenthesis from class definitions, causes a syntax error in
Python 2.4 (reported by Sanne on IRC, thanks!)
Daniel Genrich [Wed, 10 Sep 2008 15:51:10 +0000 (15:51 +0000)]
Bugfix [#17594] separated mesh crash
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?
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
Kent
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.
Joshua Leung [Wed, 10 Sep 2008 12:04:20 +0000 (12:04 +0000)]
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.
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.
Daniel Genrich [Wed, 10 Sep 2008 11:42:07 +0000 (11:42 +0000)]
Implement softbody function for modifier_depeends_on_time()
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)
Daniel Genrich [Wed, 10 Sep 2008 11:38:19 +0000 (11:38 +0000)]
Bugfix [#17592] Complex particle system crash
Daniel Genrich [Wed, 10 Sep 2008 10:53:38 +0000 (10:53 +0000)]
svn merge -r 16411:16453 https://svn.blender.org/svnroot/bf-blender/trunk/blender
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.
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.
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.
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.
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
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.
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.
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.
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.
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.
Daniel Genrich [Tue, 9 Sep 2008 18:44:10 +0000 (18:44 +0000)]
Bugfix for [#17329] Bevel Weights are lost after Subsurf
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.
Daniel Genrich [Tue, 9 Sep 2008 16:38:08 +0000 (16:38 +0000)]
Bugfix #17562: array fit to curve isnt working
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.
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.
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.
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".
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. :)
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!)
Campbell Barton [Tue, 9 Sep 2008 10:58:58 +0000 (10:58 +0000)]
wasnt using icon buttons correctly
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...
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.
Ton Roosendaal [Mon, 8 Sep 2008 15:15:00 +0000 (15:15 +0000)]
Bugfix #17566
Modifier buttons: now check properly for external lib data, modifiers are
on object only. Only "Apply" is locked now.
Ton Roosendaal [Mon, 8 Sep 2008 13:04:10 +0000 (13:04 +0000)]
Bugfix #17375
Crash on converting object to other type, and replace object.
Deleting should trigger a new depsgraph.
Oldie bug!
Joshua Leung [Mon, 8 Sep 2008 12:36:49 +0000 (12:36 +0000)]
Grease Pencil - Defaults Cleanups:
* Made new layers default to having thickness of 3, and opacity of 0.9. These values seem to be used more often.
* Newly added Grease Pencil blocks will now be expanded by default in the Action Editor
* Added support for Image Editor grease-pencil blocks to the Action Editor
* Added version-patching for missing colours used by the info-string for GPencil.
Joshua Leung [Mon, 8 Sep 2008 12:06:40 +0000 (12:06 +0000)]
Bugfix:
Grease Pencil panel now updates correctly in Sequencer
Ton Roosendaal [Mon, 8 Sep 2008 11:13:34 +0000 (11:13 +0000)]
Bug #17317
Vertexpaint mode: option "paint mask" (Fkey) missed redraw for buttons
Ton Roosendaal [Mon, 8 Sep 2008 10:31:00 +0000 (10:31 +0000)]
Bugfix #17305
3d window didn't refresh correctly when loading a new background image.
Fix by Ken Hughes. :)
Joshua Leung [Mon, 8 Sep 2008 06:49:19 +0000 (06:49 +0000)]
View 3D - Improvements for Info Drawing:
The little info string beside the mini-axis (in bottom left corner) is now more useful when animating fullscreen. ZanQdo feature request.
* Info string is drawn in yellow when there is a keyframe on this frame.
Hopefully this doesn't introduce any major slowdowns, as it does do a search for keyframes for every redraw.
* Name of first marker that occurs on the current frame is now also shown (in angled brackets). No angle brackets are shown if no marker.
* Info string is also shown when there is no active object.
Daniel Genrich [Sun, 7 Sep 2008 20:46:54 +0000 (20:46 +0000)]
Bugfix for #17572 Boids Particles Crash
Daniel Genrich [Sun, 7 Sep 2008 20:18:26 +0000 (20:18 +0000)]
Bug [#17454] Wave modifier crash, fix provided by Banlu Kemiyatorn
Benoit Bolsee [Sun, 7 Sep 2008 19:58:37 +0000 (19:58 +0000)]
BGE bug #17574 fixed: GE Text input doesn't register in 2.47. Force registration of keyboard sensor with no link as this is typically the setting for key logging.
Daniel Genrich [Sun, 7 Sep 2008 19:47:15 +0000 (19:47 +0000)]
svn merge -r 16396:16411 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Ton Roosendaal [Sun, 7 Sep 2008 18:18:50 +0000 (18:18 +0000)]
Bugfix #17446
Two menu errors in Node Editor.
Ton Roosendaal [Sun, 7 Sep 2008 17:13:05 +0000 (17:13 +0000)]
bugfix 17527
Halo render: lines and rings were not using random anymore... got lost
in particle upgrade of pre-peach. Tsk!
Campbell Barton [Sun, 7 Sep 2008 16:37:55 +0000 (16:37 +0000)]
Draw icons in the layer button to show used layers as well as layer of active object, this is a feature from apricot but used button color instead which was confusing.
Campbell Barton [Sun, 7 Sep 2008 14:02:58 +0000 (14:02 +0000)]
[#17579] Added support to VSE Python API for adding movie and audio HD sequences
from Rob Scott (spamagnet)
Ton Roosendaal [Sun, 7 Sep 2008 13:15:44 +0000 (13:15 +0000)]
Bugfix #17497
FSA didn't support "key alpha", fixed it.
Also noticed edge-enhance didnt work for FSA, added warning for that,
fixing it is too clumsy, this option belongs in compositor.
Joshua Leung [Sun, 7 Sep 2008 11:36:52 +0000 (11:36 +0000)]
Grease Pencil - Stick to View for Sequencer:
The 'Stick to View' feature now works in the sequencer (image previews)
Benoit Bolsee [Sun, 7 Sep 2008 10:47:33 +0000 (10:47 +0000)]
BGE patch: Simulate dupligroup operation when parent and child are not active/inactive at the same time: don't convert the child. This unusual situation is used in Apricot for testing.
Ton Roosendaal [Sun, 7 Sep 2008 10:24:02 +0000 (10:24 +0000)]
Bugfix #17490
Camera feature "DOF Object" was drawing the cross marker on wrong location
when camera scales. Simple fix by using Mat4Ortho()
Joshua Leung [Sun, 7 Sep 2008 04:43:31 +0000 (04:43 +0000)]
Constraints - Space Conversions Code Tidyup:
Finished verifying that all possible combinations of space conversions were accounted for.
Daniel Genrich [Sun, 7 Sep 2008 01:43:55 +0000 (01:43 +0000)]
Some version were not merged from svn/missing --> svn merge -r 16370:16371 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Benoit Bolsee [Sat, 6 Sep 2008 22:06:01 +0000 (22:06 +0000)]
BGE patch: break parent relationship when child and parent are not active/inactive at the same time. This unusual situation is used in Apricot for test purposes.
Benoit Bolsee [Sat, 6 Sep 2008 17:49:26 +0000 (17:49 +0000)]
svn merge -r 16371:16396 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Sat, 6 Sep 2008 17:04:54 +0000 (17:04 +0000)]
object_find, didnt get images from an objects material textures
KX_PythonInit.cpp - own error in recent commit.
Benoit Bolsee [Sat, 6 Sep 2008 16:53:44 +0000 (16:53 +0000)]
Fix Windows compile error. Update MSVC project files
Kent Mein [Sat, 6 Sep 2008 14:13:31 +0000 (14:13 +0000)]
converted my gen_utils.h fix to PyObjectPlus.h
Also added a fix for PyMarshal_WriteObjectToString
Now I just need to figure out linking of the gameengine on my imac.
Kent
Brecht Van Lommel [Sat, 6 Sep 2008 13:24:42 +0000 (13:24 +0000)]
Revert a commit from 5 years ago that added a glFinish call before swapping on Windows. This is really bad for performance and especially showed in the game engine. The purpose was to disable FSAA and fix some UI issue on Geforce 2 graphics cards, hopefully the drivers have been fixed by now? I have no way to test this, so we'll see if an issue pops up on those older cards, and a lot of code changed since then anyway so it might not even be needed anymore.
Campbell Barton [Sat, 6 Sep 2008 12:50:22 +0000 (12:50 +0000)]
find objects by texture name raised a python error
Campbell Barton [Sat, 6 Sep 2008 10:39:19 +0000 (10:39 +0000)]
added ALPHASORT flag to the bpython api
Kent Mein [Sat, 6 Sep 2008 02:46:11 +0000 (02:46 +0000)]
Trying to keep things compiling on my imac (10.4.11)
I'm getting this error now:
GPG_Application.cpp: In member function 'void GPG_Application::stopEngine()':
/System/Library/Frameworks/Python.framework/Versions/2.3/include/python2.3/marshal.h:12: error: too many arguments to function 'PyObject* PyMarshal_WriteObjectToString(PyObject*)'
GPG_Application.cpp:720: error: at this point in file
Are we offically not supporint older versions of python now? :)
Kent
Brecht Van Lommel [Sat, 6 Sep 2008 01:18:53 +0000 (01:18 +0000)]
Bugfix: game engine could crash with empty display arrays on
windows (caused by invisible faces for example).
Jens Ole Wund [Fri, 5 Sep 2008 23:28:28 +0000 (23:28 +0000)]
treaded soft bodies final (hopefully)
bug fix [17428]
/*backward compatibility note:
G.rt==16 still activates 'old' code
fixing bug [17428] which forces adaptive step size to tiny steps in some situations .. keeping G.rt==17 0x11 option for old files 'needing' the bug*/
Brecht Van Lommel [Fri, 5 Sep 2008 21:57:34 +0000 (21:57 +0000)]
Fix: compiling with cmake 2.4 didn't work anymore due to a
compatibility fix for cmake 2.6.
Ken Hughes [Fri, 5 Sep 2008 20:41:09 +0000 (20:41 +0000)]
Python API
----------
Add missing Textures.ExtendModes.CHECKER constant.
Brecht Van Lommel [Fri, 5 Sep 2008 20:34:35 +0000 (20:34 +0000)]
GLSL: small optimization if Use Alpha is disabled for textures.
Campbell Barton [Fri, 5 Sep 2008 16:22:14 +0000 (16:22 +0000)]
BGE set visible actuator, option to set visibility recursively to make managing visibility for collections of objects a lot easier.
BGE Python api's ob.setVisible() also takes an optional recursive arg thats off by default
Brecht Van Lommel [Fri, 5 Sep 2008 15:08:01 +0000 (15:08 +0000)]
Bugfix for GLSL: no specular/diffuse + only shadow for lamps
didn't work correct.
Kent Mein [Fri, 5 Sep 2008 14:42:03 +0000 (14:42 +0000)]
Missing header.
Kent