Tue, 22 Oct 2013 13:49:55 +0300
also removed the if() case mentioned in the prior commit from addObjectDialog.cpp. :P
src/addObjectDialog.cpp | file | annotate | diff | comparison | revisions |
--- a/src/addObjectDialog.cpp Tue Oct 22 13:47:41 2013 +0300 +++ b/src/addObjectDialog.cpp Tue Oct 22 13:49:55 2013 +0300 @@ -313,8 +313,7 @@ matrix transform = g_identity; AddObjectDialog dlg (type, obj); - if (obj) - assert (obj->getType() == type); + assert (!obj || obj->getType() == type); if (dlg.exec() == false) return;