fix Show-related imports
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user