diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-03-10 14:47:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-03-10 14:47:24 +0300 |
commit | a8695b1c6e61acaf5fde5b7c5188d361a3ba4ebb (patch) | |
tree | 9d4454caa13c7016a6392d0d98006f6fa7ff25bb /source/blender/python/api2_2x/Scene.c | |
parent | 59ff076d033009f210a517cca55c4cbd5a97dec3 (diff) |
removed python oops access, (was unreliable and nobody used it)
oops data access need to be done differently.
Blender.sys fix for win32 path bug 6193
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r-- | source/blender/python/api2_2x/Scene.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c index 1518e953eba..c8a1e7d3102 100644 --- a/source/blender/python/api2_2x/Scene.c +++ b/source/blender/python/api2_2x/Scene.c @@ -1456,7 +1456,7 @@ static PyObject *SceneObSeq_new( BPy_SceneObSeq * self, PyObject *args ) if( !PyArg_ParseTuple( args, "O|s", &py_data, &name ) ) return EXPP_ReturnPyObjError( PyExc_TypeError, - "expected an object and optionally a string as arguments" ); + "scene.objects.new(obdata) - expected obdata to be\n\ta python obdata type or the string 'Empty'" ); if( Armature_CheckPyObject( py_data ) ) { data = ( void * ) Armature_FromPyObject( py_data ); |