Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2018-09-14 19:31:54 +0300
committerClément Foucault <foucault.clem@gmail.com>2018-09-14 19:32:04 +0300
commit424aeda11281ca9c02475417375ead4ed00bd142 (patch)
tree4abcaeb2f84e3e68e0a3c74119fbd7ff91c6b537 /source/blender
parent1f1d5e1dd29a8f561e0ac11b750bc9cd308db031 (diff)
Object Mode: Draw object center after the floorgrid
Diffstat (limited to 'source/blender')
-rw-r--r--source/blender/draw/modes/object_mode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/draw/modes/object_mode.c b/source/blender/draw/modes/object_mode.c
index f2d316bbed1..a9e0992016e 100644
--- a/source/blender/draw/modes/object_mode.c
+++ b/source/blender/draw/modes/object_mode.c
@@ -2926,8 +2926,6 @@ static void OBJECT_draw_scene(void *vedata)
DRW_draw_pass(psl->lightprobes);
}
- DRW_draw_pass(psl->ob_center);
-
if (DRW_state_is_fbo()) {
if (e_data.draw_grid) {
GPU_framebuffer_bind(dfbl->color_only_fb);
@@ -2984,6 +2982,8 @@ static void OBJECT_draw_scene(void *vedata)
BLI_ghash_free(stl->g_data->sgl_ghost.image_plane_map, NULL, MEM_freeN);
stl->g_data->sgl_ghost.image_plane_map = NULL;
}
+
+ DRW_draw_pass(psl->ob_center);
}
static const DrawEngineDataSize OBJECT_data_size = DRW_VIEWPORT_DATA_SIZE(OBJECT_Data);