Commit ae3e8975 authored by Jan Möbius's avatar Jan Möbius

Merge branch 'drawmode_deselection' into 'master'

fix buggy deselection when working with drawmode combinations

deselecting a drawmode with shift clicking on the item in the menu didn't update the draw mode properties

See merge request !108
parents fc5a1e9f b0abe3da
Pipeline #2103 passed with stage
in 78 minutes and 26 seconds
......@@ -734,7 +734,7 @@ void ViewControlPlugin::slotDrawModeSelected( QAction * _action) {
activeDrawModes_ = ACG::SceneGraph::DrawModes::DEFAULT;
useGlobalDrawMode = true;
} else {
activeDrawModes_ &= ~mode;
activeDrawModes_.filter(mode);
}
}
contextMenuStaysOpen = true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment