diff -r a7b6f987d269 -r ed7b31b9f904 src/editmodes/abstractEditMode.cpp --- a/src/editmodes/abstractEditMode.cpp Sun Sep 06 03:10:03 2015 +0300 +++ b/src/editmodes/abstractEditMode.cpp Sun Sep 06 03:17:29 2015 +0300 @@ -137,7 +137,7 @@ } } - if (closest != nullptr) + if (closest) addDrawnVertex (*closest); return true;