[Bf-blender-cvs] [4792d988fba] master: Fix T84964: Crash when running Knife Project in the background

Germano Cavalcante noreply at git.blender.org
Mon Jan 25 14:11:41 CET 2021


Commit: 4792d988fbaa3a49313f367bc9bb27e889d5d0cf
Author: Germano Cavalcante
Date:   Fri Jan 22 15:12:08 2021 -0300
Branches: master
https://developer.blender.org/rB4792d988fbaa3a49313f367bc9bb27e889d5d0cf

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

===================================================================

M	source/blender/editors/mesh/editmesh_knife.c

===================================================================

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;



More information about the Bf-blender-cvs mailing list