mirror of
https://github.com/opensim/opensim.git
synced 2026-08-08 02:05:34 +08:00
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.
This commit is contained in:
@@ -914,8 +914,9 @@ namespace OpenSim.Region.Physics.OdePlugin
|
||||
if (repData.pbs.SculptTexture != repData.assetID)
|
||||
return;
|
||||
|
||||
repData.pbs.SculptData = new byte[asset.Data.Length];
|
||||
asset.Data.CopyTo(repData.pbs.SculptData,0);
|
||||
// repData.pbs.SculptData = new byte[asset.Data.Length];
|
||||
// asset.Data.CopyTo(repData.pbs.SculptData,0);
|
||||
repData.pbs.SculptData = asset.Data;
|
||||
repData.meshState = MeshState.AssetOK;
|
||||
m_worker.AssetLoaded(repData);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user