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
path: root/source
diff options
context:
space:
mode:
authorJoshua Leung <aligorith@gmail.com>2010-02-09 12:56:04 +0300
committerJoshua Leung <aligorith@gmail.com>2010-02-09 12:56:04 +0300
commit720d26f4b0551510594270a975b2ce8a533cd66a (patch)
tree5b38c7ffbff393d3039867c4f9b9779d8f98b0e4 /source
parent7dee0e2540f54f7dded142ff073129fb06487984 (diff)
Bugfix #20964: Loopcut with X-Ray draw mode draws no cuts
Moved the special region "post draw" callback execution stuff to after XRay and Transp object drawing.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index e744252889a..3c5b8c0abc7 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2121,8 +2121,6 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
view3d_update_depths(ar, v3d);
}
- ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW);
-
// REEB_draw();
// if(scene->radio) RAD_drawall(v3d->drawtype>=OB_SOLID);
@@ -2131,6 +2129,8 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
view3d_draw_transp(scene, ar, v3d);
view3d_draw_xray(scene, ar, v3d, 1); // clears zbuffer if it is used!
+ ED_region_draw_cb_draw(C, ar, REGION_DRAW_POST_VIEW);
+
if(!retopo && sculptparticle && (obact && (OBACT->dtx & OB_DRAWXRAY))) {
view3d_update_depths(ar, v3d);
}