globalOutputStream() << "bobToolz FixBrushes: " << count << " invalid/duplicate planes removed.\n";
}
-void DoResetTextures(){
+void DoResetTextures( ui::Window main_window ){
UndoableCommand undo( "bobToolz.resetTextures" );
static ResetTextureRS rs;
}
EMessageBoxReturn ret;
- if ( ( ret = DoResetTextureBox( &rs ) ) == eIDCANCEL ) {
+ if ( ( ret = DoResetTextureBox( &rs, main_window ) ) == eIDCANCEL ) {
return;
}
}
}
-void DoPathPlotter(){
+void DoPathPlotter( ui::Window main_window ){
UndoableCommand undo( "bobToolz.pathPlotter" );
PathPlotterRS rs;
- EMessageBoxReturn ret = DoPathPlotterBox( &rs );
+ EMessageBoxReturn ret = DoPathPlotterBox( &rs, main_window );
if ( ret == eIDCANCEL ) {
return;
}