TechDraw: Header uniformity and whitespace fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/***************************************************************************
|
||||
* Copyright (c) 2019 Wandererfan <wandererfan@gmail.com *
|
||||
* Copyright (c) 2019 WandererFan <wandererfan@gmail.com> *
|
||||
* *
|
||||
* This file is part of the FreeCAD CAx development system. *
|
||||
* *
|
||||
@@ -143,7 +143,7 @@ TechDraw::DrawViewSymbol* TaskActiveView::createActiveView(void)
|
||||
std::string fileSpec = Base::Tools::toStdString(tempFile.fileName());
|
||||
fileSpec = Base::Tools::escapeEncodeFilename(fileSpec);
|
||||
|
||||
//double estScale =
|
||||
//double estScale =
|
||||
Grabber3d::copyActiveViewToSvgFile(appDoc, fileSpec,
|
||||
ui->qsbWidth->rawValue(),
|
||||
ui->qsbHeight->rawValue(),
|
||||
@@ -159,7 +159,7 @@ TechDraw::DrawViewSymbol* TaskActiveView::createActiveView(void)
|
||||
#endif
|
||||
Command::doCommand(Command::Doc,"svg = f.read()");
|
||||
// Command::doCommand(Command::Doc,"print('length of svg: {}'.format(len(svg)))");
|
||||
|
||||
|
||||
Command::doCommand(Command::Doc,"f.close()");
|
||||
Command::doCommand(Command::Doc,"App.activeDocument().%s.Symbol = svg",symbolName.c_str());
|
||||
|
||||
@@ -208,7 +208,7 @@ bool TaskActiveView::accept()
|
||||
bool TaskActiveView::reject()
|
||||
{
|
||||
// Base::Console().Message("TAV::reject()\n");
|
||||
//nothing to remove.
|
||||
//nothing to remove.
|
||||
|
||||
Gui::Command::doCommand(Gui::Command::Gui,"App.activeDocument().recompute()");
|
||||
Gui::Command::doCommand(Gui::Command::Gui,"Gui.ActiveDocument.resetEdit()");
|
||||
|
||||
Reference in New Issue
Block a user