diff options
author | Michael Rodin <mrodin@de.adit-jv.com> | 2018-11-15 15:46:14 +0100 |
---|---|---|
committer | Michael Rodin <mrodin@de.adit-jv.com> | 2018-11-27 16:51:39 +0100 |
commit | f86999f99065e9cccd0741c79fb4053d440ad122 (patch) | |
tree | 89c50599263aef2b2ff31092ec938c2c1f27141d | |
parent | 611d08487f97011916c031ab089e44c89e525030 (diff) | |
download | wayland-ivi-extension-f86999f99065e9cccd0741c79fb4053d440ad122.tar.gz |
EGLWLMockNavigation: MockNavi.cpp: update street in z-direction
Add the street in z-direction to the m_updateList, so it does
not move together with the car.
Signed-off-by: Michael Rodin <mrodin@de.adit-jv.com>
-rw-r--r-- | ivi-layermanagement-examples/EGLWLMockNavigation/src/MockNavi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ivi-layermanagement-examples/EGLWLMockNavigation/src/MockNavi.cpp b/ivi-layermanagement-examples/EGLWLMockNavigation/src/MockNavi.cpp index 8a2f928..66e6863 100644 --- a/ivi-layermanagement-examples/EGLWLMockNavigation/src/MockNavi.cpp +++ b/ivi-layermanagement-examples/EGLWLMockNavigation/src/MockNavi.cpp @@ -109,6 +109,7 @@ void MockNavi::generateCity() obj = new Street(streetPosition, streetSize, streetColor, pShader); } m_renderList.push_back(obj); + m_updateList.push_back(obj); // generate streets x direction for (int z = 1; z < m_houseCount; ++z) |