diff --git a/direct/src/interval/IntervalGlobal.py b/direct/src/interval/IntervalGlobal.py index 5e61efbf80..ecc9abb6ad 100644 --- a/direct/src/interval/IntervalGlobal.py +++ b/direct/src/interval/IntervalGlobal.py @@ -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