Skip to content

Commit

Permalink
saver
Browse files Browse the repository at this point in the history
  • Loading branch information
johnhaddon committed Nov 15, 2023
1 parent 53eae7d commit 5e96d2a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/GafferImage/Catalogue.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ class Catalogue::InternalImage : public ImageNode
isRendering( false );
std::cerr << " marked as not rendering" << std::endl;
m_saver = AsynchronousSaver::create( this );
std::cerr << " assigned m_saver" << std::endl;
std::cerr << " assigned m_saver " << m_saver << std::endl;
}

protected :
Expand Down Expand Up @@ -508,6 +508,7 @@ class Catalogue::InternalImage : public ImageNode
const std::filesystem::path fileName = client->parent<Catalogue>()->generateFileName( imageCopy->outPlug() );
if( fileName.empty() )
{
std::cerr << "NO FILENAME" << std::endl;
return nullptr;
}

Expand Down Expand Up @@ -1037,11 +1038,13 @@ std::filesystem::path Catalogue::generateFileName( const ImagePlug *image ) cons
// saving will eventually error, so we return an empty string instead.
// Its likely this only occurs while the node is in the process of
// being deleted (perhaps inside python's garbage collector).
std::cerr << "HAS SUBSTITUTIONS" << std::endl;
return "";
}

if( directory.empty() )
{
std::cerr << "EMPTY" << std::endl;
return "";
}

Expand Down

0 comments on commit 5e96d2a

Please sign in to comment.