Merge branch 'blender-v4.0-release' into main
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user