Fix scene node declaration.

This commit is contained in:
Roz K 2022-12-31 20:23:27 +01:00
parent f66c6ea6e9
commit 513d79a67c
Signed by: roz
GPG Key ID: 51FBF4E483E1C822

View File

@ -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'