Gui: add tags for TempoVis
Tags can be used to identify TV instances in the stack. This is mostly for add-ons, for Part-o-magic in particular, who may want to insert some visibility automation in specific places in the stack.
This commit is contained in:
committed by
Yorik van Havre
parent
d33c7b724c
commit
ec7c18bef3
@@ -5668,7 +5668,7 @@ bool ViewProviderSketch::setEdit(int ModNum)
|
||||
try{
|
||||
QString cmdstr = QString::fromLatin1(
|
||||
"ActiveSketch = App.getDocument('%1').getObject('%2')\n"
|
||||
"tv = Show.TempoVis(App.ActiveDocument)\n"
|
||||
"tv = Show.TempoVis(App.ActiveDocument, tag= ActiveSketch.ViewObject.TypeId)\n"
|
||||
"if ActiveSketch.ViewObject.EditingWorkbench:\n"
|
||||
" tv.activateWorkbench(ActiveSketch.ViewObject.EditingWorkbench)\n"
|
||||
"if ActiveSketch.ViewObject.HideDependent:\n"
|
||||
|
||||
Reference in New Issue
Block a user