mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
*** empty log message ***
This commit is contained in:
parent
ba0a4512c2
commit
02fd0cd330
@ -95,6 +95,7 @@ class OnscreenImage(PandaObject, NodePath):
|
||||
self.setColor(color[0], color[1], color[2], color[3])
|
||||
|
||||
def setImage(self, image):
|
||||
parent = self.getParent()
|
||||
# Assign geometry
|
||||
self.removeNode()
|
||||
if isinstance(image, NodePath):
|
||||
|
Loading…
x
Reference in New Issue
Block a user