Fix T41175: Quad View - Properties Region - Clip Tickable option bug?

This commit is contained in:
Bastien Montagne 2014-08-04 14:27:18 +02:00
parent a90e49e40a
commit 6ba4db2906
Notes: blender-bot 2023-02-14 10:18:48 +01:00
Referenced by issue #41175, Quad View - Properties Region - Clip Tickable option bug?
1 changed files with 5 additions and 3 deletions

View File

@ -465,11 +465,13 @@ void ED_view3d_quadview_update(ScrArea *sa, ARegion *ar, bool do_clip)
* properties are always being edited, weak */
viewlock = rv3d->viewlock;
if ((viewlock & RV3D_LOCKED) == 0)
if ((viewlock & RV3D_LOCKED) == 0) {
do_clip = (viewlock & RV3D_BOXCLIP) != 0;
viewlock = 0;
else if ((viewlock & RV3D_BOXVIEW) == 0) {
viewlock &= ~RV3D_BOXCLIP;
}
else if ((viewlock & RV3D_BOXVIEW) == 0 && (viewlock & RV3D_BOXCLIP) != 0) {
do_clip = true;
viewlock &= ~RV3D_BOXCLIP;
}
for (; ar; ar = ar->prev) {