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
2015-06-28BGE: added clamping of angular velocity.Sybren A. Stüvel
Angular velocity clamping was missing from the BGE. It is implemented similarly to the linear velocity clamping. It is needed to be able to drive physical simulations of systems that have a limited rotational speed. Reviewed by: campbellbarton, panzergame, ton Differential Revision: https://developer.blender.org/D1365
2015-06-28BGE Fix: apply velocity clamping on every physics subtickSybren A. Stüvel
This patch uses the Bullet "internal tick callback" functionality to ensure that velocity clamping is performed after every physics update. This makes a difference when physics subticks > 1, as in that case the too-high velocity could have impacted the simulation. This patch follows the examples at [1] and [2]; the latter example also explains that the way we limit velocity in the BGE (before this patch) is wrong. [1] http://bulletphysics.org/mediawiki-1.5.8/index.php/Simulation_Tick_Callbacks [2] http://www.bulletphysics.org/mediawiki-1.5.8/index.php/Code_Snippets#I_want_to_cap_the_speed_of_my_spaceship; Reviewed by: panzergame Differential Revision: https://developer.blender.org/D1364
2015-06-24BGE: Fix color used as background in VideoTexture.Quentin Wenger
Now we use color converted (if we do a color management) by the setter for background color in VideoTexture (ImageRender & ImageMirror). Reviewers:panzergame
2015-06-22BGE: Fix T45110, T44174, armature animations update and mirror render.Porteries Tristan
Reveiwers:Moguri, Matpi, youle
2015-06-20BGE: Fix T38030: wrong vertex index returned by KX_PolyProxyPorteries Tristan
Fix T38030. In c++ source we use one list for triangles and an other for quads, but KX_PolyProxy doesn't care about that and return the vertex offset in its list. So we just have to compute the offset of each RAS_DisplayArray to its previous to have an absolute vertex index. Reviewers: moguri, campbellbarton, kupoman, agoose77, brita_, hg1 Reviewed By: agoose77, hg1 Projects: #game_engine Maniphest Tasks: T38030 Differential Revision: https://developer.blender.org/D1324
2015-06-20BGE: dissallow calling reverse on internal clistsCampbell Barton
2015-06-20BGE Cleanup: Translation of several comments in DutchJorge Bernal
2015-06-20BGE Cleanup: remove dead code at SetCenterOfMassTransformJorge Bernal
Basically, at this line body is always NULL and the code is never executed Reviewers: moguri, hg1, panzergame, agoose77 Reviewed By: hg1, panzergame, agoose77 Subscribers: blueprintrandom Projects: #game_engine Differential Revision: https://developer.blender.org/D1331
2015-06-19BGE: Simplify collision callback registration.Porteries Tristan
Remove list m_triggerController and just use getter CcdPhysicsController->Registered(). Reviewers: sybren, agoose77
2015-06-16BGE: correct case for createConstraint keywordCampbell Barton
2015-06-16Cleanup: styleCampbell Barton
2015-06-16BGE: Fix for precision lost in setBackground/getBackground at Video TextureJorge Bernal
Now internally the variables are processed as floats avoiding int->float->char conversions that are causing precision lost. A check for int numbers is maintained to keep compatibility with old behaviour. Reviewers: ben2610, campbellbarton, moguri, hg1 Reviewed By: moguri, hg1 Subscribers: campbellbarton Projects: #game_engine Differential Revision: https://developer.blender.org/D1301
2015-06-15BGE: Fix T43918: adding submodule bge.app including attribute version.Porteries Tristan
This patch adds the submodule app to bge. apps contains constants similar to bpy.app, particularly version (tuple of three ints like 2.75.1). It was requested in T43918 and set as TODO. The patch also adds rst doc for the module. Reviewers: moguri, kupoman, lordloki, panzergame, campbellbarton Reviewed By: lordloki, panzergame, campbellbarton Subscribers: marcino15 Projects: #game_logic, #game_python, #game_engine Differential Revision: https://developer.blender.org/D1348
2015-06-15Fix T44704: BGE regression importing bpy.typesCampbell Barton
2015-06-15BGE: fix use after freeCampbell Barton
2015-06-13Fix for building without PythonCampbell Barton
2015-06-06Revert "BGE : KX_VertexProxy support for more than 2 UV channel."Mitchell Stokes
This reverts commit fb0dd596e9a58f095730359a11759c40ea46be44. This commit reintroduced a deprecated API that we'd rather not see in a release. A better solution is being worked on.
2015-06-05BGE: correct ftell use in LoadGlobalDictJorge Bernal
2015-06-05BGE Cleanup: remove dead code for collide, visible and twoside variablesJorge Bernal
As material is not NULL at this stage there is no need to do a NULL check. Also to remove dead code Reviewers: dfelinto, panzergame, hg1, moguri Reviewed By: panzergame, hg1, moguri Projects: #game_engine Differential Revision: https://developer.blender.org/D1330
2015-06-02Fix T44919: BGE marhutils attrs leak memoryCampbell Barton
2015-05-30BGE Cleanup: Removing flen variable where it is not usedJorge Bernal
2015-05-30BGE Cleanup: Identical code for both if/else branchesJorge Bernal
2015-05-29BGE: Fix memory leak when unable to add wheelJorge Bernal
2015-05-28BGE Cleanup: Remove old commented Sumo physics codeJorge Bernal
2015-05-28BGE Cleanup: The value of ikconstraint cannot be NULL at this stage andJorge Bernal
therefore it is not necessary the NULL check.
2015-05-27BGE: Add missing m_jumping initializationThomas Szepe
2015-05-25BGE: Fix bug with default material and MTFace.Porteries Tristan
It set default material even if there are a MTface but no blender material. Tested in GLSL and Multitexture. Reviewers: HG1
2015-05-24BGE : Fix black material on meshes without materials in blenderplayer.Porteries Tristan
Blenderplayer forgot to initialize the default material (defmaterail) with function init_def_material(). This reverts also the plumber commit 2fa4a48bcef05671890fafc3fe50a8fa619f0259. Reviewers: campbellbarton
2015-05-20doxygen: corrections/updatesCampbell Barton
Also add depsgraph & physics
2015-05-20BGE: Use CameCase code style for KX_WorldInfo python API.Porteries Tristan
2015-05-19BGE: Fix T40555: LibLoad material caching issuePorteries Tristan
Previously we don't merge material cached list, it create dangling pointer and memory leak. Now we merge material cache list during the scene merge, and remove material in this list during the library free. Reviewers: agoose77, dfelinto, hg1, pgi, campbellbarton, moguri Reviewed By: campbellbarton, moguri Subscribers: campbellbarton, youle, kupoman Projects: #game_engine Differential Revision: https://developer.blender.org/D1278
2015-05-17BGE: Fix T42244 LibLoad crash with logic brick KX_TouchSensorPorteries Tristan
I remove duplicate and wrong code which treat the special case of KX_TouchSensor. And Also the re-conversion of linked logic brick.
2015-05-17BGE: Fix T43761 No re-creation of display list after a mesh modification.Porteries Tristan
I also removed unused flags in RAS_ListRasterizer.cpp.
2015-05-15BGE: Fix T41299 Group API for child object in dupli instance group.Porteries Tristan
2015-05-15BGE: Fix stupid typo error in DupliGroupRecursePorteries Tristan
2015-05-15BGE: Cleanup : merge 3 loop in 1 in function DupliGroupRecurse.Porteries Tristan
2015-05-15BGE: Fix T44700 mesh without material in blenderplayer.Porteries Tristan
If a mesh doesn't have a material we don't initialize the mSavedData in KX_BlenderMaterial to avoid crash.
2015-05-14BGE: Add 'Lock Translation' for dynamic objectsThomas Szepe
The XYZ translation lock was missing for dynamic object. Reviewed By: panzergame
2015-05-14BGE: Fix: Double jumps are not working with character motion actuatorThomas Szepe
The actual character motion actuator triggers every frame the jump method. Adding an edge detection to trigger the jump method. Reviewers: lordloki, sybren, moguri Reviewed By: moguri Differential Revision: https://developer.blender.org/D1220
2015-05-14BGE: Code Cleanup: LOD hysteresis calculationThomas Szepe
* Cleanup duplicated code. * Remove unnecessary "this->" Reviewers: kupoman, lordloki Reviewed By: kupoman, lordloki Differential Revision: https://developer.blender.org/D1293
2015-05-12BGE : Fix Bullet shape margin for triangle mesh static objectsPorteries Tristan
2015-05-12BGE: Adding material IPO support to GLSL materialsMitchell Stokes
Most of this patch was created by Daniel Stokes, I'm mostly just cleaning it up and testing it. Still todo: hardness. I need to figure out how to handle the integer -> float conversion on a dynamic uniform. Reviewers: psy-fi, brecht Reviewed By: psy-fi Subscribers: psy-fi Differential Revision: https://developer.blender.org/D511
2015-05-10BGE : Fix crash during physics mesh update.Porteries Tristan
Currently we can't update the physics mesh of an added rigid body. The cause is that that we need to update all shapes to say that the mesh was changed, for static object we don't do that previously because we use a odd way to reallocate memory at the same place. So now when a mesh is changed we iterate all physics controllers which use the same shape info and recreate its shape with the correct mesh. example file : {F168100} Reviewers: scorpion81, sergof, hg1, sybren, moguri, agoose77 Reviewed By: moguri, agoose77 Subscribers: sybren Differential Revision: https://developer.blender.org/D1269
2015-05-10BGE: Fix T43822 Videotexture does not use sky color for off-screenJorge Bernal
rendering Make scene background color as default for render-to-texture instead of current blue color (0, 0, 255). It is very useful for mirrors setups. Reviewers: moguri, ben2610, sybren, panzergame, hg1 Reviewed By: panzergame, hg1, moguri Subscribers: mpan3 Differential Revision: https://developer.blender.org/D1287
2015-05-09Fix T38335: incorrect triangle index in raycast with more than 2 quadsPorteries Tristan
eb81153896 broke the fix for T38335, and this fix was incomplete, now we iterate by triangles and polys in the same while block.
2015-05-09Cleanup: warning (sequence-point)Campbell Barton
2015-05-08Fix T38335: incorrect triangle index in raycast resultPorteries Tristan
Previously we forgot to do a special operation for indexes to convert a quad to two triangles.
2015-05-08BGE: Cleanup function UpdateMesh and SetMesh in CcdPhysicsController.cppPorteries Tristan
"if (value == true)" -> "if(value)" "if (ptr == NULL)" -> "if (!ptr)" "vector<bool>" -> "std::vector<bool>" And other blender typo.
2015-05-06BGE : KX_VertexProxy support for more than 2 UV channel.Porteries Tristan
I have added an optional named "index" argument for methode get/setUV, I have also modified the and set to deprecated methodes setUV2 and getUV2 : the doc was wrong and the methode can't be called anyway because it declared as VARARG in the .h and convert directly the args value to a vector in the .cpp. Reviewers: sybren, lordloki, hg1 Reviewed By: lordloki, hg1 Subscribers: agoose77 Differential Revision: https://developer.blender.org/D1240
2015-05-06BGE: Fix compound child shape added on instance game objectPorteries Tristan