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:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-05-28 08:36:18 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-05-28 08:36:18 +0400
commitb7bf9bf1b721ba9a1a5414179763c35a7557ccef (patch)
tree11890d5eda93dc2b460792ce69ac8bd820f9a26e /source/blender/python/api2_2x/Camera.h
parenta0e54446f3ac1ba6adf87cd01d4d7b63fbbf538b (diff)
* Added submodule Blender.Material
* Added submodule Blender.Types: Blender Type definitions can't be static anymore. * Some cleanup of now unused defines in Camera.h and Lamp.h
Diffstat (limited to 'source/blender/python/api2_2x/Camera.h')
-rw-r--r--source/blender/python/api2_2x/Camera.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/source/blender/python/api2_2x/Camera.h b/source/blender/python/api2_2x/Camera.h
index 419cd9f0f6d..e297d485a92 100644
--- a/source/blender/python/api2_2x/Camera.h
+++ b/source/blender/python/api2_2x/Camera.h
@@ -57,20 +57,14 @@
#define EXPP_CAM_MODE_SHOWLIMITS 1
#define EXPP_CAM_MODE_SHOWMIST 2
-/* Camera default and MIN, MAX values */
+/* Camera MIN, MAX values */
-#define EXPP_CAM_TYPE EXPP_CAM_TYPE_PERSP
-#define EXPP_CAM_MODE 0
-#define EXPP_CAM_LENS 35.0
#define EXPP_CAM_LENS_MIN 1.0
#define EXPP_CAM_LENS_MAX 250.0
-#define EXPP_CAM_CLIPSTART 0.10
#define EXPP_CAM_CLIPSTART_MIN 0.00
#define EXPP_CAM_CLIPSTART_MAX 100.00
-#define EXPP_CAM_CLIPEND 100.0
#define EXPP_CAM_CLIPEND_MIN 1.0
#define EXPP_CAM_CLIPEND_MAX 5000.0
-#define EXPP_CAM_DRAWSIZE 0.5
#define EXPP_CAM_DRAWSIZE_MIN 0.1
#define EXPP_CAM_DRAWSIZE_MAX 10.0
@@ -207,7 +201,7 @@ int CameraCheckPyObject (PyObject *pyobj);
/*****************************************************************************/
/* Python Camera_Type structure definition: */
/*****************************************************************************/
-static PyTypeObject Camera_Type =
+PyTypeObject Camera_Type =
{
PyObject_HEAD_INIT(&PyType_Type)
0, /* ob_size */