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:
authorCampbell Barton <ideasman42@gmail.com>2009-05-26 11:41:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-05-26 11:41:34 +0400
commit7ba91ddcc37bbc8cd6c417e588d7ca7a3bb65e24 (patch)
treea48e47d95c8ebf987ff561ddc38d3542d5a35e37 /source/gameengine/Expressions/Value.cpp
parent5f82855a07eb1cfbb89aba654c9c8f7da1544c5b (diff)
BGE Script template for a python module (set EOL to native this time)
BGE PyAPI use defines for error return values - del gameOb['var'] error message was wrong.
Diffstat (limited to 'source/gameengine/Expressions/Value.cpp')
-rw-r--r--source/gameengine/Expressions/Value.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/gameengine/Expressions/Value.cpp b/source/gameengine/Expressions/Value.cpp
index f61ef1455b4..773fd94a0fb 100644
--- a/source/gameengine/Expressions/Value.cpp
+++ b/source/gameengine/Expressions/Value.cpp
@@ -662,7 +662,7 @@ int CValue::py_delattro(PyObject *attr)
return 0;
PyErr_Format(PyExc_AttributeError, "attribute \"%s\" dosnt exist", attr_str);
- return 1;
+ return PY_SET_ATTR_MISSING;
}
int CValue::py_setattro(PyObject *attr, PyObject* pyobj)