From fca04f592ece532703122a3eb99a9b193df00ffb Mon Sep 17 00:00:00 2001 From: wandererfan Date: Mon, 26 Aug 2019 21:02:55 -0400 Subject: [PATCH] [Gui] clean up sloppy merge --- src/Gui/SoFCVectorizeSVGAction.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/Gui/SoFCVectorizeSVGAction.cpp b/src/Gui/SoFCVectorizeSVGAction.cpp index 894c901f50..ee6fc4859b 100644 --- a/src/Gui/SoFCVectorizeSVGAction.cpp +++ b/src/Gui/SoFCVectorizeSVGAction.cpp @@ -382,7 +382,6 @@ SoFCVectorizeSVGAction::SoFCVectorizeSVGAction() : m_lineWidth(1.0), m_usemm(false) { - Base::Console().Message("SoFCVSA::SoFCVSA()\n"); SO_ACTION_CONSTRUCTOR(SoFCVectorizeSVGAction); this->setOutput(new SoSVGVectorOutput); this->p = new SoFCVectorizeSVGActionP(this); @@ -401,7 +400,6 @@ SoFCVectorizeSVGAction::getSVGOutput(void) const void SoFCVectorizeSVGAction::printHeader(void) const { - Base::Console().Message("SoFCVSA::printHeader()\n"); std::ostream& str = this->getSVGOutput()->getFileStream(); str << "" << std::endl; str << "" << std::endl; @@ -435,8 +433,9 @@ void SoFCVectorizeSVGAction::printViewport(void) const void SoFCVectorizeSVGAction::printBackground(void) const { - Base::Console().Message("SoFCVSA::printBackground()\n"); - + if (!getBackgroundState()) { + return; + } SbVec2f mul = getRotatedViewportSize(); SbVec2f add = getRotatedViewportStartpos();