remove Application::runPythonCode
This commit is contained in:
@@ -171,7 +171,7 @@ bool Mirroring::accept()
|
||||
.arg(this->document).arg(shape).arg(label)
|
||||
.arg(normx).arg(normy).arg(normz)
|
||||
.arg(basex).arg(basey).arg(basez);
|
||||
Gui::Application::Instance->runPythonCode((const char*)code.toLatin1());
|
||||
Gui::Command::runCommand(Gui::Command::App, code.toLatin1());
|
||||
QByteArray from = shape.toLatin1();
|
||||
Gui::Command::copyVisual("ActiveObject", "ShapeColor", from);
|
||||
Gui::Command::copyVisual("ActiveObject", "LineColor", from);
|
||||
|
||||
Reference in New Issue
Block a user