Remove unneeded code
This commit is contained in:
@@ -925,8 +925,7 @@ bool ControlLineManager::drag1(int modifierKey)
|
||||
control_line->line->end = control_line->end->center;
|
||||
control_line->end->state = Geometry::DRAGGED;
|
||||
break;
|
||||
case (1):
|
||||
case (2): { // line
|
||||
case (1): { // line
|
||||
// Constrain delta so the end stays above the image.
|
||||
Coord new_delta = control_line->end->center + delta;
|
||||
new_delta.clip(iw, ih);
|
||||
|
@@ -25,7 +25,6 @@
|
||||
#include "editwidgets.h"
|
||||
#include "lensgeomlistener.h"
|
||||
#include "toolpanel.h"
|
||||
#include "../rtengine/coord.h"
|
||||
#include "../rtengine/perspectivecorrection.h"
|
||||
|
||||
struct ControlLine
|
||||
|
Reference in New Issue
Block a user