Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Gilbert <ascotan@gmail.com>2004-04-25 09:18:43 +0400
committerJoseph Gilbert <ascotan@gmail.com>2004-04-25 09:18:43 +0400
commit395c1152c80d781b386125ca8da605f3893aa322 (patch)
tree66980865eac528a3c7b3d823016f8052a1824696 /source/blender/python/api2_2x/Scene.h
parentf47ec62b07de1342ee0e2a9f8ac71a8c8fd30dc2 (diff)
- 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
Diffstat (limited to 'source/blender/python/api2_2x/Scene.h')
-rw-r--r--source/blender/python/api2_2x/Scene.h19
1 files changed, 4 insertions, 15 deletions
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 <Python.h>
#include <DNA_scene_types.h>
-#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 */