Skip to content

Commit 7bf83b4

Browse files
committed
Object::add_object to return added object
1 parent 282babb commit 7bf83b4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/PDL/Graphics/TriD/Object.pm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ sub add_object {
5858
$object->add_changedsub($_);
5959
}
6060
$object->add_changedsub(sub {$this->changed_from_above()});
61+
$object;
6162
}
6263

6364
sub contained_objects {

0 commit comments

Comments
 (0)