#119 new
Colin Jones

scene_opened lacks production.theater.active_stage

Reported by Colin Jones | April 28th, 2009 @ 04:05 PM | in Future

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

Comments and changes to this ticket

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.

Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Elegant UI Framework for Ruby

People watching this ticket

Pages