mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -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])
|
self.setColor(color[0], color[1], color[2], color[3])
|
||||||
|
|
||||||
def setImage(self, image):
|
def setImage(self, image):
|
||||||
|
parent = self.getParent()
|
||||||
# Assign geometry
|
# Assign geometry
|
||||||
self.removeNode()
|
self.removeNode()
|
||||||
if isinstance(image, NodePath):
|
if isinstance(image, NodePath):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user