Logo Search packages:      
Sourcecode: blender version File versions

PyObject* World_Init ( void   ) 

Initializes the Blender.World submodule.

This function is used by Blender_Init() in Blender.c to register the Blender.World submodule in the main Blender module.

Returns:
PyObject*: The initialized submodule.

Definition at line 386 of file World.c.

{
      PyObject *submodule;

      World_Type.ob_type = &PyType_Type;

      submodule = Py_InitModule3( "Blender.World",
                            M_World_methods, M_World_doc );

      return ( submodule );
}


Generated by  Doxygen 1.6.0   Back to index