Panda 1.1 Glow Tutorial - GlowCard?

Hi! When running the GlowCard demo, everything is fine - Tron runs for me. But when I want to switch the glowing on/off, he tells me:

DirectStart: Starting the game.
Warning: DirectNotify: category 'Interval' already exists
Known pipe types:
(all display modules loaded.)
:express(warning): Adjusting global clock's real time by -2.0934 seconds.
/usr/share/panda3d/samples/Feature-Tutorials--Glow-Filter/glowShader.sha: compiled to arbvp1 arbfp1
/usr/share/panda3d/samples/Feature-Tutorials--Glow-Filter/XBlurShader.sha: compiled to arbvp1 arbfp1
/usr/share/panda3d/samples/Feature-Tutorials--Glow-Filter/YBlurShader.sha: compiled to arbvp1 arbfp1
Traceback (most recent call last):
  File "", line 132, in ?
  File "debtmp/usr/share/panda3d/direct/src/showbase/", line 1798, in run
  File "debtmp/usr/share/panda3d/direct/src/task/", line 782, in run
  File "debtmp/usr/share/panda3d/direct/src/task/", line 730, in step
  File "debtmp/usr/share/panda3d/direct/src/task/", line 673, in __stepThroughList
  File "debtmp/usr/share/panda3d/direct/src/task/", line 604, in __executeTask
  File "debtmp/usr/share/panda3d/direct/src/showbase/", line 32, in eventLoopTask
  File "debtmp/usr/share/panda3d/direct/src/showbase/", line 26, in doEvents
  File "debtmp/usr/share/panda3d/direct/src/showbase/", line 71, in processEvent
  File "debtmp/usr/share/panda3d/direct/src/showbase/", line 209, in send
  File "", line 109, in toggleGlow
AttributeError: GlowDemo instance has no attribute 'glowCard'

I searched through the code, but neither found a self.glowSomething nor a glowCard (except where it should be rendered when space is hit) nor a self.card… whats wrong there?

(Yes, I tried 1.1 but I consider downgrading right now… 1.1 contains nothing that is worth the trouble… - hope that 1.1.1 comes soon to fix these problems :frowning: )

Regards, Bigfoot29

Cloak gave me the needed advice. Add

"self.glowCard = finalcard"

after the following line:


Regards, Bigfoot29