diff options
author | Campbell Barton <ideasman42@gmail.com> | 2006-10-13 15:56:08 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2006-10-13 15:56:08 +0400 |
commit | c8b06bba9c7ca9a537ac0e02f0466d7da64c60fe (patch) | |
tree | 4c30c426d8ace69cc7c0a0ee3b05dfa65e72ec0e /source/blender/python/api2_2x/Scene.c | |
parent | ffed7d3566c00768458fa6678f0d8298c0d4aa2c (diff) |
mesh/animation exporters didnt work when there were no 3d views open, because the Blender.Set('curframe', i) called a update command that resulted in no viewable layers updating.
Made Blender.Set('curframe', i) do a
scene_update_for_newframe(G.scene, (1<<20) - 1);
removed 2 unused constants from Scene.c
Diffstat (limited to 'source/blender/python/api2_2x/Scene.c')
-rw-r--r-- | source/blender/python/api2_2x/Scene.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/python/api2_2x/Scene.c b/source/blender/python/api2_2x/Scene.c index 8296fb5d0d4..effad817b34 100644 --- a/source/blender/python/api2_2x/Scene.c +++ b/source/blender/python/api2_2x/Scene.c @@ -76,11 +76,6 @@ struct View3D; PyObject *M_Object_Get( PyObject * self, PyObject * args ); /* from Object.c */ -/*----------------------------------- Python BPy_Scene defaults------------*/ -#define EXPP_SCENE_FRAME_MAX 30000 -#define EXPP_SCENE_RENDER_WINRESOLUTION_MIN 4 -#define EXPP_SCENE_RENDER_WINRESOLUTION_MAX 10000 - /* checks for the scene being removed */ #define SCENE_DEL_CHECK_PY(bpy_scene) if (!(bpy_scene->scene)) return ( EXPP_ReturnPyObjError( PyExc_RuntimeError, "Scene has been removed" ) ) #define SCENE_DEL_CHECK_INT(bpy_scene) if (!(bpy_scene->scene)) return ( EXPP_ReturnIntError( PyExc_RuntimeError, "Scene has been removed" ) ) |