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