summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
authorTavmjong Bah <tavmjong@free.fr>2014-01-30 15:38:53 +0000
committertavmjong-free <tavmjong@free.fr>2014-01-30 15:38:53 +0000
commit5072fa495b429536218ce602162098582df1707b (patch)
tree9a8093880cd5210ca673a485ff4b39d68ce079a8 /src/selection-chemistry.cpp
parentCorrect positioning of custom markers. Fixes #230491. (diff)
downloadinkscape-5072fa495b429536218ce602162098582df1707b.tar.gz
inkscape-5072fa495b429536218ce602162098582df1707b.zip
Don't reverse object order when creating a marker.
(bzr r12987)
Diffstat (limited to 'src/selection-chemistry.cpp')
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index 3f54ef8b9..ecf814f60 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -2841,7 +2841,7 @@ void sp_selection_to_marker(SPDesktop *desktop, bool apply)
GSList *items = g_slist_copy(const_cast<GSList *>(selection->itemList()));
- items = g_slist_sort(items, (GCompareFunc) sp_object_compare_position); // Why needed?
+ //items = g_slist_sort(items, (GCompareFunc) sp_object_compare_position); // Why needed?
// bottommost object, after sorting
SPObject *parent = SP_OBJECT(items->data)->parent;