Prevent Del during rotation

This commit is contained in:
Riku Avelar 2016-12-06 20:30:20 -05:00
parent 1bf9169f09
commit 95aebfcc94

View File

@ -1222,6 +1222,10 @@ void Viewer::startSwingAnimation() {
}
void Viewer::deleteSelected() {
if(cubeSpinQueue.size() > 0) {
// Prevent jokesters from trying to break stuff :/
return;
}
m_program->bind();
int pointCLocs[3] = {m_c1Loc, m_c2Loc, m_c3Loc};