diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-12-30 16:44:16 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-12-30 16:44:16 +0400 |
commit | 424e09a2cec805aa67824385c16a1d267fb1022b (patch) | |
tree | 57a6a1974bd73e4ef83b442e98cde72460713a9c /source/gameengine/Ketsji/KX_GameObject.h | |
parent | c52f78002150c5f39ffb1d49bffc7649d5a15b3c (diff) |
use PyUnicode_From_STR_String in the game engine in more places.
Diffstat (limited to 'source/gameengine/Ketsji/KX_GameObject.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_GameObject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Ketsji/KX_GameObject.h b/source/gameengine/Ketsji/KX_GameObject.h index 245a92a96de..cc078e96e64 100644 --- a/source/gameengine/Ketsji/KX_GameObject.h +++ b/source/gameengine/Ketsji/KX_GameObject.h @@ -888,7 +888,7 @@ public: */ virtual PyObject* py_repr(void) { - return PyUnicode_FromString(GetName().ReadPtr()); + return PyUnicode_From_STR_String(GetName()); } KX_PYMETHOD_O(KX_GameObject,SetWorldPosition); |