Skip to content

Commit

Permalink
Merge pull request #299 from krkeegan/scene_builder
Browse files Browse the repository at this point in the history
Scene_Builder: Dereference Hashes for Backwards Compatibility in Perl
  • Loading branch information
krkeegan committed Oct 25, 2013
2 parents c6f9ff2 + 7842ee0 commit 3a12b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/read_table_A.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1085,10 +1085,10 @@ sub read_table_finish_A {

#Loop through the controller hash
if (exists $scene_build_controllers{$scene}){
foreach my $scene_controller (keys $scene_build_controllers{$scene}) {
foreach my $scene_controller (keys %{$scene_build_controllers{$scene}}) {
if ($objects{$scene_controller}) {
#Make a link to each responder in the responder hash
while (my ($scene_responder, $responder_data) = each($scene_build_responders{$scene})) {
while (my ($scene_responder, $responder_data) = each(%{$scene_build_responders{$scene}})) {
my ($on_level, $ramp_rate) = split(',', $responder_data);

if (($objects{$scene_responder}) and ($scene_responder ne $scene_controller)) {
Expand Down

0 comments on commit 3a12b90

Please sign in to comment.