Fix incorrectly deleted elements in array modifier caps.
authorNicholas Bishop <nicholasbishop@gmail.com>
Mon, 11 Jun 2012 09:41:08 +0000 (09:41 +0000)
committerNicholas Bishop <nicholasbishop@gmail.com>
Mon, 11 Jun 2012 09:41:08 +0000 (09:41 +0000)
commita18b303a7656c446b41d7b75d7d512e0f8a87040
treee36ad3a051c647ba7d1a1b969e23044e9c710fcc
parentabfe63d8aacbc07363ab71ad530a7cfbd49b15ac
Fix incorrectly deleted elements in array modifier caps.

Add check for merging vertices into vertices that are themselves
marked for merge, was already done for array eleements but not end
caps.

Fixes bug [#31695] Array Modifier: End Cap fails if all vertices are merged

Also corrected some reversed assert arguments.
source/blender/bmesh/intern/bmesh_marking.c
source/blender/bmesh/intern/bmesh_operators.c
source/blender/modifiers/intern/MOD_array.c