summaryrefslogtreecommitdiff
path: root/tools/obj2hackvr.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/obj2hackvr.pl')
-rwxr-xr-xtools/obj2hackvr.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/obj2hackvr.pl b/tools/obj2hackvr.pl
index d8727e2..8173eee 100755
--- a/tools/obj2hackvr.pl
+++ b/tools/obj2hackvr.pl
@@ -16,7 +16,7 @@ my @tmp;
my $tmp;
open(FILE,$ARGV[1]) if $ARGV[1];
while(<FILE>) {
- chomp;
+ $_ =~ s/[\n\r]//g;
@linepart=split(/ /,$_,2);
$com=$linepart[0];
if($com eq "v") {