fix [#30772] No more than two subdivions give correct result when adding an icosphere
authorCampbell Barton <ideasman42@gmail.com>
Tue, 3 Apr 2012 02:38:27 +0000 (02:38 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Tue, 3 Apr 2012 02:38:27 +0000 (02:38 +0000)
commitdb9c9f6c64c250e04add203a2d853a09235b5156
treeaf23e89f584e158234d055adddcaf3281d2cb009
parentd37d17019c52649646ea5d26a4e5793e656c2c76
fix [#30772] No more than two subdivions give correct result when adding an icosphere

bug was introduced in r45297, which inadvertently broke testing for multiple flags at once.

added BM_elem_flag_test_bool() and BMO_elem_flag_test_bool() to get TRUE/FALSE results rather then the flag value.
source/blender/bmesh/intern/bmesh_inline.h
source/blender/bmesh/intern/bmesh_marking.c
source/blender/bmesh/intern/bmesh_operator_api.h
source/blender/bmesh/intern/bmesh_operator_api_inline.h
source/blender/bmesh/intern/bmesh_operators.c