Fix convex hull and other bits so they use the new API

This commit is contained in:
Arjen Hiemstra 2015-08-18 18:11:32 +02:00
parent a8c302a8ed
commit 792c3426f8
3 changed files with 4 additions and 4 deletions

View file

@ -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():