[#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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user