Should harden plugin implementations a bit more.
@ -76,7 +76,10 @@ void AbstractImporter::doOpenFile(const std::string& filename) {
}
void AbstractImporter::close() {
if(isOpened()) doClose();
if(isOpened()) {
doClose();
CORRADE_INTERNAL_ASSERT(!isOpened());
Buffer::Format AbstractImporter::format() const {
@ -100,7 +100,10 @@ void AbstractFont::doOpenFile(const std::string& filename, const Float size) {
void AbstractFont::close() {
UnsignedInt AbstractFont::glyphId(const char32_t character) {
Int AbstractImporter::defaultScene() {