added fix for editor quad editing by ghost91 Closes #18

This commit is contained in:
oy 2010-06-02 20:50:48 +02:00
parent 25408a102b
commit 7a1953e60b

View file

@ -1029,6 +1029,14 @@ void CEditor::DoQuadPoint(CQuad *q, int QuadIndex, int v)
s_Operation = OP_CONTEXT_MENU;
m_SelectedQuad = QuadIndex;
UI()->SetActiveItem(pId);
if(!(m_SelectedPoints&(1<<v)))
{
if(Input()->KeyPressed(KEY_LSHIFT) || Input()->KeyPressed(KEY_RSHIFT))
m_SelectedPoints |= 1<<v;
else
m_SelectedPoints = 1<<v;
s_Moved = true;
}
}
}
else