* Move the ResetChildPrimPhysics() calls to after physics have been applied to the parts rather than after each individual part
* From looking at the code there shouldn't be any difference, and this appears to speed up prim loading and make a certain failure case (where prims seem to be going out of bounds on startup) less of a problem. * However, if I've been bad please revert this patch0.6.0-stable
							parent
							
								
									3f1dbae8e4
								
							
						
					
					
						commit
						90ec9c46d5
					
				| 
						 | 
				
			
			@ -1092,11 +1092,11 @@ namespace OpenSim.Region.Environment.Scenes
 | 
			
		|||
                        if (part.LocalId != m_rootPart.LocalId)
 | 
			
		||||
                        {
 | 
			
		||||
                            part.ApplyPhysics(m_rootPart.GetEffectiveObjectFlags(), m_physicalPrim);
 | 
			
		||||
                        }
 | 
			
		||||
                        
 | 
			
		||||
                        // Hack to get the physics scene geometries in the right spot
 | 
			
		||||
                        ResetChildPrimPhysicsPositions();                           
 | 
			
		||||
                    }                                         
 | 
			
		||||
                        }                                                  
 | 
			
		||||
                    }    
 | 
			
		||||
                    
 | 
			
		||||
                    // Hack to get the physics scene geometries in the right spot
 | 
			
		||||
                    ResetChildPrimPhysicsPositions();                     
 | 
			
		||||
                }
 | 
			
		||||
                else
 | 
			
		||||
                {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue