Fix T84964: Crash when running Knife Project in the background

Although the Knife Project operator converts 3D coordinates to screen
space, it doesn't really need opengl.

Differential Revision: https://developer.blender.org/D10178
This commit is contained in:
Germano Cavalcante 2021-01-22 15:12:08 -03:00
parent e9a47223cb
commit 4792d988fb

@ -3067,8 +3067,6 @@ void EDBM_mesh_knife(bContext *C, LinkNode *polys, bool use_tag, bool cut_throug
{
KnifeTool_OpData *kcd;
view3d_operator_needs_opengl(C);
/* init */
{
const bool only_select = false;