fixed camera code not checking for invalid/missing datablock: crashed before
Merge pull request #420 from tdev/camera-datablock-fixes

fixed camera code not checking for invalid/missing datablock