Fixes Mantis #3187. Thank you kindly, DoranZemlja for a patch that:
Deals with the multiple warning side affect introduced earlier.GenericGridServerConcept
							parent
							
								
									72be38f7ae
								
							
						
					
					
						commit
						ed7256ac0c
					
				| 
						 | 
				
			
			@ -87,6 +87,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
 | 
			
		|||
        /// <returns>String containing the generated C# code.</returns>
 | 
			
		||||
        public string Convert(string script)
 | 
			
		||||
        {
 | 
			
		||||
            m_warnings.Clear();
 | 
			
		||||
            ResetCounters();
 | 
			
		||||
            Parser p = new LSLSyntax(new yyLSLSyntax(), new ErrorHandler(true));
 | 
			
		||||
            // Obviously this needs to be in a try/except block.
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -261,6 +261,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.CodeTools
 | 
			
		|||
        public string PerformScriptCompile(string Script, string asset)
 | 
			
		||||
        {
 | 
			
		||||
            m_positionMap = null;
 | 
			
		||||
            m_warnings.Clear();
 | 
			
		||||
                
 | 
			
		||||
            string OutFile = Path.Combine(ScriptEnginesPath, Path.Combine(
 | 
			
		||||
                    m_scriptEngine.World.RegionInfo.RegionID.ToString(),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue