mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
Fixed cases where getValue was still used.
We now use getProperty instead CURA-1278
This commit is contained in:
parent
afb7a45bb0
commit
a5f8546d69
2 changed files with 22 additions and 22 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue