fix Show-related imports

This commit is contained in:
DeepSOIC
2019-09-12 02:11:02 +03:00
committed by wmayer
parent 275c0a3061
commit 2eb6300d5f
2 changed files with 2 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ Q = App.Units.Quantity
from AttachmentEditor.FrozenClass import FrozenClass
try:
from Show.TempoVis import TempoVis
from Show import TempoVis
from Show.DepGraphTools import getAllDependent
except ImportError as err:
def TempoVis(doc):

View File

@@ -5665,7 +5665,7 @@ bool ViewProviderSketch::setEdit(int ModNum)
//visibility automation
try{
Gui::Command::addModule(Gui::Command::Gui,"Show.TempoVis");
Gui::Command::addModule(Gui::Command::Gui,"Show");
try{
QString cmdstr = QString::fromLatin1(
"ActiveSketch = App.getDocument('%1').getObject('%2')\n"