Improved some string initialization and zeroing.
Assigning = "" in constructor does not make sense, .clear() is better than = "", default paramaeter = {} is cheaper than = ""
This commit is contained in:
parent
4a7ac79637
commit
56f409921c
4 changed files with 8 additions and 8 deletions
|
@ -653,7 +653,7 @@ bool GLGizmosManager::on_mouse(wxMouseEvent& evt)
|
|||
|
||||
if (get_gizmo_idx_from_mouse(mouse_pos) == Undefined) {
|
||||
// mouse is outside the toolbar
|
||||
m_tooltip = "";
|
||||
m_tooltip.clear();
|
||||
|
||||
if (evt.LeftDown() && (!control_down || grabber_contains_mouse())) {
|
||||
if ((m_current == SlaSupports || m_current == Hollow || m_current == FdmSupports || m_current == Seam || m_current == MmuSegmentation)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue