mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-14 18:27:51 -06:00
Fix convex hull and other bits so they use the new API
This commit is contained in:
parent
a8c302a8ed
commit
792c3426f8
3 changed files with 4 additions and 4 deletions
|
@ -53,7 +53,7 @@ class ConvexHullNode(SceneNode):
|
|||
|
||||
def render(self, renderer):
|
||||
if not self._material:
|
||||
self._material = renderer.createMaterial(Resources.getPath(Resources.ShadersLocation, "basic.vert"), Resources.getPath(Resources.ShadersLocation, "color.frag"))
|
||||
self._material = renderer.createMaterial(Resources.getPath(Resources.Shaders, "basic.vert"), Resources.getPath(Resources.Shaders, "color.frag"))
|
||||
|
||||
self._material.setUniformValue("u_color", Color(35, 35, 35, 128))
|
||||
if self.getParent():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue