protected override void MakeDynamic(bool makeStatic) { base.MakeDynamic(makeStatic); if (makeStatic) { Linkset.MakeStatic(this); } else { Linkset.MakeDynamic(this); } }
// When the prim is made dynamic or static, the linkset needs to change. protected override void MakeDynamic(bool makeStatic) { base.MakeDynamic(makeStatic); if (Linkset != null) // null can happen during initialization { if (makeStatic) { Linkset.MakeStatic(this); } else { Linkset.MakeDynamic(this); } } }