[#18574] small bug - warning for sce.link() depreciated displays even when sce.objects.link() is used

Remove the warning since the func will sstay in 2.4x
This commit is contained in:
Campbell Barton
2009-04-23 00:56:05 +00:00
parent 7ac233be8a
commit 327881c838

View File

@@ -844,12 +844,15 @@ static PyObject *Scene_link( BPy_Scene * self, PyObject * args )
Scene *scene = self->scene;
BPy_Object *bpy_obj;
Object *object = NULL;
#if 0
static char warning = 1;
if( warning ) {
printf("scene.link(ob) deprecated!\n\tuse scene.objects.link(ob) instead\n");
--warning;
}
#endif
SCENE_DEL_CHECK_PY(self);