fix [#27298] Alt + RMB always extends selection

This commit is contained in:
2011-05-06 23:46:24 +00:00
parent 309bb2937d
commit ca419b47a4
2 changed files with 2 additions and 2 deletions

View File

@@ -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;

View File

@@ -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;
}