fix axis rendering bug

9 jobs for PrincipalAxisRendering in 49 minutes and 35 seconds
Status Job ID Name Coverage
  Test
passed #10846
MultiThreads Linux
clang-c++11-Qt4

00:08:05

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

00:08:53

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

00:06:49

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

00:06:54

passed #10853
MultiThreads Linux
cppcheck

00:34:33

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

00:04:56

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

00:04:54

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

00:04:07

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

00:04:14