Added support for function calls as values in LSL-specific <0,0,0> and <0,0,0,0> Quaternion and Vector
							parent
							
								
									758458121e
								
							
						
					
					
						commit
						801e95bbe1
					
				| 
						 | 
				
			
			@ -257,10 +257,10 @@ namespace OpenSim.Region.ScriptEngine.DotNetEngine.Compiler.LSL
 | 
			
		|||
 | 
			
		||||
            // Replace <x,y,z> and <x,y,z,r>
 | 
			
		||||
            Script =
 | 
			
		||||
                Regex.Replace(Script, @"<([^,>;\)]*,[^,>;\)]*,[^,>;\)]*,[^,>;\)]*)>", @"new LSL_Types.Quaternion($1)",
 | 
			
		||||
                Regex.Replace(Script, @"<([^,>;]*,[^,>;\)]*,[^,>;\)]*,[^,>;\)]*)>", @"new LSL_Types.Quaternion($1)",
 | 
			
		||||
                              RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
 | 
			
		||||
            Script =
 | 
			
		||||
                Regex.Replace(Script, @"<([^,>;\)]*,[^,>;\)]*,[^,>;\)]*)>", @"new LSL_Types.Vector3($1)",
 | 
			
		||||
                Regex.Replace(Script, @"<([^,>;]*,[^,>;\)]*,[^,>;\)]*)>", @"new LSL_Types.Vector3($1)",
 | 
			
		||||
                              RegexOptions.Compiled | RegexOptions.Multiline | RegexOptions.Singleline);
 | 
			
		||||
 | 
			
		||||
            // Replace List []'s
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue