mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 09:23:03 -04:00
*** empty log message ***
This commit is contained in:
parent
3c77f79fb3
commit
1ce6d47ae7
@ -989,7 +989,11 @@ class ParticlePanel(AppShell):
|
||||
|
||||
def saveParticleEffectToFile(self):
|
||||
# Find path to particle directory
|
||||
path = getParticlePath().getDirectory(0).toOsSpecific()
|
||||
pPath = getParticlePath()
|
||||
if pPath.getNumDirectories() > 0:
|
||||
path = pPath.getDirectory(0).toOsSpecific()
|
||||
else:
|
||||
path = ''
|
||||
if not os.path.isdir(path):
|
||||
print 'LevelEditor Warning: Invalid default DNA directory!'
|
||||
print 'Using: C:\\'
|
||||
|
Loading…
x
Reference in New Issue
Block a user