about summary refs log tree commit diff
path: root/src/game/editor
diff options
context:
space:
mode:
authorSushiTee <weichel.sascha@gmail.com>2010-06-03 15:21:12 +0200
committerSushiTee <weichel.sascha@gmail.com>2010-06-03 15:21:12 +0200
commit0115161463266a77bbe98d41f271f8ec49da43aa (patch)
tree91fe8eb865502398fa149c3974d807d954513ba0 /src/game/editor
parentc37335b115f69f8ab54403742640faff384d2747 (diff)
parent5988b9d38801f0987f38c99fb944e1a861d07ef3 (diff)
downloadzcatch-0115161463266a77bbe98d41f271f8ec49da43aa.tar.gz
zcatch-0115161463266a77bbe98d41f271f8ec49da43aa.zip
mergend stuff
Diffstat (limited to 'src/game/editor')
-rw-r--r--src/game/editor/ed_editor.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/game/editor/ed_editor.cpp b/src/game/editor/ed_editor.cpp
index b2b3e1ca..387ce104 100644
--- a/src/game/editor/ed_editor.cpp
+++ b/src/game/editor/ed_editor.cpp
@@ -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