mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-04-10 09:40:41 +02:00
Added support for OSC message: rewind individual paint.
This commit is contained in:
@@ -195,7 +195,11 @@ void OscInterface::applyOscCommand(MainWindow &main_window, QVariantList & comma
|
||||
// Find paint.
|
||||
int id = command.at(2).toInt();
|
||||
Paint::ptr elem = main_window.getMappingManager().getPaintById(id);
|
||||
pathIsValid = setElementProperty(elem, next(iterator.second).first, command.at(3));
|
||||
iterator = next(iterator.second);
|
||||
if (iterator.first == OSC_REWIND)
|
||||
elem->rewind();
|
||||
else
|
||||
pathIsValid = setElementProperty(elem, iterator.first, command.at(3));
|
||||
}
|
||||
else if (iterator.first == OSC_MAPPING)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user