fix [#37034] Triangulate modifier asserts with GHASH_FLAG_ALLOW_DUPES

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60719 954f8c5b-7b00-dc11-b283-0030488c597c
code cleanup: utility function for getting a bool as a string.


git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk/blender@60720 954f8c5b-7b00-dc11-b283-0030488c597c