UbitOde stop doing a copy of the asset data using just the reference to
it. It costs a lot of cpu and doesn't seem all that usefull.avinationmerge
							parent
							
								
									739782627a
								
							
						
					
					
						commit
						b51c26ab40
					
				|  | @ -914,8 +914,9 @@ namespace OpenSim.Region.Physics.OdePlugin | ||||||
|                     if (repData.pbs.SculptTexture != repData.assetID) |                     if (repData.pbs.SculptTexture != repData.assetID) | ||||||
|                         return; |                         return; | ||||||
| 
 | 
 | ||||||
|                     repData.pbs.SculptData = new byte[asset.Data.Length]; | //                    repData.pbs.SculptData = new byte[asset.Data.Length]; | ||||||
|                     asset.Data.CopyTo(repData.pbs.SculptData,0); | //                    asset.Data.CopyTo(repData.pbs.SculptData,0); | ||||||
|  |                     repData.pbs.SculptData = asset.Data; | ||||||
|                     repData.meshState = MeshState.AssetOK; |                     repData.meshState = MeshState.AssetOK; | ||||||
|                     m_worker.AssetLoaded(repData); |                     m_worker.AssetLoaded(repData); | ||||||
|                 } |                 } | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 UbitUmarov
						UbitUmarov