Merge branch 'blender-v3.1-release'
This commit is contained in:
commit
ad2948face
|
@ -600,9 +600,9 @@ static int snap_selected_to_cursor_exec(bContext *C, wmOperator *op)
|
|||
const int pivot_point = scene->toolsettings->transform_pivot_point;
|
||||
|
||||
if (snap_selected_to_location(C, snap_target_global, use_offset, pivot_point, true)) {
|
||||
return OPERATOR_CANCELLED;
|
||||
return OPERATOR_FINISHED;
|
||||
}
|
||||
return OPERATOR_FINISHED;
|
||||
return OPERATOR_CANCELLED;
|
||||
}
|
||||
|
||||
void VIEW3D_OT_snap_selected_to_cursor(wmOperatorType *ot)
|
||||
|
|
|
@ -112,7 +112,6 @@ class HandleTypeFieldInput final : public GeometryFieldInput {
|
|||
|
||||
bool is_equal_to(const fn::FieldNode &other) const override
|
||||
{
|
||||
return dynamic_cast<const HandleTypeFieldInput *>(&other) != nullptr;
|
||||
if (const HandleTypeFieldInput *other_handle_selection =
|
||||
dynamic_cast<const HandleTypeFieldInput *>(&other)) {
|
||||
return mode_ == other_handle_selection->mode_ && type_ == other_handle_selection->type_;
|
||||
|
|
Loading…
Reference in New Issue