Fix linking phantom and nonphantom prims. Make the error message more friendly
when estate_settings.xml is empty or missing0.6.0-stable
							parent
							
								
									f52c5febd3
								
							
						
					
					
						commit
						cc72ea532a
					
				| 
						 | 
				
			
			@ -206,7 +206,11 @@ namespace OpenSim.Framework
 | 
			
		|||
                }
 | 
			
		||||
                catch (XmlException e)
 | 
			
		||||
                {
 | 
			
		||||
                    m_log.Error("Error loading " + configurationFilename + ": " + e.ToString());
 | 
			
		||||
                {
 | 
			
		||||
                    m_log.WarnFormat("[CONFIG] Not using {0}: {1}",
 | 
			
		||||
                            configurationFilename,
 | 
			
		||||
                            e.Message.ToString());
 | 
			
		||||
                    //m_log.Error("Error loading " + configurationFilename + ": " + e.ToString());
 | 
			
		||||
                    useFile = false;
 | 
			
		||||
                }
 | 
			
		||||
            }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -553,7 +553,7 @@ namespace OpenSim.Region.Environment.Scenes
 | 
			
		|||
 | 
			
		||||
                if (ParentGroup != null && ParentGroup.RootPart != null)
 | 
			
		||||
                {
 | 
			
		||||
                    if (_parentID != 0)
 | 
			
		||||
                     if (_parentID != 0 && PhysActor != null)
 | 
			
		||||
                    {
 | 
			
		||||
                        Vector3 resultingposition = GetWorldPosition();
 | 
			
		||||
                        PhysActor.Position = new PhysicsVector(resultingposition.X, resultingposition.Y, resultingposition.Z);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue