summaryrefslogtreecommitdiffstats
path: root/src/gradient-drag.cpp
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2016-10-08 16:05:13 +0000
committerMarc Jeanmougin <marcjeanmougin@free.fr>2016-10-08 16:05:13 +0000
commit6092d5422b03608db00f18e6ad8c87465b5dc3e8 (patch)
tree2ae791c03acda4ca0bf1cc2fb309a94c39cbd058 /src/gradient-drag.cpp
parent[Bug #770681] KEY MAPPING: Comma and period hijacked by scaling. (diff)
parentMade the style-utils.h license dual-with-GPLv2+. (diff)
downloadinkscape-6092d5422b03608db00f18e6ad8c87465b5dc3e8.tar.gz
inkscape-6092d5422b03608db00f18e6ad8c87465b5dc3e8.zip
merge trunk-refactoring
(bzr r15156)
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.