Skip to content

Commit

Permalink
Delete more unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGro committed Aug 3, 2023
1 parent 2a13abd commit 3d3fdb6
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions source/_static/resources/script/flow/flowAppCpp/flowAppCpp.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@
self.debugLines[name] = undefined;
};

this.deleteCube = function(name) {
Entities.deleteEntity(self.debugCubes[name]);
self.debugCubes[name] = undefined;
};

this.cleanup = function() {
for (var lineName in self.debugLines) {
if (lineName !== undefined) {
Expand All @@ -133,14 +128,8 @@
self.deleteSphere(sphereName);
}
}
for (var cubeName in self.debugCubes) {
if (cubeName!== undefined) {
self.deleteCube(cubeName);
}
}
self.debugLines = {};
self.debugSpheres = {};
self.debugCubes = {};
};

this.setVisible = function(isVisible) {
Expand Down

0 comments on commit 3d3fdb6

Please sign in to comment.