[Blender_Kitsu] Playblast shot with user viewport settings #11

Merged
Nick Alberelli merged 4 commits from :feature/playblast-shot-user-settings into master 2023-04-18 15:41:34 +02:00
Showing only changes of commit 2b98285807 - Show all commits

View File

@ -55,12 +55,16 @@ def override_render_path(self, context, render_file_path):
def override_hide_viewport_gizmos(self, context,):
sp = context.space_data
show_gizmo = sp.show_gizmo
show_overlays = sp.overlay.show_overlays
try:
sp.show_gizmo = False
sp.overlay.show_overlays = False
yield
finally:
sp.show_gizmo = show_gizmo
sp.overlay.show_overlays = show_overlays
@contextlib.contextmanager
def override_metadata_stamp_settings(self, context,):