diff --git a/contrib/brushexport/callbacks.cpp b/contrib/brushexport/callbacks.cpp index aca422b3..8c9ee124 100644 --- a/contrib/brushexport/callbacks.cpp +++ b/contrib/brushexport/callbacks.cpp @@ -11,7 +11,6 @@ void DestroyWindow(); //! TODO add tooltip for ignore: shader name after last slash, case sensitive // or make insensitive -//! TODO console print on success //! TODO make togglebuttons inactive on !exportmat //! TODO add ignore mat on ENTER, del on del //! TODO add entry with path to save to (to resave faster) diff --git a/contrib/brushexport/export.cpp b/contrib/brushexport/export.cpp index 2d4d4bcf..29db01e0 100644 --- a/contrib/brushexport/export.cpp +++ b/contrib/brushexport/export.cpp @@ -382,5 +382,10 @@ bool ExportSelection( const std::set& ignorelist, collapsemode m, b ForEachSelected vis( exporter ); GlobalSelectionSystem().foreachSelected( vis ); - return exporter.WriteToFile( path, m ); + if( exporter.WriteToFile( path, m ) ){ + globalOutputStream() << "brushexport::ExportSelection " << path.c_str() << "\n"; + return true; + } + + return false; }