Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

scene_opened lacks production.theater.active_stage

#119

I needed access to the active Stage from a method I called in scene_opened on a Player. I was trying to get it through the Production:

 production.theater.active_stage

but it hadn't been populated yet.

I worked around it by calling stage_activated on the theater, with the stage passed into scene_opened:

 def scene_opened(e)
   production.theater.stage_activated(e)

   Java::trptcolin.main.TicTacToe.newGame(production.view)
 end

Reported by Colin Jones · April 28th, 2009 @ 04:05 PM

State: new
Milestone: Future
Assigned to: nobody

Activity

  1. Micah Martin
    Micah Martin
    • Milestone changed from Limelight 0.2 to Future

    May 11th, 2009 @ 12:35 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.