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:
authorMartin Poirier <theeth@yahoo.com>2010-02-03 23:45:35 +0300
committerMartin Poirier <theeth@yahoo.com>2010-02-03 23:45:35 +0300
commit152708df686b6f2dd455d873fd0f153993074919 (patch)
tree14ca4ccd018af7796f49ab2f743da988da25246f /source/blender/editors/space_view3d/view3d_draw.c
parenta7edd5cac50174efd9f5390aa092f569acdb0a39 (diff)
Pre Draw callback for 3D view.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_draw.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_draw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c
index 525842b2a8f..99f3e7ffd91 100644
--- a/source/blender/editors/space_view3d/view3d_draw.c
+++ b/source/blender/editors/space_view3d/view3d_draw.c
@@ -2022,7 +2022,7 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
int retopo= 0, sculptparticle= 0;
Object *obact = OBACT;
char *grid_unit= NULL;
-
+
/* from now on all object derived meshes check this */
v3d->customdata_mask= get_viewedit_datamask(CTX_wm_screen(C), scene, obact);
@@ -2038,6 +2038,8 @@ void view3d_main_area_draw(const bContext *C, ARegion *ar)
/* setup view matrices */
view3d_main_area_setup_view(scene, v3d, ar, NULL, NULL);
+ ED_region_draw_cb_draw(C, ar, REGION_DRAW_PRE_VIEW);
+
if(rv3d->rflag & RV3D_CLIPPING)
view3d_draw_clipping(rv3d);