Mercurial > hg > svcore
diff base/CommandHistory.cpp @ 78:c983dda79f72
* Replace crash with warning when a transform could not be automatically
re-run
* More sensible default paths for Vamp plugin lookup (at least on Linux and
OS/X)
* A start to making the y coords for time value layers etc align
* Set sensible y coords for text labels in time instant and value layers
author | Chris Cannam |
---|---|
date | Thu, 13 Apr 2006 18:29:10 +0000 |
parents | 7fcdc6df4853 |
children | 90ade4fa63be |
line wrap: on
line diff
--- a/base/CommandHistory.cpp Wed Apr 12 09:59:40 2006 +0000 +++ b/base/CommandHistory.cpp Thu Apr 13 18:29:10 2006 +0000 @@ -92,7 +92,7 @@ void CommandHistory::clear() { - std::cerr << "CommandHistory::clear()" << std::endl; +// std::cerr << "CommandHistory::clear()" << std::endl; closeBundle(); m_savedAt = -1; clearStack(m_undoStack); @@ -131,10 +131,10 @@ closeBundle(); } - std::cerr << "CommandHistory::addCommand: " << command->getName().toLocal8Bit().data() << " at " << command << std::endl; +// std::cerr << "CommandHistory::addCommand: " << command->getName().toLocal8Bit().data() << " at " << command << std::endl; // We can't redo after adding a command - std::cerr << "CommandHistory::clearing redo stack" << std::endl; +// std::cerr << "CommandHistory::clearing redo stack" << std::endl; clearStack(m_redoStack); // can we reach savedAt? @@ -200,7 +200,7 @@ void CommandHistory::addToCompound(Command *command) { - std::cerr << "CommandHistory::addToCompound: " << command->getName().toLocal8Bit().data() << std::endl; +// std::cerr << "CommandHistory::addToCompound: " << command->getName().toLocal8Bit().data() << std::endl; if (m_executeCompound) command->execute(); m_currentCompound->addCommand(command); @@ -353,7 +353,7 @@ for (i = 0; i < limit; ++i) { Command *command = stack.top(); - std::cerr << "CommandHistory::clipStack: Saving recent command: " << command->getName().toLocal8Bit().data() << " at " << command << std::endl; +// std::cerr << "CommandHistory::clipStack: Saving recent command: " << command->getName().toLocal8Bit().data() << " at " << command << std::endl; tempStack.push(stack.top()); stack.pop(); }