Merge branch 'fix_compatibility_mode_legend' of https://github.com/fieldOfView/Cura

This commit is contained in:
Jaime van Kessel 2017-02-17 15:28:40 +01:00
commit 905f57cd63

View file

@ -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: