Commit: 61036ca179bdfa57c13a81178cabad6d17717386
Author: Campbell Barton
Date:   Fri Jan 18 13:30:31 2019 +1100
Branches: master
https://developer.blender.org/rB61036ca179bdfa57c13a81178cabad6d17717386

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

===================================================================

M       source/blender/blenloader/intern/readfile.c

===================================================================

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;
                        }
                }
        }

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
https://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to