Fix T56705: Z axis do not displays in side views
authorClément Foucault <foucault.clem@gmail.com>
Thu, 6 Sep 2018 12:48:17 +0000 (14:48 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Thu, 6 Sep 2018 13:00:44 +0000 (15:00 +0200)
source/blender/draw/modes/object_mode.c

index 0a83feb879c4d19fed4825f43a501b519260b3ed..1ea34949a1eace04b357d6eb4a7f42bcd66c9a90 100644 (file)
@@ -508,7 +508,7 @@ static void OBJECT_engine_init(void *vedata)
                                if (show_axis_y) {
                                        e_data.grid_flag |= SHOW_AXIS_Y;
                                }
-                               if (show_axis_z) {
+                               {
                                        e_data.grid_flag |= SHOW_AXIS_Z;
                                }
                                if (show_floor) {
@@ -534,7 +534,7 @@ static void OBJECT_engine_init(void *vedata)
                                if (show_axis_x) {
                                        e_data.grid_flag |= SHOW_AXIS_X;
                                }
-                               if (show_axis_z) {
+                               {
                                        e_data.grid_flag |= SHOW_AXIS_Z;
                                }
                                if (show_floor) {