diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-05-07 03:46:24 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-05-07 03:46:24 +0400 |
commit | ca419b47a44c9190aef7006c2d8b03f9ce7242a2 (patch) | |
tree | edf32c12315096114c14c2d6655ea3f0ab3b0150 /source/blender | |
parent | 309bb2937db93d7ef896a5a5a56bc6f8a624ccca (diff) |
fix [#27298] Alt + RMB always extends selection
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenlib/intern/math_geom.c | 2 | ||||
-rw-r--r-- | source/blender/editors/object/object_select.c | 2 |
2 files changed, 2 insertions, 2 deletions
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; } |