[cig-commits] commit: When a MeshParticleLayout is destroyed, it should not destroy the underlying mesh, because it does not later create a new mesh.
Mercurial
hg at geodynamics.org
Mon Mar 22 16:39:25 PDT 2010
changeset: 591:5579dd441349
tag: tip
user: Walter Landry <wlandry at caltech.edu>
date: Mon Mar 22 16:37:46 2010 -0700
files: Swarm/src/MeshParticleLayout.c
description:
When a MeshParticleLayout is destroyed, it should not destroy the underlying mesh, because it does not later create a new mesh.
diff -r 1ded9c334df0 -r 5579dd441349 Swarm/src/MeshParticleLayout.c
--- a/Swarm/src/MeshParticleLayout.c Mon Mar 01 15:25:55 2010 -0800
+++ b/Swarm/src/MeshParticleLayout.c Mon Mar 22 16:37:46 2010 -0700
@@ -203,7 +203,6 @@ void _MeshParticleLayout_Execute( void*
void _MeshParticleLayout_Destroy( void* meshParticleLayout, void* data ) {
MeshParticleLayout* self = (MeshParticleLayout*)meshParticleLayout;
- Stg_Component_Destroy( self->mesh, NULL, False );
_PerCellParticleLayout_Destroy( self, data );
}
More information about the CIG-COMMITS
mailing list