Commit 50e96fb9 authored by Jan Möbius's avatar Jan Möbius
Browse files


git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent ba0e7b8a
......@@ -241,8 +241,10 @@ int Core::loadObject( DataType _type, QString _filename) {
return -1; //no plugin found
/// Function for adding an empty object of given DataType
int Core::addEmptyObject( DataType _type ) {
/** \todo Iterate over all plugins but check with bitmask! for a supporting plugin
for (int i=0; i < (int)supportedTypes_.size(); i++)
if (supportedTypes_[i].type == _type)
return supportedTypes_[i].plugin->addEmpty();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment