diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-01-18 05:30:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-01-18 05:32:48 +0300 |
commit | 61036ca179bdfa57c13a81178cabad6d17717386 (patch) | |
tree | 5744b040f6ae08cc68a6fafe3f4618a449adec3f /source/blender/blenloader | |
parent | b9412923a36d20f4a2b5d7b502191dabc5731c5c (diff) |
3D View: Disable clipping on load
Having clipping limit selection and tools is confusing when not visible.
Disable on load until it's supported
(doing this via ifdef's isn't practical).
Fixes T59580
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/readfile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c index f8b8aa5bd21..79c8a360c3e 100644 --- a/source/blender/blenloader/intern/readfile.c +++ b/source/blender/blenloader/intern/readfile.c @@ -6675,6 +6675,10 @@ static void direct_link_region(FileData *fd, ARegion *ar, int spacetype) rv3d->render_engine = NULL; rv3d->sms = NULL; rv3d->smooth_timer = NULL; + + /* TODO: support clipping in 2.8x, + * Tools use clipping which is confusing when it isn't displayed, T59580. */ + rv3d->rflag &= ~RV3D_CLIPPING; } } } |