fix axis rendering bug

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

00:08:05

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

00:08:53

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

00:06:49

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

00:06:54

passed cppcheck #10853
Linux MultiThreads

00:34:33

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

00:04:56

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

00:04:54

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

00:04:07

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

00:04:14