MCPcopy Create free account
hub / github.com/NatronGitHub/Natron / isGraphWorthLess

Method isGraphWorthLess

Engine/Project.cpp:1774–1790  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1772}
1773
1774bool
1775Project::isGraphWorthLess() const
1776{
1777 /*
1778 bool worthLess = true;
1779 for (U32 i = 0; i < _imp->currentNodes.size(); ++i) {
1780 if (!_imp->currentNodes[i]->isOutputNode() && _imp->currentNodes[i]->isActivated()) {
1781 worthLess = false;
1782 break;
1783 }
1784 }
1785 return worthLess;
1786 */
1787
1788 ///If it has never auto-saved, then the user didn't do anything, hence the project is worthless.
1789 return ( !hasEverAutoSaved() && !hasProjectBeenSavedByUser() ) || !hasNodes();
1790}
1791
1792QString
1793Project::getLockAbsoluteFilePath() const

Callers 3

openProjectInternalMethod · 0.80
openRecentFileMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected