Bugfix: instance selection cycling wasn't working

When instanced overlay, it wasn't possible to select
the "other" instances. This is fixed. (reference: Trac 1015).

In addition:
- The instance selection now shows the label
- Bugfix: the transient selection now really is disabled
  (it was popping up once after selection happened)
- RBA::Marker#line_style has been added
This commit is contained in:
Matthias Koefferlein
2017-06-05 18:58:24 +02:00
parent 1b0dcb5bf9
commit cb296a802e
7 changed files with 111 additions and 65 deletions
+4 -4
View File
@@ -205,8 +205,6 @@ Editables::transient_select (const db::DPoint &pt)
clear_previous_selection ();
}
m_last_selected_point = db::DBox (pt, pt);
// in a first pass evaluate the point selection proximity value to select
// those plugins that are active. This code is a copy of the code for the single-point selection below.
@@ -257,6 +255,8 @@ Editables::transient_select (const db::DPoint &pt)
}
m_last_selected_point = db::DBox (pt, pt);
// send a signal to the observers
signal_transient_selection_changed ();
}
@@ -343,8 +343,6 @@ Editables::select (const db::DPoint &pt, lay::Editable::SelectionMode mode)
clear_previous_selection ();
}
m_last_selected_point = db::DBox (pt, pt);
cancel_edits ();
clear_transient_selection ();
@@ -404,6 +402,8 @@ Editables::select (const db::DPoint &pt, lay::Editable::SelectionMode mode)
}
}
m_last_selected_point = db::DBox (pt, pt);
// send a signal to the observers
signal_selection_changed ();
}