Blender Git Commit Log

Git Commits -> Revision c77af31

Revision c77af31 by Campbell Barton (master)
February 25, 2009, 06:43 (GMT)
Minor speedups for the BGE
* Where possible use vec.setValue(x,y,z) to assign values to a vector instead of vec= MT_Vector3(x,y,z), for MT_Point and MT_Matrix types too.
* Comparing TexVerts was creating 10 MT_Vector types - instead compare as floats.
* Added SG_Spatial::SetWorldFromLocalTransform() since the local transform is use for world transform in some cases.
* removed some unneeded vars from UpdateChildCoordinates functions
* Py API - Mouse, Ray, Radar sensors - use PyObjectFrom(vec) rather then filling the lists in each function. Use METH_NOARGS for get*() functions.

Commit Details:

Full Hash: c77af311665d230ed933138cd20962d021ad5c2b
SVN Revision: 19108
Parent Commit: 2eb85c0
Lines Changed: +164, -318

18 Modified Paths:

/source/blender/python/api2_2x/Mathutils.c (+5, -5) (Diff)
/source/gameengine/Converter/BL_BlenderDataConversion.cpp (+28, -41) (Diff)
/source/gameengine/Converter/BL_MeshDeformer.cpp (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+13, -15) (Diff)
/source/gameengine/Ketsji/KX_MouseFocusSensor.cpp (+19, -70) (Diff)
/source/gameengine/Ketsji/KX_MouseFocusSensor.h (+6, -6) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.cpp (+9, -26) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.h (+3, -3) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.cpp (+14, -50) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.h (+4, -4) (Diff)
/source/gameengine/Ketsji/KX_SG_BoneParentNodeRelationship.cpp (+9, -10) (Diff)
/source/gameengine/Ketsji/KX_SG_NodeRelationships.cpp (+16, -64) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.cpp (+3, -3) (Diff)
/source/gameengine/Rasterizer/RAS_TexVert.cpp (+16, -10) (Diff)
/source/gameengine/Rasterizer/RAS_TexVert.h (+1, -0) (Diff)
/source/gameengine/SceneGraph/SG_BBox.cpp (+2, -2) (Diff)
/source/gameengine/SceneGraph/SG_Spatial.cpp (+13, -6) (Diff)
/source/gameengine/SceneGraph/SG_Spatial.h (+2, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021