Add triangle enabling logic.