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:
Diffstat (limited to 'source/gameengine/Expressions/Value.cpp')
-rw-r--r--source/gameengine/Expressions/Value.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/gameengine/Expressions/Value.cpp b/source/gameengine/Expressions/Value.cpp
index 58f07790f6a..55dd1f5c1dd 100644
--- a/source/gameengine/Expressions/Value.cpp
+++ b/source/gameengine/Expressions/Value.cpp
@@ -609,7 +609,7 @@ static PyMethodDef CValueMethods[] =
};
-PyObject* CValue::_getattr(char* attr)
+PyObject* CValue::_getattr(const STR_String& attr)
{
CValue* resultattr = FindIdentifier(attr);
STR_String text;
@@ -698,7 +698,7 @@ CValue* CValue::ConvertPythonToValue(PyObject* pyobj)
return vallie;
}
-int CValue::_setattr(char* attr,PyObject* pyobj)
+int CValue::_setattr(const STR_String& attr,PyObject* pyobj)
{
if (!pyobj) { // member deletion