| 1379 | } |
| 1380 | |
| 1381 | void |
| 1382 | GuiAppInstance::removeAllKeyframesIndicators() |
| 1383 | { |
| 1384 | ///runs only in the main thread |
| 1385 | assert( QThread::currentThread() == qApp->thread() ); |
| 1386 | |
| 1387 | bool wasEmpty = _imp->timelineKeyframes.empty(); |
| 1388 | _imp->timelineKeyframes.clear(); |
| 1389 | if (!wasEmpty) { |
| 1390 | Q_EMIT keyframeIndicatorsChanged(); |
| 1391 | } |
| 1392 | } |
| 1393 | |
| 1394 | void |
| 1395 | GuiAppInstance::addKeyframeIndicator(SequenceTime time) |
no test coverage detected