@@ -133,7 +133,7 @@ ifeq ($(ARCH),win) | |||||
else | else | ||||
$(WGET) http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz | $(WGET) http://www.portaudio.com/archives/pa_stable_v190600_20161030.tgz | ||||
$(UNTAR) pa_stable_v190600_20161030.tgz | $(UNTAR) pa_stable_v190600_20161030.tgz | ||||
cd portaudio && ./configure --prefix="$(LOCAL)" $(PORTAUDIO_ASIO) | |||||
cd portaudio && ./configure --prefix="$(LOCAL)" --disable-debug --disable-dependency-tracking --enable-mac-universal=no | |||||
$(MAKE) -C portaudio | $(MAKE) -C portaudio | ||||
$(MAKE) -C portaudio install | $(MAKE) -C portaudio install | ||||
endif | endif | ||||
@@ -1,4 +1,5 @@ | |||||
#include "app.hpp" | #include "app.hpp" | ||||
#include "gui.hpp" | |||||
namespace rack { | namespace rack { | ||||
@@ -34,7 +35,7 @@ void Port::onDragStart() { | |||||
// Try to grab wire on top of stack | // Try to grab wire on top of stack | ||||
WireWidget *wire = gRackWidget->wireContainer->getTopWire(this); | WireWidget *wire = gRackWidget->wireContainer->getTopWire(this); | ||||
if (wire) { | |||||
if (wire && !guiIsModPressed()) { | |||||
// Disconnect existing wire | // Disconnect existing wire | ||||
if (type == INPUT) | if (type == INPUT) | ||||
wire->inputPort = NULL; | wire->inputPort = NULL; | ||||