This commit is contained in:
Jack Ha 2017-01-24 16:52:47 +01:00
parent f80a04cbc3
commit e21a6ed62a
2 changed files with 2 additions and 20 deletions

View file

@ -77,9 +77,6 @@ class LayerView(View):
self._solid_layers = int(Preferences.getInstance().getValue("view/top_layer_count"))
self._only_show_top_layers = bool(Preferences.getInstance().getValue("view/only_show_top_layers"))
self._compatibility_mode = True # for safety
#self._compatibility_mode = bool(Preferences.getInstance().getValue("view/compatibility_mode"))
#self._compatibility_mode = not self.getRenderer().getSupportsGeometryShader()
#Logger.log("d", "OpenGL Compatibility mode: %s" % self._compatibility_mode)
self._wireprint_warning_message = Message(catalog.i18nc("@info:status", "Cura does not accurately display layers when Wire Printing is enabled"))
@ -348,7 +345,6 @@ class LayerView(View):
self._solid_layers = int(Preferences.getInstance().getValue("view/top_layer_count"))
self._only_show_top_layers = bool(Preferences.getInstance().getValue("view/only_show_top_layers"))
# self._compatibility_mode = bool(Preferences.getInstance().getValue("view/compatibility_mode"))
self._startUpdateTopLayers()