Add asset != null check to ODEPrim.MeshAssetReceived instead of throwing exception.
In some cases (such as failure to receive response from asset service), it is possible for a null to be returned from IAssetService.Get(string, object, AssetRetrieved).integration
							parent
							
								
									37de965233
								
							
						
					
					
						commit
						cccf695327
					
				| 
						 | 
				
			
			@ -3351,7 +3351,7 @@ Console.WriteLine(" JointCreateFixed");
 | 
			
		|||
 | 
			
		||||
        private void MeshAssetReceived(AssetBase asset)
 | 
			
		||||
        {
 | 
			
		||||
            if (asset.Data != null && asset.Data.Length > 0)
 | 
			
		||||
            if (asset != null && asset.Data != null && asset.Data.Length > 0)
 | 
			
		||||
            {
 | 
			
		||||
                if (!_pbs.SculptEntry)
 | 
			
		||||
                    return;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue