summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2016-10-08 18:30:03 +0000
committerjabiertxof <info@marker.es>2016-10-08 18:30:03 +0000
commit0d65a6366721c314ca82e2600b7a2778e42bfdca (patch)
treed432377950a04fddd169c0b5bb8517345f9cee3e /src/gradient-drag.cpp
parentKeep selection (diff)
parentmerge trunk-refactoring (diff)
downloadinkscape-0d65a6366721c314ca82e2600b7a2778e42bfdca.tar.gz
inkscape-0d65a6366721c314ca82e2600b7a2778e42bfdca.zip
Update to trunk
(bzr r15142.1.6)
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.