Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-07 03:46:24 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-07 03:46:24 +0400
commitca419b47a44c9190aef7006c2d8b03f9ce7242a2 (patch)
treeedf32c12315096114c14c2d6655ea3f0ab3b0150 /source/blender
parent309bb2937db93d7ef896a5a5a56bc6f8a624ccca (diff)
fix [#27298] Alt + RMB always extends selection
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/blenlib/intern/math_geom.c2
-rw-r--r--source/blender/editors/object/object_select.c2
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;
}