From 6e40f4f92001bbb65fc87dbaf865d9bdaa7e2849 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Thu, 26 Jun 2014 17:24:08 -0700 Subject: [PATCH] Don't automatically select all control handle in the vector clip tool This was originally done because there was no easy way to select them all otherwise, but box selection of handles has been supported for a while now. --- src/visual_tool_vector_clip.cpp | 7 ------- src/visual_tool_vector_clip.h | 1 - 2 files changed, 8 deletions(-) diff --git a/src/visual_tool_vector_clip.cpp b/src/visual_tool_vector_clip.cpp index fb4e4c8ed..cc04eddca 100644 --- a/src/visual_tool_vector_clip.cpp +++ b/src/visual_tool_vector_clip.cpp @@ -445,11 +445,4 @@ void VisualToolVectorClip::DoRefresh() { spline.DecodeFromAss(vect); MakeFeatures(); - SelectAll(); -} - -void VisualToolVectorClip::SelectAll() { - sel_features.clear(); - for (auto& feature : features) - sel_features.insert(&feature); } diff --git a/src/visual_tool_vector_clip.h b/src/visual_tool_vector_clip.h index 495b85d4b..ae88213a6 100644 --- a/src/visual_tool_vector_clip.h +++ b/src/visual_tool_vector_clip.h @@ -45,7 +45,6 @@ class VisualToolVectorClip final : public VisualTool