Fun with config nodes that modifiy other config nodes. Circular connections lead to a crash.
This commit is contained in:
@@ -81,8 +81,12 @@ namespace VISEQ::INTERACTION{
|
||||
removeNodes(gm->getSelection());
|
||||
}
|
||||
|
||||
if(IsKeyPressed(KEY_TAB)) {
|
||||
state->node_mode = (state->node_mode + 1) % 3;
|
||||
if(!KEYS_DOWN.shift && IsKeyPressed(KEY_TAB)) {
|
||||
state->node_mode = (state->node_mode + 1) % 6;
|
||||
}
|
||||
|
||||
if(KEYS_DOWN.shift && IsKeyPressed(KEY_TAB)) {
|
||||
state->node_mode -= state->node_mode > 0 ? 1 : -5;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user