From fd1a1e70a9a0e6d3ed8b29c97d73052892e64e1a Mon Sep 17 00:00:00 2001 From: Kayla Man Date: Thu, 21 Nov 2024 22:16:16 +0800 Subject: [PATCH] avoid glitching viewport --- client/ayon_max/api/lib.py | 1 + 1 file changed, 1 insertion(+) diff --git a/client/ayon_max/api/lib.py b/client/ayon_max/api/lib.py index 8184302817..bdfcd259a1 100644 --- a/client/ayon_max/api/lib.py +++ b/client/ayon_max/api/lib.py @@ -352,6 +352,7 @@ def set_context_setting(): reset_frame_range() reset_colorspace() reset_unit_scale() + rt.viewport.ResetAllViews() def get_max_version():