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.
This commit is contained in:
Joshua Leung
2009-11-01 11:33:41 +00:00
parent 2068eaf1b7
commit 3111ebde65

View File

@@ -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";