brushexport plugin: console print on success
This commit is contained in:
parent
0f6e20a334
commit
4af0818069
|
|
@ -11,7 +11,6 @@
|
||||||
void DestroyWindow();
|
void DestroyWindow();
|
||||||
|
|
||||||
//! TODO add tooltip for ignore: shader name after last slash, case sensitive // or make insensitive
|
//! 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 make togglebuttons inactive on !exportmat
|
||||||
//! TODO add ignore mat on ENTER, del on del
|
//! TODO add ignore mat on ENTER, del on del
|
||||||
//! TODO add entry with path to save to (to resave faster)
|
//! 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 );
|
ForEachSelected vis( exporter );
|
||||||
GlobalSelectionSystem().foreachSelected( vis );
|
GlobalSelectionSystem().foreachSelected( vis );
|
||||||
|
|
||||||
return exporter.WriteToFile( path, m );
|
if( exporter.WriteToFile( path, m ) ){
|
||||||
|
globalOutputStream() << "brushexport::ExportSelection " << path.c_str() << "\n";
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user