mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fix legend in compatibility mode
This commit is contained in:
parent
9229027001
commit
04ab33b913
1 changed files with 1 additions and 1 deletions
|
@ -311,7 +311,7 @@ class LayerView(View):
|
|||
self._old_composite_shader = self._composite_pass.getCompositeShader()
|
||||
self._composite_pass.setCompositeShader(self._layerview_composite_shader)
|
||||
|
||||
if self.getLayerViewType() == self.LAYER_VIEW_TYPE_LINE_TYPE:
|
||||
if self.getLayerViewType() == self.LAYER_VIEW_TYPE_LINE_TYPE or self._compatibility_mode:
|
||||
self.enableLegend()
|
||||
|
||||
elif event.type == Event.ViewDeactivateEvent:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue