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
diff options
context:
space:
mode:
authorKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-16 17:05:15 +0400
committerKester Maddock <Christopher.Maddock.1@uni.massey.ac.nz>2004-05-16 17:05:15 +0400
commit2fd6e728513f46e1f313667dfcf6b3d6e09cad39 (patch)
tree97306352111268430c9c5bcd75c1638be098cc0d /source/gameengine/GameLogic/SCA_IObject.h
parent9827bf0cd7c94273e147caae6bb254cf70aed221 (diff)
Changed Python _getattr/_setattr methods to use const STR_String& instead of char* - makes using these methods much nicer.
Diffstat (limited to 'source/gameengine/GameLogic/SCA_IObject.h')
-rw-r--r--source/gameengine/GameLogic/SCA_IObject.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/GameLogic/SCA_IObject.h b/source/gameengine/GameLogic/SCA_IObject.h
index f1409871de8..b1bb013abea 100644
--- a/source/gameengine/GameLogic/SCA_IObject.h
+++ b/source/gameengine/GameLogic/SCA_IObject.h
@@ -114,7 +114,7 @@ public:
const class MT_Point3& ConvertPythonVectorArg(PyObject* args);
// here come the python forwarded methods
- PyObject* _getattr(char* attr);
+ virtual PyObject* _getattr(const STR_String& attr);
};