Skip to content

Commit

Permalink
Merge pull request #5 from k-chaney/master
Browse files Browse the repository at this point in the history
This is merged into a feature branch as a bit of cleaning still needs to be done before closing this task.
  • Loading branch information
jcpassy authored Oct 16, 2019
2 parents 208e578 + 96df603 commit 2884870
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions mesh/src/py_visibility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,7 @@ visibility_compute(PyObject *self, PyObject *args, PyObject *keywds)
pSensors, min_dist, visibility, normal_dot_cam);

if(py_tree == NULL){
PyObject* py_bin_visibility = PyCapsule_New((void*)search, NULL, visibility_destructor);
PyObject* py_normal_dot_cam = PyCapsule_New((void*)search, NULL, visibility_destructor);
delete search;
}

return Py_BuildValue("NN",py_bin_visibility, py_normal_dot_cam);
Expand Down

0 comments on commit 2884870

Please sign in to comment.