Merge branch 'blender-v4.0-release' into main

This commit is contained in:
Germano Cavalcante
2023-10-20 09:56:13 -03:00
2 changed files with 4 additions and 2 deletions

View File

@@ -5621,7 +5621,8 @@ static int add_vertex_invoke(bContext *C, wmOperator *op, const wmEvent *event)
Curve *cu;
float location[3];
const bool use_proj = ((vc.scene->toolsettings->snap_flag & SCE_SNAP) &&
(vc.scene->toolsettings->snap_mode == SCE_SNAP_TO_FACE));
(vc.scene->toolsettings->snap_mode &
(SCE_SNAP_TO_FACE | SCE_SNAP_INDIVIDUAL_PROJECT)));
Nurb *nu;
BezTriple *bezt;

View File

@@ -713,7 +713,8 @@ static int edbm_dupli_extrude_cursor_invoke(bContext *C, wmOperator *op, const w
const bool rot_src = RNA_boolean_get(op->ptr, "rotate_source");
const bool use_proj = ((vc.scene->toolsettings->snap_flag & SCE_SNAP) &&
(vc.scene->toolsettings->snap_mode == SCE_SNAP_TO_FACE));
(vc.scene->toolsettings->snap_mode &
(SCE_SNAP_TO_FACE | SCE_SNAP_INDIVIDUAL_PROJECT)));
/* First calculate the center of transformation. */
zero_v3(center);