diff options
author | Joshua Leung <aligorith@gmail.com> | 2009-11-01 14:33:41 +0300 |
---|---|---|
committer | Joshua Leung <aligorith@gmail.com> | 2009-11-01 14:33:41 +0300 |
commit | 3111ebde6599d01c5ac68a64b026a525adaee580 (patch) | |
tree | b87c909e9e26903b53b6b7d6b24dd4f614911cf5 /source/blender/blenkernel/intern/ipo.c | |
parent | 2068eaf1b7f7729198ad865f69fa3bd11d7a9edc (diff) |
Quick tweak to version patching code for Camera IPO's to fix one of the issues in bugreport 19761.
For now, this just assumes that the 'lens' parameter was animated (assuming a perspective lens was used). Unfortunately, this may not always be correct, but at least there's a path now that can lead to further tweaking.
Diffstat (limited to 'source/blender/blenkernel/intern/ipo.c')
-rw-r--r-- | source/blender/blenkernel/intern/ipo.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenkernel/intern/ipo.c b/source/blender/blenkernel/intern/ipo.c index 6717f5560be..5dc26143533 100644 --- a/source/blender/blenkernel/intern/ipo.c +++ b/source/blender/blenkernel/intern/ipo.c @@ -601,8 +601,9 @@ static char *camera_adrcodes_to_paths (int adrcode, int *array_index) return "ortho_scale"; else return "lens"; +#else // XXX lazy hack for now... + return "lens"; #endif // XXX this cannot be resolved easily - break; case CAM_STA: return "clip_start"; |