2
0
Эх сурвалжийг харах

Text input actually works

Marko Pintera 12 жил өмнө
parent
commit
6578bc5c28

+ 0 - 6
BansheeEngine/Source/BsGUIInputBox.cpp

@@ -238,12 +238,6 @@ namespace BansheeEngine
 			// TODO - How are backspace, caps and enter handled?
 			mText += ev.getInputString();
 
-			if(mText != "")
-			{
-
-				int a = 5;
-			}
-
 			markAsDirty();
 
 			return true;

+ 0 - 4
CamelotOISInput/Source/CmInputHandlerOIS.cpp

@@ -67,10 +67,6 @@ namespace CamelotFramework
 		if(arg.text != 0)
 		{
 			mInputString += arg.text;
-			if(mInputString != "")
-			{
-				int a = 5;
-			}
 		}
 
 		onKeyDown((KeyCode)(int)arg.key);