Mountain Lion sleeps too aggressively
caffeinate -i open -W -a Lightroom.app


should keep the system awake as long as Lightroom is running and not idle. To prevent any sleep at all, use -s instead of -i.