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
This commit is contained in:
2007-03-10 11:47:24 +00:00
parent 59ff076d03
commit a8695b1c6e
6 changed files with 15 additions and 273 deletions

View File

@@ -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 );