Open GoogleCodeExporter opened 8 years ago
For easy review, here is the text contents of the attached patch:
Index: src/org/papervision3d/objects/parsers/Ase.as
===================================================================
--- src/org/papervision3d/objects/parsers/Ase.as (revision 919)
+++ src/org/papervision3d/objects/parsers/Ase.as (working copy)
@@ -109,7 +109,7 @@
var faces :Array = this.geometry.faces = new Array();
var loader:URLLoader = URLLoader(e.target);
- var lines: Array = unescape(loader.data).split( '\r\n' );
+ var lines: Array = unescape(loader.data).split( /\r?\n/ );
var line: String;
var chunk: String;
Original comment by postmes...@gmail.com
on 7 Aug 2009 at 12:54
Also I'm unsure if the unescape() should be there at all.
Original comment by postmes...@gmail.com
on 7 Aug 2009 at 12:57
Original issue reported on code.google.com by
postmes...@gmail.com
on 7 Aug 2009 at 12:54Attachments: