From ca419b47a44c9190aef7006c2d8b03f9ce7242a2 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Fri, 6 May 2011 23:46:24 +0000 Subject: fix [#27298] Alt + RMB always extends selection --- source/blender/blenlib/intern/math_geom.c | 2 +- source/blender/editors/object/object_select.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender') diff --git a/source/blender/blenlib/intern/math_geom.c b/source/blender/blenlib/intern/math_geom.c index afce5a602ed..500b0625177 100644 --- a/source/blender/blenlib/intern/math_geom.c +++ b/source/blender/blenlib/intern/math_geom.c @@ -1789,7 +1789,7 @@ void orthographic_m4(float matrix[][4], const float left, const float right, con matrix[3][2] = -(farClip + nearClip)/Zdelta; } -void perspective_m4(float mat[][4],float left, const float right, const float bottom, const float top, const float nearClip, const float farClip) +void perspective_m4(float mat[4][4], const float left, const float right, const float bottom, const float top, const float nearClip, const float farClip) { float Xdelta, Ydelta, Zdelta; diff --git a/source/blender/editors/object/object_select.c b/source/blender/editors/object/object_select.c index 52486677e87..a3bd399a60c 100644 --- a/source/blender/editors/object/object_select.c +++ b/source/blender/editors/object/object_select.c @@ -894,7 +894,7 @@ static int object_select_name_exec(bContext *C, wmOperator *op) if(!extend) { CTX_DATA_BEGIN(C, Base*, base, selectable_bases) { - if((base->flag & SELECT) == 0) { + if(base->flag & SELECT) { ED_base_object_select(base, BA_DESELECT); changed= 1; } -- cgit v1.2.3