BulletSim: Use base class constructors for initialization of BSShape and other classes.

This commit is contained in:
Robert Adams
2012-11-18 22:58:36 -08:00
parent 22be36be69
commit 6c961d8add
4 changed files with 214 additions and 216 deletions

View File

@@ -47,7 +47,10 @@ namespace OpenSim.Region.Physics.BulletSPlugin
*/
public abstract class BSPhysObject : PhysicsActor
{
protected void BaseInitialize(BSScene parentScene, uint localID, string name, string typeName)
protected BSPhysObject()
{
}
protected BSPhysObject(BSScene parentScene, uint localID, string name, string typeName)
{
PhysicsScene = parentScene;
LocalID = localID;