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:
authorNicholas Bishop <nicholasbishop@gmail.com>2011-12-27 00:19:55 +0400
committerNicholas Bishop <nicholasbishop@gmail.com>2011-12-27 00:19:55 +0400
commit5f3b1a976785fae9c36334a038794bc03b324c3f (patch)
treeeae4e68c25aa474fcb668abcec2140a7910006c1 /source/blender/editors/space_view3d/view3d_select.c
parent50cc053690abf2ccf2f16b79d998f1e94a881d31 (diff)
Factor out some generic parts of the sculpting PBVH redraw planes code.
One function converts bounding boxes to screen space, the other converts a screen-space rectangle to 3D clipping planes. Also const-ified some parameters in the ED_view3d API.
Diffstat (limited to 'source/blender/editors/space_view3d/view3d_select.c')
-rw-r--r--source/blender/editors/space_view3d/view3d_select.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_select.c b/source/blender/editors/space_view3d/view3d_select.c
index 1be19f14618..886db3a5f0e 100644
--- a/source/blender/editors/space_view3d/view3d_select.c
+++ b/source/blender/editors/space_view3d/view3d_select.c
@@ -135,7 +135,7 @@ int view3d_get_view_aligned_coordinate(ViewContext *vc, float fp[3], const int m
/*
* ob == NULL if you want global matrices
* */
-void view3d_get_transformation(ARegion *ar, RegionView3D *rv3d, Object *ob, bglMats *mats)
+void view3d_get_transformation(const ARegion *ar, RegionView3D *rv3d, Object *ob, bglMats *mats)
{
float cpy[4][4];
int i, j;