mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
*** empty log message ***
This commit is contained in:
parent
569d84569f
commit
1fbddc9f80
@ -174,14 +174,13 @@ class FFIExternalObject:
|
|||||||
# Lots of Panda classes have an output function defined that takes an Ostream
|
# Lots of Panda classes have an output function defined that takes an Ostream
|
||||||
# We create a LineStream for the output function to write to, then we extract
|
# We create a LineStream for the output function to write to, then we extract
|
||||||
# the string out of it and return it as our str
|
# the string out of it and return it as our str
|
||||||
baseRepr = ''
|
|
||||||
import LineStream
|
|
||||||
lineStream = LineStream.LineStream()
|
|
||||||
try:
|
try:
|
||||||
|
import LineStream
|
||||||
|
lineStream = LineStream.LineStream()
|
||||||
self.output(lineStream)
|
self.output(lineStream)
|
||||||
baseRepr = baseRepr + lineStream.getLine()
|
baseRepr = lineStream.getLine()
|
||||||
except:
|
except:
|
||||||
pass
|
baseRepr = ('[' + self.__class__.__name__ + ' at: ' + `self.this` + ']')
|
||||||
# In any case, return the baseRepr
|
# In any case, return the baseRepr
|
||||||
return baseRepr
|
return baseRepr
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user