mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-16 11:17:49 -06:00
Uranium -> Cura and drop some unused code
This commit is contained in:
parent
042c575b18
commit
b229769c4e
2 changed files with 2 additions and 6 deletions
|
@ -1,5 +1,5 @@
|
||||||
# Copyright (c) 2015 Ultimaker B.V.
|
# Copyright (c) 2015 Ultimaker B.V.
|
||||||
# Uranium is released under the terms of the AGPLv3 or higher.
|
# Cura is released under the terms of the AGPLv3 or higher.
|
||||||
|
|
||||||
from UM.View.View import View
|
from UM.View.View import View
|
||||||
from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator
|
from UM.Scene.Iterator.DepthFirstIterator import DepthFirstIterator
|
||||||
|
@ -15,14 +15,10 @@ import math
|
||||||
|
|
||||||
## Standard view for mesh models.
|
## Standard view for mesh models.
|
||||||
class SolidView(View):
|
class SolidView(View):
|
||||||
#EnabledColor = Color(1.0, 0.79, 0.14, 1.0)
|
|
||||||
#DisabledColor = Color(0.68, 0.68, 0.68, 1.0)
|
|
||||||
|
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
super().__init__()
|
super().__init__()
|
||||||
|
|
||||||
Preferences.getInstance().addPreference("view/show_overhang", True)
|
Preferences.getInstance().addPreference("view/show_overhang", True)
|
||||||
#Preferences.getInstance().preferenceChanged.connect(self._onPreferenceChanged)
|
|
||||||
|
|
||||||
self._enabled_shader = None
|
self._enabled_shader = None
|
||||||
self._disabled_shader = None
|
self._disabled_shader = None
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
# Copyright (c) 2015 Ultimaker B.V.
|
# Copyright (c) 2015 Ultimaker B.V.
|
||||||
# Uranium is released under the terms of the AGPLv3 or higher.
|
# Cura is released under the terms of the AGPLv3 or higher.
|
||||||
|
|
||||||
from . import SolidView
|
from . import SolidView
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue