diff --git a/src/librender/sensor.cpp b/src/librender/sensor.cpp index dccddc33..943d2282 100644 --- a/src/librender/sensor.cpp +++ b/src/librender/sensor.cpp @@ -145,10 +145,8 @@ Float Sensor::pdfTime(const Ray &ray, EMeasure measure) const { void Sensor::addChild(const std::string &name, ConfigurableObject *child) { if (child->getClass()->derivesFrom(MTS_CLASS(Sampler))) { - Assert(m_sampler == NULL); m_sampler = static_cast(child); } else if (child->getClass()->derivesFrom(MTS_CLASS(Film))) { - Assert(m_film == NULL); m_film = static_cast(child); } else { AbstractEmitter::addChild(name, child);