mirror of
https://github.com/ConjureETS/LOG750-LAB2.git
synced 2026-03-24 03:21:19 +00:00
Prevent Del during rotation
This commit is contained in:
parent
1bf9169f09
commit
95aebfcc94
@ -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};
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user