Blender Git Loki

Git Commits -> Revision 5553d2c

Revision 5553d2c by Campbell Barton (master)
April 22, 2009, 14:42 (GMT)
BGE C++ API
PyObjectPlus::ProcessReplica() is now called when any of its subclasses are replicated.

This is important because PyObjectPlus::ProcessReplica() NULL's the 'm_proxy' python pointer I added recently.
Without this a replicated subclass of PyObjectPlus could have an invalid pointer (crashing the BGE).

This change also means CValue::AddDataToReplica() can be moved into CValue::ProcessReplica() since ProcessReplica is always called.

Commit Details:

Full Hash: 5553d2c0142539c754575ce471c2676e0d5dff34
SVN Revision: 19871
Parent Commit: a8592d0
Lines Changed: +63, -140

61 Modified Paths:

/source/gameengine/Converter/BL_ActionActuator.cpp (+3, -6) (Diff)
/source/gameengine/Converter/BL_ArmatureObject.cpp (+0, -4) (Diff)
/source/gameengine/Converter/BL_DeformableGameObject.cpp (+0, -4) (Diff)
/source/gameengine/Converter/BL_ModifierDeformer.cpp (+1, -0) (Diff)
/source/gameengine/Converter/BL_ShapeActionActuator.cpp (+1, -3) (Diff)
/source/gameengine/Converter/BL_SkinDeformer.cpp (+2, -0) (Diff)
/source/gameengine/Expressions/BoolValue.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/EmptyValue.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/FloatValue.cpp (+2, -2) (Diff)
/source/gameengine/Expressions/IntValue.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/ListValue.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/StringValue.cpp (+1, -1) (Diff)
/source/gameengine/Expressions/Value.cpp (+20, -30) (Diff)
/source/gameengine/Expressions/Value.h (+3, -3) (Diff)
/source/gameengine/Expressions/VectorValue.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_2DFilterActuator.cpp (+0, -2) (Diff)
/source/gameengine/GameLogic/SCA_ActuatorSensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_AlwaysSensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_ANDController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_DelaySensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_ExpressionController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_IActuator.cpp (+1, -0) (Diff)
/source/gameengine/GameLogic/SCA_JoystickSensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_KeyboardSensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_MouseSensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_NANDController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_NORController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_ORController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_PropertyActuator.cpp (+0, -5) (Diff)
/source/gameengine/GameLogic/SCA_PropertySensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_PythonController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_RandomActuator.cpp (+0, -2) (Diff)
/source/gameengine/GameLogic/SCA_RandomSensor.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_XNORController.cpp (+1, -1) (Diff)
/source/gameengine/GameLogic/SCA_XORController.cpp (+1, -1) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageActuator.cpp (+0, -3) (Diff)
/source/gameengine/Ketsji/KXNetwork/KX_NetworkMessageSensor.cpp (+1, -3) (Diff)
/source/gameengine/Ketsji/KX_Camera.cpp (+0, -1) (Diff)
/source/gameengine/Ketsji/KX_CameraActuator.cpp (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_CDActuator.cpp (+0, -3) (Diff)
/source/gameengine/Ketsji/KX_ConstraintActuator.h (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_GameActuator.cpp (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_GameObject.cpp (+2, -1) (Diff)
/source/gameengine/Ketsji/KX_IpoActuator.h (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_Light.cpp (+0, -3) (Diff)
/source/gameengine/Ketsji/KX_MouseFocusSensor.h (+1, -1) (Diff)
/source/gameengine/Ketsji/KX_NearSensor.cpp (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_ObjectActuator.cpp (+0, -3) (Diff)
/source/gameengine/Ketsji/KX_ParentActuator.cpp (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_RadarSensor.cpp (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_RaySensor.cpp (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_SCA_AddObjectActuator.cpp (+0, -1) (Diff)
/source/gameengine/Ketsji/KX_SCA_DynamicActuator.cpp (+0, -4) (Diff)
/source/gameengine/Ketsji/KX_SCA_EndObjectActuator.cpp (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_SCA_ReplaceMeshActuator.cpp (+0, -3) (Diff)
/source/gameengine/Ketsji/KX_SceneActuator.cpp (+0, -3) (Diff)
/source/gameengine/Ketsji/KX_SoundActuator.cpp (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_StateActuator.cpp (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_TouchSensor.cpp (+1, -2) (Diff)
/source/gameengine/Ketsji/KX_TrackToActuator.h (+0, -2) (Diff)
/source/gameengine/Ketsji/KX_VisibilityActuator.cpp (+0, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021