diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-04-15 16:08:17 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-04-15 16:08:17 +0400 |
commit | 7f598451fca43d251ed4c0d0ba19239ad2e351f0 (patch) | |
tree | 6e3dbd25a8e1a19945637c6cca80e308a982634c /source/blender/blenkernel/BKE_object.h | |
parent | 1fc9fabfbf3e3688d66264457abfa7df125fc1eb (diff) |
fix [#26906] Panorama Button (Camera Data Properties)
- render check for ortho/panorama combination wasn't working since the flags were not initialized at the time of checking.
- disable panorama button in ortho mode.
Diffstat (limited to 'source/blender/blenkernel/BKE_object.h')
-rw-r--r-- | source/blender/blenkernel/BKE_object.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenkernel/BKE_object.h b/source/blender/blenkernel/BKE_object.h index cacfa702f7f..fe757b65970 100644 --- a/source/blender/blenkernel/BKE_object.h +++ b/source/blender/blenkernel/BKE_object.h @@ -138,6 +138,7 @@ struct KeyBlock *object_insert_shape_key(struct Scene *scene, struct Object *ob, int object_is_modified(struct Scene *scene, struct Object *ob); +void object_camera_mode(struct RenderData *rd, struct Object *camera); void object_camera_matrix( struct RenderData *rd, struct Object *camera, int winx, int winy, short field_second, float winmat[][4], struct rctf *viewplane, float *clipsta, float *clipend, float *lens, float *ycor, |