correct own recent commit, confused totloop with dm_totloop, rename vars & correct even though in this case the error was harmless.


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