Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-09-12- fix for mesh_get_mapped_verts_nors copying short normals to floats without ↵Campbell Barton
scaling. - BL_SkinDeformer also did this though for that case its not a problem because the normals are later accumulated anyway.
2011-09-11Recast: fix bad level calls, Recast compiled out if BGE not enabled. SCons ↵Benoit Bolsee
updated but not tested.
2011-09-11bugfix: [bf-blender-Game Engine][28167] Restart game actuator don't get ↵Dalai Felinto
changed material mode http://projects.blender.org/tracker/?func=detail&aid=28167&group_id=9&atid=306 Game Actuator (restart or load a new file) will not keep some settings alive (as we had in 2.49). In 2.49 the solution used was to use Blender globals (G.fileflags) to get/set those settings. That was causing the blender file to change if you change the material mode from the game. In 2.5 this never worked, and the implementation was buggy (it's relying in the scene settings, which get reset ever time we restart/load a new file). My idea for fixing this is to create a new struct (GlobalSettings) where we store any setting to be preserver during the course of the game. This is specially important for options that require the game to restart/load new file (graphic ones). But it later can be expanded to support other things such as audio settings (e.g. volume), ... I'm also planning to expand it for stereo and dome settings, but I prefer to first get this committed and then build a new patch on top of that. I had some problems in finding a correct way for build/link the blenderplayer changes, so although it's working I'm not sure this is the best code (e.g. I couldn't make forward declaration to work in GPG_Application.h for the struct GlobalSettings so I ended up including KX_KetsjiEngine.h) [note: I talked with Brecht and he find this is an ok solution. He implemented it originally so it's good to have his go. However I still think there must be a way to make forward declaration to work. I will see with other devs if there is a better solution] [also I'm likely renaming glsl to flags later if there are more settings stored in the flags to be used. But for now we are only handling glsl flags]
2011-09-10Another set of fixes for recats: osx uses different order of arguments for ↵Sergey Sharybin
sort_r and it's callback. Also do not use char constants like 'NAVM' which is casting to int. And added defautl section to switch in KX_NavMeshObject::DrawNavMesh.
2011-09-10fix for building with collada and some other warningsCampbell Barton
2011-09-10fixed linking with CMakeCampbell Barton
2011-09-10recast and detour patch now builds again with GCCCampbell Barton
- rearrange structs to work for 64bit - define all vars before goto's - ifdefs for qsort_r/qsort_s - dont cast pointers to int only for NULL checks - dont printf STR_String directly, get the char pointer from it also minor change to gpu py module, no need to pass empty tuple to PyObject_CallObject, can just be NULL
2011-09-10SVN maintenance.Guillermo S. Romero
2011-09-09svn merge -r 39975:40061 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07svn merge -r 37306:39975 ↵Benoit Bolsee
https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-09-07use Py_ssize_t rather than int when dealing with list sizes (original patch ↵Campbell Barton
from Fedora but applied changes elsewhere too), also replace PyList_Size with PyList_GET_SIZE where typechecking is already done.
2011-09-07BGE fix: ignore sounds that cannot be opened instead of crashing. ;-)Joerg Mueller
2011-09-06fix some complier warnings and add -Wundef to CMake's default GCC warnings.Campbell Barton
2011-09-05Code cleanup: warning fixes.Brecht Van Lommel
2011-09-04BGE animations: fixing initialization order issues for BL_ActionActuator and ↵Mitchell Stokes
BL_ArmatureObject. Thanks to z0r for pointing them out and providing a fix.
2011-09-04BGE animations: Fixing a potential crash when using camera IPOs. The IPOs ↵Mitchell Stokes
were being created off of blendercamera->adt->action when they should have been using the supplied action. Thanks to z0r for pointing out the problem and a potential fix.
2011-09-04BGE animations: Adding a separate list to KX_Scene for animated objects. ↵Mitchell Stokes
This makes scenes with a lot of non-animated objects faster. In my test scene with 8000 static, non-animated cubes my time spent on animations went from 1.5~1.7ms to 0.001ms.
2011-09-03BGE animations: Fixing a crash that would happen if the property for a ↵Mitchell Stokes
property mode action actuator was invalid.
2011-09-03fix [#28462] Tiled textures and 2D filters don't mixCampbell Barton
patch by Juha Mäki-Kanto
2011-09-03whitespace editsCampbell Barton
2011-09-02BGE animations: This is an attempt to help smooth out some more ↵Mitchell Stokes
compatibility issues with the new action actuator. It now has a similar pulse behavior to the old actuator. This has worked well in most of my tests, but YoFrankie still has problems, and it appears to have gotten a little worse.
2011-09-01BGE: Undoing r39729 and applying a simpler fix (ensuring that the viewport ↵Mitchell Stokes
is correct for PostRenderScene()). This way both 2d filters and post_draw callbacks with with multiple viewports.
2011-09-01whitespace bge editsCampbell Barton
2011-09-01BGE Animations: The return type for KX_GameObject.getActionFrame() was an ↵Mitchell Stokes
integer when it should have been a float. I've fixed this and converted the tabs in the new BGE animation docs to space. I have also added more info on return types for KX_GameObject.getActionFrame() and KX_GameObject.isPlayingAction().
2011-08-31BGE: Adding two new functions to bge.render to allow users to change the ↵Mitchell Stokes
anisotropic filtering level used by textures: * setAnisotropicFiltering(level) * getAnisotropicFiltering()
2011-08-31typo fix: end of lines ;; --> ;Campbell Barton
2011-08-30Fix for [#25062] Sound Actuator - Positional Audio.Joerg Mueller
Now all sounds that are not mono but have 3D checked automatically get reduced to mono during BGE conversion time. Also removed the now unneeded function sound_get_channels and added a missing header file to audaspace's CMakeLists.txt.
2011-08-30* Merge trunk up to r39790.soc-2011-pepperJoerg Mueller
* Subversion bump (also for init_userdef_do_versions). * Minor fix for compilation without ffmpeg.
2011-08-29BGE Animations: Various changes to make code reviewers happy:Mitchell Stokes
* Naming/style changes * Taking advantage of switch statements * Removing unneeded NULL checks * etc
2011-08-29bge bugfix: [#28362] Controllers names appear incorrectly with a python queryDalai Felinto
the uniquename was never fully implemented for sensors and actuators, only for controllers. at some point we either get rid of all of them, or bring them all on. For now removing the "unique name" of controllers
2011-08-28* Removing mocap GSoC (is an addon already).Joerg Mueller
* Fixing ffmpeg-0.8 errors. * Fixing Ketsji paths. * Removing DoSound from BGE. * Fixing audio scene update to use only current scene objects.
2011-08-28check for unlikely error when freeing a library blend file from the BGE.Campbell Barton
2011-08-27- use %u rather tham %d for unsigned ints in string formatting funcs.Campbell Barton
- replace (strlen(str) == 0) with str[0]=='\0'
2011-08-27- fix for BL_Shader::SetUniform() missing out the last part of the matrix.Campbell Barton
- particle.c wasn't setting all components of the vector when reading cache and setting dummy velocity values. - some functions incorrectly took a float[3] argument when the 4th value was set. - remove a few redundant lines of code.
2011-08-27BGE: Post drawing callbacks are now done per viewport instead of per scene. ↵Mitchell Stokes
This is handy for things like having a different HUD for each player in a splitscreen game. To figure out what viewport you're drawing too, check the scene's active_camera.
2011-08-27fix for bug with all rotation modes being treated as euler by the BGE, this ↵Campbell Barton
bug is in trunk too but fixing here because this code will replace whats in trunk. also make initializers less verbose for ipo transform assignment.
2011-08-27bge py api XK_GameObject.linVelocityMin was returning linVelocityMax.Campbell Barton
2011-08-25Committing patch #25675 "Make "Cast Buffer Shadows" option work in viewport ↵Mitchell Stokes
and BGE" by me. Description from the tracker: "It's really handy to be able to prevent an object/material from casting a shadow. So, I made use of the Cast Buffer Shadows option in the material settings, and made it work in the viewport and the BGE."
2011-08-23Merging trunk up to r39637.Joerg Mueller
2011-08-223D Audio GSoC:Joerg Mueller
Final GSoC commit. * Bugfix: Negative frames crashed * Bugfix: JOS sample buffer size prediction error (wasted memory) * Optimisation: for JOS upsampling (around 12 % difference measured here) * Optimisation: Better filter for JOS resampling * Bugfix: Error in relative 3D audio code. * Removed Attenuation * Bugfix: Multiple scenes in BGE lead to errors, BGE audio now all relative, to support multiple scenes.
2011-08-22fix [bf-blender-Patches][27924] Redundant applying of SetNetworkDeviceCampbell Barton
noticed by Jorge Bernal (lordloki)
2011-08-17BGE Animations: Lamp and Camera IPOs are now handled like object IPOs, which ↵Mitchell Stokes
means lamps and cameras are no longer stuck to just their active action. However, the Blender UI seems a little restrictive in this area.
2011-08-16BGE Animations: Increasing the max layer count to 8 as per a user request. ↵Mitchell Stokes
Also, layer checks were checking for values between 0 and MAX_ACTION_LAYERS when they should have been checking for values between 0 and MAX_ACTION_LAYERS - 1.
2011-08-16Merging trunk up to r39447.Joerg Mueller
2011-08-163D Audio GSoC:Joerg Mueller
High quality resampling on mixdown, linear for playback. * Lots of improvements and fixes for the JOS resampler, now it works fine! * High quality filter coefficients for the JOS resampler (sorry for the 5 MB source file). * Fix for GE orientation bug. Note: moto uses x,y,z,w quaternion storage, while rest of blender uses w,x,y,z. * Minor changes/fixes.
2011-08-14bugfix:[#25603] bad shadows in stereo mode - patch by Juha Maki-KantoDalai Felinto
2011-08-13BGE Animations: Adding an option to let users choose whether or not to lock ↵Mitchell Stokes
animation updates to the framerate. If this option is enabled, animations are only updated at the same speed as the animation framerate. This can give a significant speed up in performance, but at the cost of smoothness in animations. I'm defaulting this behavior to off for now, which is the behavior seen in trunk.
2011-08-11BGE Animations: Animation updates are now handled separately from ↵Mitchell Stokes
logic/physics updates. This allows the animations to be updated at the full fps specified by the user. Before, updates were not happening frequently enough. For example, a 30fps animation my only update at 20~30fps, which would cause some noticeable lag. This my not be the best solution since at this point we may be dropping frames (not being in the while(frames) loop), and we're not updating as often as the physics engine might want for bone parented physics objects.
2011-08-11BGE Animations: Updating BL_ActionActuator.frame to work with the new actuator.Mitchell Stokes
2011-08-11BGE Animations: Always update the localtime used for continuous animations. ↵Mitchell Stokes
Previously this was only done on a positive or negative pulse, which could lead to some issues with a continuous flipper animation.