Python API

----------
Bugfix #5447: bug in determining whether a Curve was a CurNurb or SurfNurb.
This commit is contained in:
Ken Hughes
2006-12-17 05:55:56 +00:00
parent d8aaf73038
commit 940e625702
2 changed files with 5 additions and 1 deletions

View File

@@ -4534,6 +4534,7 @@ static PyObject *get_obj_data( BPy_Object *self, int mesh )
data_object = Camera_CreatePyObject( object->data );
break;
case OB_CURVE:
case OB_SURF:
data_object = Curve_CreatePyObject( object->data );
break;
case ID_IM: