| 1642 | } |
| 1643 | |
| 1644 | bool |
| 1645 | GuiAppInstance::checkAllReadersModificationDate(bool errorAndWarn) |
| 1646 | { |
| 1647 | NodesList allNodes; |
| 1648 | SequenceTime time = getProject()->getCurrentTime(); |
| 1649 | |
| 1650 | getProject()->getNodes_recursive(allNodes, true); |
| 1651 | bool changed = false; |
| 1652 | for (NodesList::iterator it = allNodes.begin(); it != allNodes.end(); ++it) { |
| 1653 | if ( (*it)->getEffectInstance()->isReader() ) { |
| 1654 | KnobIPtr fileKnobI = (*it)->getKnobByName(kOfxImageEffectFileParamName); |
| 1655 | if (!fileKnobI) { |
| 1656 | continue; |
| 1657 | } |
| 1658 | KnobGuiIPtr knobUi_i = fileKnobI->getKnobGuiPointer(); |
| 1659 | KnobGuiFile* isFileKnob = dynamic_cast<KnobGuiFile*>( knobUi_i.get() ); |
| 1660 | |
| 1661 | if (!isFileKnob) { |
| 1662 | continue; |
| 1663 | } |
| 1664 | changed |= isFileKnob->checkFileModificationAndWarn(time, errorAndWarn); |
| 1665 | } |
| 1666 | } |
| 1667 | |
| 1668 | return changed; |
| 1669 | } |
| 1670 | |
| 1671 | void |
| 1672 | GuiAppInstance::reloadScriptEditorFonts() |
no test coverage detected