override public void Disconnect(bool bDestroying) { this.spatial = null; viewMeshes.InvalidateViewMeshes(); if (bDestroying) { this.mesh = null; } }
void release_view_meshes() { if (view_meshes != null) { view_meshes.InvalidateViewMeshes(); view_meshes.Dispose(); view_meshes = null; } }