mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Don't import ParticleInterval if the ParticleSystem doesn't exist (ie., not compiled in)
This commit is contained in:
parent
a34cb75f82
commit
33e1ead6c5
@ -10,11 +10,15 @@ from FunctionInterval import *
|
||||
from LerpInterval import *
|
||||
from IndirectInterval import *
|
||||
from MopathInterval import *
|
||||
from ParticleInterval import *
|
||||
import pandac.PandaModules
|
||||
##Some people may have the particle system compiled out
|
||||
if hasattr( pandac.PandaModules, 'ParticleSystem' ):
|
||||
from ParticleInterval import *
|
||||
from SoundInterval import *
|
||||
from ProjectileInterval import *
|
||||
from MetaInterval import *
|
||||
from IntervalManager import *
|
||||
if __debug__:
|
||||
from TestInterval import *
|
||||
if hasattr( pandac.PandaModules, 'ParticleSystem' ):
|
||||
from TestInterval import *
|
||||
from pandac.PandaModules import WaitInterval
|
||||
|
Loading…
x
Reference in New Issue
Block a user