mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 15:07:28 -06:00
Merged LayerView show_adhesion and show_support into show_helpers. CURA-3273
This commit is contained in:
parent
e82bb29e1d
commit
24d04558f0
6 changed files with 32 additions and 76 deletions
|
@ -100,16 +100,10 @@ class LayerViewProxy(QObject):
|
|||
active_view.setShowTravelMoves(show)
|
||||
|
||||
@pyqtSlot(int)
|
||||
def setShowSupport(self, show):
|
||||
def setShowHelpers(self, show):
|
||||
active_view = self._controller.getActiveView()
|
||||
if type(active_view) == LayerView.LayerView.LayerView:
|
||||
active_view.setShowSupport(show)
|
||||
|
||||
@pyqtSlot(int)
|
||||
def setShowAdhesion(self, show):
|
||||
active_view = self._controller.getActiveView()
|
||||
if type(active_view) == LayerView.LayerView.LayerView:
|
||||
active_view.setShowAdhesion(show)
|
||||
active_view.setShowHelpers(show)
|
||||
|
||||
@pyqtSlot(int)
|
||||
def setShowSkin(self, show):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue