Browse Source

Made panda started

Gyedo Jeon 17 years ago
parent
commit
f65ab84347
1 changed files with 7 additions and 1 deletions
  1. 7 1
      direct/src/tkpanels/ParticlePanel.py

+ 7 - 1
direct/src/tkpanels/ParticlePanel.py

@@ -2772,9 +2772,15 @@ class ParticlePanel(AppShell):
 
 # Create demo in root window for testing.
 if __name__ == '__main__':
-    
+
+    try:
+        base
+    except:
+        from direct.directbase import DirectStart
+
     root = Pmw.initialise()
     pp = ParticlePanel()
     base.pp=pp
     #ve = VectorEntry(Toplevel(), relief = GROOVE)
     #ve.pack()
+    run()