[prev in list] [next in list] [prev in thread] [next in thread] 

List:       osflash-sandy
Subject:    [Sandy] [sandy commit] r748 - trunk/sandy/as3/trunk/src/sandy/parser
From:       codesite-noreply () google ! com (codesite-noreply at google ! com)
Date:       2008-08-28 5:23:53
Message-ID: 001485f945a6bf87a704557e571f () google ! com
[Download RAW message or body]

Author: makc.the.great
Date: Wed Aug 27 22:23:10 2008
New Revision: 748

Modified:
    trunk/sandy/as3/trunk/src/sandy/parser/ASEParser.as

Log:
Aww I broke ASE parser :(

Modified: trunk/sandy/as3/trunk/src/sandy/parser/ASEParser.as
==============================================================================
--- trunk/sandy/as3/trunk/src/sandy/parser/ASEParser.as	(original)
+++ trunk/sandy/as3/trunk/src/sandy/parser/ASEParser.as	Wed Aug 27 22:23:10  
2008
@@ -148,7 +148,7 @@
  							var mfl:String = content.split(  '*' )[0];
  							//"MESH_FACE    0:    A:    777 B:    221 C:    122 AB:    1 BC:     
1 CA:    1 *MESH_SMOOTHING 1   *MESH_MTLID 0"
  							//"MESH_FACE   10: A:  325 B:  155 C:  327	 *MESH_SMOOTHING 0 	 
*MESH_MTLID 0"
-							var faceReg:RegExp =  
/MESH_FACE\s*(\d+):\s*A:\s*(\d+)\s*B:\s*(\d+)\s*C:\s*(\d+)/
+							var faceReg:RegExp =  
/MESH_FACE\s*(\d+):\s*A:\s*(\d+)\s*B:\s*(\d+)\s*C:\s*(\d+)\s+.*/
  							id = uint(mfl.replace(faceReg, "$1"));
  							var p1:uint = uint(mfl.replace(faceReg, "$2"));
  							var p2:uint = uint(mfl.replace(faceReg, "$3"));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic