mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-11 18:34:58 +01:00
remove debug code
This commit is contained in:
@@ -26,9 +26,6 @@ using namespace tinyxml2;
|
||||
|
||||
void captureMixerSession(tinyxml2::XMLDocument *doc, std::string node, std::string label)
|
||||
{
|
||||
// get session to operate on
|
||||
Session *se = Mixer::manager().session();
|
||||
se->lock();
|
||||
|
||||
// create node
|
||||
XMLElement *sessionNode = doc->NewElement( node.c_str() );
|
||||
@@ -38,6 +35,10 @@ void captureMixerSession(tinyxml2::XMLDocument *doc, std::string node, std::stri
|
||||
// view indicates the view when this action occured
|
||||
sessionNode->SetAttribute("view", (int) Mixer::manager().view()->mode());
|
||||
|
||||
// get session to operate on
|
||||
Session *se = Mixer::manager().session();
|
||||
se->lock();
|
||||
|
||||
// get the thumbnail (requires one opengl update to render)
|
||||
FrameBufferImage *thumbnail = se->thumbnail();
|
||||
XMLElement *imageelement = SessionVisitor::ImageToXML(thumbnail, doc);
|
||||
@@ -96,7 +97,7 @@ void Action::store(const std::string &label)
|
||||
|
||||
#ifdef ACTION_DEBUG
|
||||
Log::Info("Action stored %d '%s'", history_step_, label.c_str());
|
||||
XMLSaveDoc(&history_doc_, "/home/bhbn/history.xml");
|
||||
// XMLSaveDoc(&history_doc_, "/home/bhbn/history.xml");
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user