From 5e96d2aea3a116960f50663fc41ae0dae4c6258e Mon Sep 17 00:00:00 2001 From: John Haddon Date: Wed, 15 Nov 2023 11:34:46 +0000 Subject: [PATCH] saver --- src/GafferImage/Catalogue.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/GafferImage/Catalogue.cpp b/src/GafferImage/Catalogue.cpp index eda165bc1da..8ba366cf6b4 100644 --- a/src/GafferImage/Catalogue.cpp +++ b/src/GafferImage/Catalogue.cpp @@ -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 : @@ -508,6 +508,7 @@ class Catalogue::InternalImage : public ImageNode const std::filesystem::path fileName = client->parent()->generateFileName( imageCopy->outPlug() ); if( fileName.empty() ) { + std::cerr << "NO FILENAME" << std::endl; return nullptr; } @@ -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 ""; }