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:
authorDaniel Dunbar <daniel@zuster.org>2005-04-24 23:32:04 +0400
committerDaniel Dunbar <daniel@zuster.org>2005-04-24 23:32:04 +0400
commit0094bc92dd05b0d73cd3faa8585459d99927e779 (patch)
treeba589d4bcd65cca5b5f72a79373cc98dfe98d6a4 /source/blender/python
parenta15fbce1de3046c5cbd409dd8d3b5d55570702b3 (diff)
- EXPP_addScriptLink called wrong error function (I bet the compiler
warned about this...)
Diffstat (limited to 'source/blender/python')
-rw-r--r--source/blender/python/api2_2x/gen_utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/gen_utils.c b/source/blender/python/api2_2x/gen_utils.c
index ecdcc11e9f7..e909de1184c 100644
--- a/source/blender/python/api2_2x/gen_utils.c
+++ b/source/blender/python/api2_2x/gen_utils.c
@@ -470,7 +470,7 @@ PyObject *EXPP_addScriptLink(ScriptLink *slink, PyObject *args, int is_scene)
else if( is_scene && !strcmp( eventname, "OnSave" ) )
event = SCRIPT_ONSAVE;
else
- return EXPP_ReturnIntError( PyExc_AttributeError,
+ return EXPP_ReturnPyObjError( PyExc_AttributeError,
"invalid event name" );
stmp = slink->scripts;