mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-12 09:59:00 +08:00
Uranium -> Cura and drop some unused code
This commit is contained in:
parent
042c575b18
commit
b229769c4e
@ -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…
x
Reference in New Issue
Block a user