Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKévin Dietrich <kevin.dietrich@mailoo.org>2015-12-27 23:32:19 +0300
committerKévin Dietrich <kevin.dietrich@mailoo.org>2015-12-27 23:32:19 +0300
commitc4c3d84d5805d8c91aa3ef06f70492d60f4e7778 (patch)
treeece55ad2442ae4831e8500569ab7da3f8f534e45 /intern/ghost
parentc09ed363bf6c6411654dc3715628d70cb5205199 (diff)
Addendum to previous GHOST commit: remove redundant check.
Diffstat (limited to 'intern/ghost')
-rw-r--r--intern/ghost/intern/GHOST_EventManager.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/intern/ghost/intern/GHOST_EventManager.cpp b/intern/ghost/intern/GHOST_EventManager.cpp
index 44b57d11a9f..bef4b0e02ca 100644
--- a/intern/ghost/intern/GHOST_EventManager.cpp
+++ b/intern/ghost/intern/GHOST_EventManager.cpp
@@ -116,10 +116,6 @@ void GHOST_EventManager::dispatchEvent()
void GHOST_EventManager::dispatchEvents()
{
- if (m_events.empty()) {
- return;
- }
-
while (!m_events.empty()) {
dispatchEvent();
}