Broken Cameras

In the latest SVN version, cameras are not exported. They are just skipped over during export. I traced this to line 617 in alcresmanager.py:
The problem is, alctype is only set in the case where obj_type is "Mesh". So, the only time this works is if the previous exported object happened to be of alctype "object".
I removed this line and un-indented the next few lines in my version (restoring to how it was back in revision 58) and consequently the cameras work again. I attempted to upload this to the contrib folder, but SVN is down at the moment. Would someone please make this modification for me?
- Code: Select all
elif obj_type=="Camera":
>>> if (alctype == 'camera') or (alctype == 'object'):
...
The problem is, alctype is only set in the case where obj_type is "Mesh". So, the only time this works is if the previous exported object happened to be of alctype "object".
I removed this line and un-indented the next few lines in my version (restoring to how it was back in revision 58) and consequently the cameras work again. I attempted to upload this to the contrib folder, but SVN is down at the moment. Would someone please make this modification for me?