separate enter leave functions

10 jobs for RenderObjectMods in 93 minutes and 27 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
passed #11316
MultiThreads Linux
clang-c++11-Qt4

00:07:34

passed #11320
MultiThreads Linux
clang-c++11-Qt5

00:09:25

passed #11318
MultiThreads Linux
clang-c++98-Qt4

00:06:13

passed #11322
MultiThreads Linux
clang-c++98-Qt5

00:07:32

passed #11323
MultiThreads Linux
cppcheck

00:36:10

passed #11328
Linux
gcc-c++11-Qt4

00:51:01

passed #11319
Linux
gcc-c++11-Qt5

00:03:34

passed #11317
Linux
gcc-c++98-Qt4

00:34:46

passed #11321
Linux
gcc-c++98-Qt5

00:02:59

failed #11315
Linux
gcc-c++11-Qt4

00:00:38