From 4792d988fbaa3a49313f367bc9bb27e889d5d0cf Mon Sep 17 00:00:00 2001 From: Germano Cavalcante Date: Fri, 22 Jan 2021 15:12:08 -0300 Subject: 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 --- source/blender/editors/mesh/editmesh_knife.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'source/blender/editors/mesh') diff --git a/source/blender/editors/mesh/editmesh_knife.c b/source/blender/editors/mesh/editmesh_knife.c index f45f48e0e32..2374ff1a7d8 100644 --- a/source/blender/editors/mesh/editmesh_knife.c +++ b/source/blender/editors/mesh/editmesh_knife.c @@ -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; -- cgit v1.2.3