Fix scene node declaration.
This commit is contained in:
parent
f66c6ea6e9
commit
513d79a67c
@ -24,14 +24,7 @@ class Node:
|
||||
subnode.draw(time)
|
||||
|
||||
class SceneNode(Node):
|
||||
__slots__ = '_subnodes'
|
||||
|
||||
def __init__(self, *subnodes):
|
||||
Node.__init__(self, *subnodes)
|
||||
self._subnodes = subnodes
|
||||
|
||||
def draw(self, time):
|
||||
Node.draw(self, time)
|
||||
pass
|
||||
|
||||
class TextureNode(Node):
|
||||
__slots__ = '_textures'
|
||||
|
Loading…
Reference in New Issue
Block a user