Logo Search packages:      
Sourcecode: blender version File versions

static PyObject * World_setSkytype ( BPy_World *  self,
PyObject *  args 
) [static]

World PyMethod setSkytype.

Returns:
int : The World Data skytype.

Definition at line 549 of file World.c.

Referenced by World_SetAttr().

{
      int skytype;

      if( !PyArg_ParseTuple( args, "i", &skytype ) )
            return ( EXPP_ReturnPyObjError( PyExc_TypeError,
                                    "expected int argument" ) );
      self->world->skytype = skytype;
      Py_INCREF( Py_None );
      return Py_None;
}


Generated by  Doxygen 1.6.0   Back to index