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
0f7357fe02
commit
6a31745849
@ -115,7 +115,7 @@ class OnscreenPanel(PandaObject.PandaObject, NodePath):
|
||||
|
||||
if isinstance(geom, types.StringType):
|
||||
# If 'geom' is a string, it's the name of a model to load.
|
||||
self.panelGeom = loader.loadModelOnce(geom)
|
||||
self.panelGeom = loader.loadModelCopy(geom)
|
||||
self.panelGeom.reparentTo(self)
|
||||
else:
|
||||
# Otherwise, it's a model to instance.
|
||||
|
Loading…
x
Reference in New Issue
Block a user