Fixed cases where getValue was still used.

We now use getProperty instead

CURA-1278
This commit is contained in:
Jaime van Kessel 2016-05-18 16:29:57 +02:00
parent afb7a45bb0
commit a5f8546d69
2 changed files with 22 additions and 22 deletions

View file

@ -37,7 +37,7 @@ class SolidView(View):
if Application.getInstance().getGlobalContainerStack():
if Preferences.getInstance().getValue("view/show_overhang"):
angle = Application.getInstance().getGlobalContainerStack().getValue("support_angle")
angle = Application.getInstance().getGlobalContainerStack().getProperty("support_angle", "value")
if angle is not None:
self._enabled_shader.setUniformValue("u_overhangAngle", math.cos(math.radians(90 - angle)))
else: