fix [#27298] Alt + RMB always extends selection
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user