From b463d9e25570f2c141b2744a05723cc22a3f8360 Mon Sep 17 00:00:00 2001 From: Krisjanis Rijnieks Date: Tue, 24 Jan 2017 20:09:08 +0100 Subject: [PATCH] Add mapper.duplicateSurface() shortcut --- example-custom-shortcuts/src/ofApp.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/example-custom-shortcuts/src/ofApp.cpp b/example-custom-shortcuts/src/ofApp.cpp index bda2ac6..d8d84f9 100644 --- a/example-custom-shortcuts/src/ofApp.cpp +++ b/example-custom-shortcuts/src/ofApp.cpp @@ -44,6 +44,8 @@ void ofApp::keyPressed(int key){ mapper.selectNextSurface(); }else if(key == 'j'){ mapper.selectPrevSurface(); + }else if(key == 'd'){ + mapper.duplicateSurface(); }else if(key == 'l'){ mapper.selectNextVertex(); }else if(key == 'h'){