brushexport plugin: console print on success
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -382,5 +382,10 @@ bool ExportSelection( const std::set<std::string>& 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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user