Skip to content

Commit

Permalink
Updates before release
Browse files Browse the repository at this point in the history
  • Loading branch information
dolavn committed Mar 10, 2018
1 parent 07d101b commit 880ce66
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion SequenceAlignmentVis/SequenceAlignmentVis/Engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ void Engine::run() {
DrawableObject* selObj = currScene->getSelectedObj();
if (ind >= 0) {
if (selObj != nullptr && selObj->getId()!=ind) {
printf("ind:%d\nselObj:%d\n", ind, selObj->getId());
selObj->onRelease();
}
currScene->getObject(ind).onClick();
Expand Down
1 change: 0 additions & 1 deletion SequenceAlignmentVis/SequenceAlignmentVis/Scene.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,6 @@ void Scene::removeDrawable(int ind) {
vector<int>& freeIndices = ind >= 0 ? freeIndicesObjects : freeIndicesTextObjects;
if (corrInd >= (int)list.size()) { return; }
if (list[corrInd] != nullptr) {
printf("deleting\n");
delete(list[corrInd]);
list[corrInd] = nullptr;
freeIndices.push_back(corrInd);
Expand Down
2 changes: 1 addition & 1 deletion SequenceAlignmentVis/SequenceAlignmentVis/UserInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#include "Scene.h"

inline int abs(int x) { return x >= 0 ? x : -x; }
//inline int abs(int x) { return x >= 0 ? x : -x; }

enum Movement { NO_MOVEMENT, UP, RIGHT, DOWN, LEFT };
enum Button { LEFT_BUTTON, RIGHT_BUTTON, NO_BUTTON };
Expand Down

0 comments on commit 880ce66

Please sign in to comment.