diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-11-21 19:44:05 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-11-21 19:44:05 +0300 |
commit | 6f38938a64178f0a3ed6a4b96e4bf459c9076468 (patch) | |
tree | 8852c14a73eae4a32b68a78bac1086dd7fc15487 /source/blender/makesdna/DNA_view3d_types.h | |
parent | bd1f548d8e4a47b81b03af3d50339b2fa33ff5fb (diff) |
[#19930] Nurb CV select is failing because of view clipping
- the clipping test function was using the rv3d->viewmatob where it needed to use the object matrix.
- added a local clipping member to rv3d, the clipping planes in object-space, avoids many matrix multiplications when testing verts or clipping pixels when projection painting.
Diffstat (limited to 'source/blender/makesdna/DNA_view3d_types.h')
-rw-r--r-- | source/blender/makesdna/DNA_view3d_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesdna/DNA_view3d_types.h b/source/blender/makesdna/DNA_view3d_types.h index 422c56fe4c1..74d9fa59e50 100644 --- a/source/blender/makesdna/DNA_view3d_types.h +++ b/source/blender/makesdna/DNA_view3d_types.h @@ -97,6 +97,7 @@ typedef struct RegionView3D { /* user defined clipping planes */ float clip[6][4]; + float clip_local[6][4]; /* clip in object space, means we can test for clipping in editmode without first going into worldspace */ struct BoundBox *clipbb; struct bGPdata *gpd; /* Grease-Pencil Data (annotation layers) */ |