summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gradient-drag.cpp')
-rw-r--r--src/gradient-drag.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gradient-drag.cpp b/src/gradient-drag.cpp
index eb33bdf9a..fc75054a0 100644
--- a/src/gradient-drag.cpp
+++ b/src/gradient-drag.cpp
@@ -1326,8 +1326,10 @@ GrDragger::moveMeshHandles ( Geom::Point pc_old, MeshNodeOperation op )
// We need a list of selected corners per mesh if scaling.
std::map<SPGradient*, std::vector<guint> > selected_corners;
- bool scale = false;
- if( scale == true ) {
+ // scaling was disabled so #if 0'ing out for now.
+#if 0
+ const bool scale = false;
+ if( scale ) {
for( std::set<GrDragger *>::const_iterator it = drag->selected.begin(); it != drag->selected.end(); ++it ) {
GrDragger *dragger = *it;
@@ -1345,6 +1347,7 @@ GrDragger::moveMeshHandles ( Geom::Point pc_old, MeshNodeOperation op )
}
}
}
+#endif
// Now we do the handle moves.