public void deattach() {
deactivate();
+ setDBUndo(true);
if (toolComposite != null) {
toolComposite.clear();
axisCombo = null;
if (toolComposite != null) {
createTools(toolComposite);
}
+ setDBUndo(false);
super.attach();
ThreadUtils.asyncExec(panel.getThreadQueue(), new Runnable() {
public void run() {
lockForced = true;
} else if (startComponent instanceof PipelineComponent){
if (startComponent instanceof InlineComponent) {
- direction = startComponent.getControlPoint().getPathLegDirection(reversed ? Direction.PREVIOUS : Direction.NEXT);
+ direction = startComponent.getControlPoint().getInlineDir();
+ if (reversed) direction.negate();
lock = LockType.CUSTOM;
lockForced = true;
if (((InlineComponent) startComponent).isVariableLength()) {