mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
default textures from DMODELS now instead of TTMODELS
This commit is contained in:
parent
8e178ae9d6
commit
46f04f18b2
@ -19,7 +19,7 @@ class SpriteParticleRendererExt(SpriteParticleRenderer):
|
|||||||
def getSourceTextureName(self):
|
def getSourceTextureName(self):
|
||||||
if self.sourceTextureName == None:
|
if self.sourceTextureName == None:
|
||||||
SpriteParticleRendererExt.sourceTextureName = base.config.GetString(
|
SpriteParticleRendererExt.sourceTextureName = base.config.GetString(
|
||||||
'particle-sprite-texture', 'phase_3/maps/eyes.jpg')
|
'particle-sprite-texture', 'maps/lightbulb.rgb')
|
||||||
# Return instance copy of class variable
|
# Return instance copy of class variable
|
||||||
return self.sourceTextureName
|
return self.sourceTextureName
|
||||||
|
|
||||||
@ -58,7 +58,7 @@ class SpriteParticleRendererExt(SpriteParticleRenderer):
|
|||||||
def getSourceFileName(self):
|
def getSourceFileName(self):
|
||||||
if self.sourceFileName == None:
|
if self.sourceFileName == None:
|
||||||
SpriteParticleRendererExt.sourceFileName = base.config.GetString(
|
SpriteParticleRendererExt.sourceFileName = base.config.GetString(
|
||||||
'particle-sprite-model', 'phase_3.5/models/props/suit-particles')
|
'particle-sprite-model', 'models/misc/smiley')
|
||||||
# Return instance copy of class variable
|
# Return instance copy of class variable
|
||||||
return self.sourceFileName
|
return self.sourceFileName
|
||||||
|
|
||||||
@ -69,7 +69,7 @@ class SpriteParticleRendererExt(SpriteParticleRenderer):
|
|||||||
def getSourceNodeName(self):
|
def getSourceNodeName(self):
|
||||||
if self.sourceNodeName == None:
|
if self.sourceNodeName == None:
|
||||||
SpriteParticleRendererExt.sourceNodeName = base.config.GetString(
|
SpriteParticleRendererExt.sourceNodeName = base.config.GetString(
|
||||||
'particle-sprite-node', '**/fire')
|
'particle-sprite-node', '**/*')
|
||||||
# Return instance copy of class variable
|
# Return instance copy of class variable
|
||||||
return self.sourceNodeName
|
return self.sourceNodeName
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user