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)
|
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
|
// create node
|
||||||
XMLElement *sessionNode = doc->NewElement( node.c_str() );
|
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
|
// view indicates the view when this action occured
|
||||||
sessionNode->SetAttribute("view", (int) Mixer::manager().view()->mode());
|
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)
|
// get the thumbnail (requires one opengl update to render)
|
||||||
FrameBufferImage *thumbnail = se->thumbnail();
|
FrameBufferImage *thumbnail = se->thumbnail();
|
||||||
XMLElement *imageelement = SessionVisitor::ImageToXML(thumbnail, doc);
|
XMLElement *imageelement = SessionVisitor::ImageToXML(thumbnail, doc);
|
||||||
@@ -96,7 +97,7 @@ void Action::store(const std::string &label)
|
|||||||
|
|
||||||
#ifdef ACTION_DEBUG
|
#ifdef ACTION_DEBUG
|
||||||
Log::Info("Action stored %d '%s'", history_step_, label.c_str());
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user