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
2013-11-24Code Cleanup: whitespace / formattingCampbell Barton
2013-11-19Fix T37171: Camera parented to a bone doesn't move with the bone, unless ↵Mitchell Stokes
another object is parented too Armatures used to check if any of their meshes were culled to see if they needed to be updated. However, this meant armatures with no meshes would never update, since non-mesh objects are always considered culled. Instead, if a non-culled child was not found, we now check to see if the armature contained only non-mesh objects. If this is the case, always update the armature. If this becomes a problem, we can look into being able to cull non-mesh objects.
2013-11-18Fix T37488: Crash with --debug reading userpref.blendSergey Sharybin
Issue was in fact caused by wrong DNA storage, which apparently was considering unsigned long as just 4 bytes here. Now use uint64_t to be sure timestamp does fit into storage on all the platforms. Thanks Campbell for help looking in the issue.
2013-11-17python api internals: no need to set the stop-iter exception string.Campbell Barton
2013-11-06code cleanup: typo and warning when openmp's disabled.Campbell Barton
2013-11-05bge builds again without bullet.Campbell Barton
2013-11-04BGE: The recent physics cleanup was using KX_GameObject::GetParent() with ↵Mitchell Stokes
out calling parent->Release(). Since GetParent() does an AddRef(), this was causing a leak, which resulted in Zombie Object errors.
2013-11-04BGE: Cleaning up the BGE's physics code and removing KX_IPhysicsController ↵Mitchell Stokes
and KX_BulletPhysicsController. Instead, we just use PHY_IPhysicsController, which removes a lot of duplicate code. This is a squashed commit of the following: BGE Physics Cleanup: Fix crashes with LibLoading and replication. Also fixing some memory leaks. BGE Physics Cleanup: Removing KX_IPhysicsController and KX_BulletPhysicsController. BGE Physics Cleanup: Moving the replication code outside of KX_BlenderBulletController and switching KX_ConvertPhysicsObjects to create a CcdPhysicsController instead of a KX_BlenderBulletController. BGE Physics Cleanup: Getting rid of an unsued KX_BulletPhysicsController.h include in KX_Scene.cpp. BGE Physics Cleanup: Removing unused KX_IPhysicsController and KX_BulletPhysicsController includes. BGE Physics Cleanup: Removing m_pPhysicsController1 and GetPhysicsController1() from KX_GameObject. BGE Physics Cleanup: Remove SetRigidBody() from KX_IPhysicsController and remove GetName() from CcdPhysicsController. BGE Physics Cleanup: Moving Add/RemoveCompoundChild() from KX_IPhysicsController to PHY_IPhysicsController. BGE Physics Cleanup: Removing GetLocalInertia() from KX_IPhysicsController. BGE Physics Cleanup: Making BlenderBulletCharacterController derive from PHY_ICharacter and removing CharacterWrapper from CcdPhysicsEnvironment.cpp. Also removing the character functions from KX_IPhysicsController. BGE Physics Cleanup: Removing GetOrientation(), SetOrientation(), SetPosition(), SetScaling(), and GetRadius() from KX_IPhysicsController. BGE Physics Cleanup: Removing GetReactionForce() since all implementations returned (0, 0, 0). The Python interface for KX_GameObject still has reaction force code, but it still also returns (0, 0, 0). This can probably be removed as well, but removing it can break scripts, so I'll leave it for now. BGE Physics Cleanup: Removing Get/SetLinVelocityMin() and Get/SetLinVelocityMax() from KX_IPhysicsController. BGE Physics Cleanup: Removing SetMargin(), RelativeTranslate(), and RelativeRotate() from KX_IPhysicsController. BGE Physics Cleanup: Using constant references for function arguments in PHY_IPhysicsController where appropriate. BGE Physics Cleanup: Removing ApplyImpulse() from KX_IPhysicsController. BGE Physics Cleanup: Removing ResolveCombinedVelocities() from KX_IPhysicsController. BGE Physics Cleanup: Accidently removed a return when cleaning up KX_GameObject::PyGetVelocity(). BGE Physics Cleanup: Remove GetLinearVelocity(), GetAngularVelocity() and GetVelocity() from KX_IPhysicsController. The corresponding PHY_IPhysicsController functions now also take Moto types instead of scalars to match the KX_IPhysicsController interface. BGE Physics Cleanup: Moving SuspendDynamics, RestoreDynamics, SetMass, GetMass, and SetTransform from KX_IPhysicsController to PHY_IPhysicsController. BGE Physics Cleanup: PHY_IPhysicsEnvironment and derived classes now use the same naming scheme as PHY_IController. BGE Physics Cleanup: PHY_IMotionState and derived classes now use the same naming convention as PHY_IController. BGE Phsyics Cleanup: Making PHY_IController and its derived classes follow a consistent naming scheme for member functions. They now all start with capital letters (e.g., setWorldOrientation becomes SetWorldOrientation). BGE Physics Cleanup: Getting rid of KX_GameObject::SuspendDynamics() and KX_GameObject::RestoreDynamics(). Instead, use the functions from the physics controller. BGE: Some first steps in trying to cleanup the KX_IPhysicsController mess. KX_GameObject now has a GetPhysicsController() and a GetPhysicsController1(). The former returns a PHY_IPhysicsController* while the latter returns a KX_IPhysicsController. The goal is to get everything using GetPhysicsController() instead of GetPhysicsController1().
2013-11-04BGE Rasterizer Cleanup: Cleaning up some includes.Mitchell Stokes
2013-11-04BGE Rasterizer Cleanup: Removing the Singletexture material mode. More ↵Mitchell Stokes
conversion code will probably be needed.
2013-11-04BGE Rasterizer Cleanup: Removing the need to reference KX_BlenderMaterial or ↵Mitchell Stokes
KX_PolygonMaterial in RAS_OpenGLRasterizer.
2013-11-04BGE Rasterizer Cleanup: Removing RAS_IRenderTools and moving the ↵Mitchell Stokes
functionality to RAS_IRasterizer. RAS_OpenGLRasterizer is a bit of a mess now with references to Ketsji and other modules it shouldn't be accessing.
2013-11-02fix memory leak with navmeshCampbell Barton
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-09-18BGE: Fixing a typo in the collision API that was found by agoose77.Mitchell Stokes
2013-09-14BGE: Adding a Python collision API. The initial patch was provided by ↵Mitchell Stokes
agoose77, with some edits by me. KX_GameObject now has a collisionCallbacks list which is a list of callables that are called when a collision occurs. The callables will be called with an argument that contains a reference to the other object involved in the collision (i.e., not self).
2013-09-06Fixing a problem with variance shadow maps blurring out on transparent ↵Daniel Stokes
receivers in the Game Engine reported by Sam Cameron on the IRC. Also correcting some slight blurring over time by making sure the color buffer is cleared for shadows.
2013-08-26BGE: Cleaning up the vsync code a little.Mitchell Stokes
2013-08-20patch [#36503] BGE Python - Radar and Ray sensor wrong AXIS constants wrong ↵Campbell Barton
defined from Jorge Bernal (lordloki)
2013-08-19Fix build with GE and WITH_CXX_GUARDEDALLOC enabled…Bastien Montagne
2013-08-19style cleanup: indent/whitespaceCampbell Barton
2013-08-18Fix a few compiler warnings reported by clang.Brecht Van Lommel
2013-08-17BGE: Adding partial support for LibLoaded lights with GLSL materials.Mitchell Stokes
Any GLSL materials loaded after lights are LibLoaded will now use the lights in heir shaders. This includes materials loaded from the same scene as the LibLoaded lights. We could later add a new flag to LibLoad to recompile all existing shaders, but this commit should offer a lot more flexibility as is.
2013-08-17BGE: Flipping vsync constants so VSYNC_ON is 0.Mitchell Stokes
This will make transitions from older versions of Blender easier since VSYNC_ON will be the default. This could have been changed in a do_version, but the vsync code has yet to see an official release, so I figured this would be a bit nicer. Also, this makes VSYNC_ON the default for new scenes as well.
2013-08-15BGE: Finally adding support for additive layer blending.Mitchell Stokes
Currently this is only for the Python API. The logic brick will be updated in a future commit.
2013-08-15Adding a new state for sound handles in audaspace: stopped.Joerg Mueller
Now sounds that stopped playing but are still kept in the device can be differentiated from paused sounds with this state. This should also fix the performance issues mentioned in [#36466] End of SequencerEntrys not set correctly. Please test if sound pausing, resuming and stopping works fine in the BGE and sequencer, my tests all worked fine, but there might be a use case that needs some fixing.
2013-08-14BGE Dome: bugfix - Warp Mesh not workingDalai Felinto
Fix: to swap the drawing order for the warp mesh polygon The code was drawing CW instead of CCW. It would work in some cases where the drawing flags would allow for the back faces to be visible. More specifically the alternative fix were: glDisable ( GL_CULL_FACE ); glFrontFace( GL_CW ); Bug originally reported in the small_planetarium mailing list. This bug fix was a comissioned job by a group who prefer not to be credited. Thanks regardless.
2013-08-13BGE: Updating the bge.logic.expandPath() documentation to better reflect its ↵Mitchell Stokes
current behavior.
2013-08-13BGE: Adding a GPU Latency profile category to represent the CPU time spent ↵Mitchell Stokes
waiting on the graphics card.
2013-08-10As requested by Mitchell Stokes, reverting r58837 as it is causing some ↵Daniel Stokes
problems with the embedded game engine's python execution.
2013-08-07Adding a fov attribute to KX_Camera. This attribute converts the field of ↵Daniel Stokes
view value and uses it to set lens.
2013-08-07BGE Fix [#33215] KX_MeshProxy.transformUV() argument ValueErrorDaniel Stokes
2013-08-04fix memory leak in KX_ObstacleSimulationCampbell Barton
2013-08-04fix read outside buffer range KX_ObstacleSimulationTOI_rays::sampleRVO,Campbell Barton
Was using 3d vectors for 2d operations, passing float[2] to args that use MT_Vector3 was reading the 3rd value of a 2d array
2013-08-04KX_ObstacleSimulation: replace inline math functions with BLI_math functionsCampbell Barton
2013-08-04code cleanup: replace strncpy -> BLI_strncpy, skip first 2 chars when making ↵Campbell Barton
a hash from the object name.
2013-08-04avoid freeing NULL pointer for navmesh BuildVertIndArrays and dont truncate ↵Campbell Barton
memset arg.
2013-08-04avoid runtime overflow (1 << 31), for RNA and armature layer UI.Campbell Barton
2013-08-04code cleanup: remove unused define, correct header guard mismatch, add NULL ↵Campbell Barton
check so DM_to_mesh() can have a NULL object passed (currently not used) and remove redundant NULL check.
2013-08-03BGE: Removing some unreachable and unused code in BL_ActionManager.cpp.Mitchell Stokes
2013-08-03BGE: Fixing a memory leak with PyType_Ready_ADD.Mitchell Stokes
2013-07-30BGE: Adding vsync control. Users can enable vsync, disable vsync, or use ↵Mitchell Stokes
adaptive vsync via UI options in the render properties, or by using the new Python method bge.render.setVsync(). Win32 and X11 support are done via EXT_swap_control. Support for using EXT_swap_control on OS X still needs to be added to Ghost.
2013-07-30BGE: Adding bge.physics as another alias for the PhysicsConstraints module.Mitchell Stokes
2013-07-24BGE Fix [#29575] Object not drawn in game engineDaniel Stokes
Implementing a GetBlenderImage for KX_BlenderMaterial so that modifiers draw correctly in multitexture mode. The preexisting limitation of 1 texture per material on objects with modifiers in multitexture mode still exists.
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-20edit to r58425, BLI_math is available here, better not copy,paste from ↵Campbell Barton
linearrgb_to_srgb. also remove redundant check in AUD_FFMPEGReader::seek.
2013-07-20* Compile fix for overloaded pow() function. Thomas Dinges
2013-07-20BGE fix [#35563] Object colour setting for objects and fonts not using ↵Daniel Stokes
colour management like materials
2013-07-20Merged changes from trunk r58324-58419.ge_devMitchell Stokes
2013-07-19Fix some definitions for MinGW64Antony Riakiotakis