fix [#36861] In face select masking circle select selects all when out of focus.
[blender.git] / source / blender / editors / mesh / editmesh_select.c
index 806ae96cb61b57645e61ae749f8549ca2bf0a8ef..76c08433b25b5f16a9bff5e38324dd366f27cebc 100644 (file)
@@ -266,6 +266,7 @@ bool EDBM_backbuf_border_init(ViewContext *vc, short xmin, short ymin, short xma
 
 int EDBM_backbuf_check(unsigned int index)
 {
+       BLI_assert(selbuf != NULL);
        if (selbuf == NULL) return 1;
        if (index > 0 && index <= bm_vertoffs)
                return selbuf[index];