Commit f8ab2efd authored by Joseph Mirabel's avatar Joseph Mirabel
Browse files

[Minor] Fix compilation warning.

parent 4f456c42
...@@ -422,7 +422,8 @@ int BVHModelBase::beginReplaceModel() ...@@ -422,7 +422,8 @@ int BVHModelBase::beginReplaceModel()
return BVH_ERR_BUILD_EMPTY_PREVIOUS_FRAME; return BVH_ERR_BUILD_EMPTY_PREVIOUS_FRAME;
} }
if(prev_vertices) delete [] prev_vertices; prev_vertices = NULL; if(prev_vertices) delete [] prev_vertices;
prev_vertices = NULL;
num_vertex_updated = 0; num_vertex_updated = 0;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment