mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:15:41 +08:00
store the physics inertia override in SQlite
This commit is contained in:
@@ -1452,13 +1452,10 @@ namespace OpenSim.Data.MySQL
|
||||
prim.VehicleParams = vehicle;
|
||||
}
|
||||
|
||||
PhysicsInertiaData pdata;
|
||||
PhysicsInertiaData pdata = null;
|
||||
if (row["PhysInertia"].ToString() != String.Empty)
|
||||
{
|
||||
pdata = PhysicsInertiaData.FromXml2(row["PhysInertia"].ToString());
|
||||
if (pdata != null)
|
||||
prim.PhysicsInertia = pdata;
|
||||
}
|
||||
prim.PhysicsInertia = pdata;
|
||||
|
||||
return prim;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user