[Blender_Kitsu] Playblast shot with user viewport settings #11
@ -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,):
|
||||
|
Loading…
Reference in New Issue
Block a user