]> Shamusworld >> Repos - architektonas/blobdiff - src/mainapp/graphicview.cpp
Beginnings of new render path (Snapper)...
[architektonas] / src / mainapp / graphicview.cpp
index 90aa44eca6163c2fe568b91527fe4b94a6281760..d3b39cab24ae487a32cd6b3cd3633798dcdfc91e 100644 (file)
@@ -2174,8 +2174,14 @@ void GraphicView::setDefaultSnapMode(RS2::SnapMode sm)
 {
        defaultSnapMode = sm;
 
-       if (eventHandler != NULL)
+       if (eventHandler)
                eventHandler->setSnapMode(sm);
+
+       //OK, the above sets the snap mode in the snapper that's derived from
+       //the RS_ActionInterface and RS_Snapper. So the following should fix
+       //us up, hm notwithstanding.
+       //hm.
+       snapper.setSnapMode(sm);
 }
 
 /**