fixed a minor typo (reported by Sidney Cadot)

metadata
Wenzel Jakob 2014-07-22 14:59:27 +02:00
parent 7f7575ed80
commit 1aa267a4cc
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ CausticPerturbation::CausticPerturbation(const Scene *scene, Sampler *sampler,
m_scene(scene), m_sampler(sampler), m_pool(pool) { m_scene(scene), m_sampler(sampler), m_pool(pool) {
if (!scene->getSensor()->getClass()->derivesFrom(MTS_CLASS(PerspectiveCamera))) if (!scene->getSensor()->getClass()->derivesFrom(MTS_CLASS(PerspectiveCamera)))
Log(EError, "The lens perturbation requires a perspective camera."); Log(EError, "The caustic perturbation requires a perspective camera.");
const PerspectiveCamera *camera = static_cast<const PerspectiveCamera *>(scene->getSensor()); const PerspectiveCamera *camera = static_cast<const PerspectiveCamera *>(scene->getSensor());
Vector2i filmSize = camera->getFilm()->getSize(), Vector2i filmSize = camera->getFilm()->getSize(),