File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -25,8 +25,7 @@ sub PDL::Graphics::TriD::Object::gl_update_list {
2525 print " GENLIST $this $lno \n " if $PDL::Graphics::TriD::verbose ;
2626 glNewList($lno ,GL_COMPILE);
2727 eval {
28- my @objs = @{$this -> {Objects }};
29- $_ -> togl() for @objs ;
28+ $this -> togl;
3029 print " EGENLIST $lno \n " if $PDL::Graphics::TriD::verbose ;
3130 };
3231 { local $@ ; glEndList(); }
@@ -330,7 +329,7 @@ sub PDL::Graphics::TriD::Image::gdraw {
330329 if (!defined $vert ) {$vert = $this -> {Points }}
331330 barf " Need 3,4 vert"
332331 if grep $_ -> dim(1) < 4 || $_ -> dim(0) != 3, $vert ;
333- if ($_ [0] {Options }{FullScreen }) {
332+ if ($this -> {Options }{FullScreen }) {
334333 glMatrixMode(GL_MODELVIEW);
335334 glLoadIdentity();
336335 glMatrixMode(GL_PROJECTION);
You can’t perform that action at this time.
0 commit comments