47c2271d67
* bugfix for BGE python api - SetParent actuator getObject would segfault if the object was not set. * Added utility function ConvertPythonToGameObject() that can take a GameObject, string or None and set the game object from this since it was being done in a number of places. * allow setObject(None), since no object is valid for actuators, Python should be able to set this. * added optional argument for getObject() so it returns the KX_GameObject rather then its name, would prefer this be default but it could break existing games. |
||
---|---|---|
.. | ||
BoolValue.cpp | ||
BoolValue.h | ||
CMakeLists.txt | ||
ConstExpr.cpp | ||
ConstExpr.h | ||
EmptyValue.cpp | ||
EmptyValue.h | ||
ErrorValue.cpp | ||
ErrorValue.h | ||
EXP_C-Api.cpp | ||
EXP_C-Api.h | ||
Expression.cpp | ||
Expression.h | ||
FloatValue.cpp | ||
FloatValue.h | ||
IdentifierExpr.cpp | ||
IdentifierExpr.h | ||
IfExpr.cpp | ||
IfExpr.h | ||
InputParser.cpp | ||
InputParser.h | ||
IntValue.cpp | ||
IntValue.h | ||
KX_HashedPtr.cpp | ||
KX_HashedPtr.h | ||
KX_Python_dynamic.h | ||
KX_Python_static.h | ||
KX_Python.h | ||
ListValue.cpp | ||
ListValue.h | ||
Makefile | ||
Operator1Expr.cpp | ||
Operator1Expr.h | ||
Operator2Expr.cpp | ||
Operator2Expr.h | ||
PyObjectPlus.cpp | ||
PyObjectPlus.h | ||
SConscript | ||
StringValue.cpp | ||
StringValue.h | ||
Value.cpp | ||
Value.h | ||
VectorValue.cpp | ||
VectorValue.h | ||
VoidValue.h |