فهرست منبع

*** empty log message ***

David Rose 25 سال پیش
والد
کامیت
6a31745849
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      direct/src/gui/OnscreenPanel.py

+ 1 - 1
direct/src/gui/OnscreenPanel.py

@@ -115,7 +115,7 @@ class OnscreenPanel(PandaObject.PandaObject, NodePath):
 
 
         if isinstance(geom, types.StringType):
         if isinstance(geom, types.StringType):
             # If 'geom' is a string, it's the name of a model to load.
             # 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)
             self.panelGeom.reparentTo(self)
         else:
         else:
             # Otherwise, it's a model to instance.
             # Otherwise, it's a model to instance.