mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
Some fixes (but still doesn't run due to missing Lerp class)
This commit is contained in:
parent
712ecb8d3b
commit
1354fbf5cd
@ -4,9 +4,9 @@
|
|||||||
#################################################################
|
#################################################################
|
||||||
from direct.tkwidgets.AppShell import AppShell
|
from direct.tkwidgets.AppShell import AppShell
|
||||||
from direct.tkwidgets.VectorWidgets import ColorEntry
|
from direct.tkwidgets.VectorWidgets import ColorEntry
|
||||||
from direct.showbase.TkGlobal import spawnTkLoop, Toplevel
|
from direct.showbase.TkGlobal import spawnTkLoop
|
||||||
import seSceneGraphExplorer
|
import seSceneGraphExplorer
|
||||||
from Tkinter import Frame, IntVar, Checkbutton
|
from Tkinter import Frame, IntVar, Checkbutton, Toplevel
|
||||||
import Pmw, Tkinter
|
import Pmw, Tkinter
|
||||||
|
|
||||||
class sideWindow(AppShell):
|
class sideWindow(AppShell):
|
||||||
|
@ -5,8 +5,8 @@ except: sys.exit("Please install python module 'Tkinter'")
|
|||||||
|
|
||||||
import direct
|
import direct
|
||||||
from direct.directbase.DirectStart import*
|
from direct.directbase.DirectStart import*
|
||||||
from direct.showbase.TkGlobal import *
|
from direct.showbase.TkGlobal import spawnTkLoop
|
||||||
from direct.showbase.TkGlobal import spawnTkLoop, Toplevel
|
from Tkinter import *
|
||||||
from tkFileDialog import *
|
from tkFileDialog import *
|
||||||
from direct.directtools.DirectGlobals import *
|
from direct.directtools.DirectGlobals import *
|
||||||
from direct.tkwidgets.AppShell import*
|
from direct.tkwidgets.AppShell import*
|
||||||
@ -40,7 +40,6 @@ import seAnimPanel
|
|||||||
from direct.task import Task
|
from direct.task import Task
|
||||||
import math
|
import math
|
||||||
|
|
||||||
|
|
||||||
#################################################################
|
#################################################################
|
||||||
# All scene and windows object will be stored in here.
|
# All scene and windows object will be stored in here.
|
||||||
# So, any event which will or need to change contents
|
# So, any event which will or need to change contents
|
||||||
@ -1704,6 +1703,6 @@ class myLevelEditor(AppShell):
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
editor = myLevelEditor(parent = tkroot)
|
editor = myLevelEditor(parent = base.tkRoot)
|
||||||
|
|
||||||
run()
|
run()
|
||||||
|
@ -28,7 +28,7 @@ import os
|
|||||||
from direct.directnotify import DirectNotifyGlobal
|
from direct.directnotify import DirectNotifyGlobal
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
class Particles(ParticleSystem.ParticleSystem):
|
class Particles(ParticleSystem):
|
||||||
|
|
||||||
notify = DirectNotifyGlobal.directNotify.newCategory('Particles')
|
notify = DirectNotifyGlobal.directNotify.newCategory('Particles')
|
||||||
id = 1
|
id = 1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user