
29 Mar
2012
29 Mar
'12
7:03 p.m.
Hi! I'm using a custom object type in my OpenFlipper plugin and I wondered if there is a way to have a single type plugin handle multiple object types? If not it would be very helpful to add this, as it's a pain to write a small plugin for each new object type. Using something like this it should be possible to enhanche TypeInterface without breaking old code: virtual bool TypeInterface::supportsType(DataType type) { return this->supportedType() == type; } virtual int TypeInterface::addEmpty(DataType type) { return this->addEmpty(); } Thanks for OpenFlipper and OpenMesh! Regards, Bengt