[Bf-blender-cvs] [900178d4386] sculpt-dev: Fix build after merge

Pablo Dobarro noreply at git.blender.org
Tue Jun 1 14:31:03 CEST 2021


Commit: 900178d4386d9b876866ab45b253f16336fcea6b
Author: Pablo Dobarro
Date:   Tue Jun 1 14:22:49 2021 +0200
Branches: sculpt-dev
https://developer.blender.org/rB900178d4386d9b876866ab45b253f16336fcea6b

Fix build after merge

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

M	source/blender/editors/sculpt_paint/sculpt_gradient.c

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

diff --git a/source/blender/editors/sculpt_paint/sculpt_gradient.c b/source/blender/editors/sculpt_paint/sculpt_gradient.c
index 549c04b0525..3b8d839af35 100644
--- a/source/blender/editors/sculpt_paint/sculpt_gradient.c
+++ b/source/blender/editors/sculpt_paint/sculpt_gradient.c
@@ -104,7 +104,8 @@ static void sculpt_gradient_apply_task_cb(void *__restrict userdata,
     copy_v3_v3(symm_co, vd.co);
 
     mul_v3_m4v3(world_co, data->ob->obmat, symm_co);
-    ED_view3d_project(gcontext->vc.region, world_co, projected_co);
+    /* TOOD: Implement this again. */
+    /* ED_view3d_project(gcontext->vc.region, world_co, projected_co); */
 
     float gradient_value = 0.0f;
     switch (gcontext->gradient_type) {



More information about the Bf-blender-cvs mailing list