diff --git a/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py b/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py index a2a946dffb..63109115a1 100644 --- a/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py +++ b/src/Mod/Part/AttachmentEditor/TaskAttachmentEditor.py @@ -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): diff --git a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp index 7a8d9f522c..8d5b7f3f4a 100644 --- a/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp +++ b/src/Mod/Sketcher/Gui/ViewProviderSketch.cpp @@ -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"