From 395c1152c80d781b386125ca8da605f3893aa322 Mon Sep 17 00:00:00 2001 From: Joseph Gilbert Date: Sun, 25 Apr 2004 05:18:43 +0000 Subject: - finalize scene.render module - added some constants for the rendering module to blender module - moved rendering functions from scene to scene.render - rendering functions called from renderData struct instead of from scene directly - getRenderingContext() returns rendering data struct - deprecation of old scene functions - some formatting/documentation of code --- source/blender/python/api2_2x/Scene.h | 19 ++++--------------- 1 file changed, 4 insertions(+), 15 deletions(-) (limited to 'source/blender/python/api2_2x/Scene.h') diff --git a/source/blender/python/api2_2x/Scene.h b/source/blender/python/api2_2x/Scene.h index db97ad891ec..ef2664f8ad0 100644 --- a/source/blender/python/api2_2x/Scene.h +++ b/source/blender/python/api2_2x/Scene.h @@ -35,33 +35,22 @@ #include #include -#include "constant.h" -#include "gen_utils.h" -#include "sceneRender.h" - /* The Scene PyType Object defined in Scene.c */ PyTypeObject Scene_Type; #define BPy_Scene_Check(v) \ - ((v)->ob_type == &Scene_Type) /* for type checking */ + ((v)->ob_type == &Scene_Type) -/*****************************************************************************/ -/* Python BPy_Scene structure definition: */ -/*****************************************************************************/ +//---------------------------Python BPy_Scene structure definition------------------------------------------------------ typedef struct { PyObject_HEAD Scene *scene; - } BPy_Scene; - -/*****************************************************************************/ -/* Python Scene_Type helper functions needed by Blender (the Init function) */ -/* and Object modules. */ -/*****************************************************************************/ +//---------------------------Python BPy_Scene visible prototypes------------------------------------------------------ +// Python Scene_Type helper functions needed by Blender (the Init function) and Object modules. PyObject *Scene_Init (void); PyObject *Scene_CreatePyObject (Scene *cam); Scene *Scene_FromPyObject (PyObject *pyobj); int Scene_CheckPyObject (PyObject *pyobj); - #endif /* EXPP_SCENE_H */ -- cgit v1.2.3