Permalink
Browse files

minor change to let obj2opengl.pl work with newer perl

  • Loading branch information...
1 parent c577516 commit a0a19853d3d181b77c5bc5366ac14630bf6de8f0 chris committed Nov 21, 2016
Showing with 2 additions and 1 deletion.
  1. +2 −1 tools/obj2opengl/obj2opengl.pl
@@ -151,7 +151,8 @@ ()
@center = (0, 0, 0);
}
- if(defined(@center)) {
+# if(defined(@center)) {
+ if(@center) {
$xcen = $center[0];
$ycen = $center[1];
$zcen = $center[2];

0 comments on commit a0a1985

Please sign in to comment.