From 856f67e113df2cbc13450123e8aadc83c2522e5b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Samohel?= Date: Wed, 26 Feb 2020 21:17:12 +0100 Subject: [PATCH] added reset frame range on task change --- pype/maya/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pype/maya/__init__.py b/pype/maya/__init__.py index cbdd3696be..417f617784 100644 --- a/pype/maya/__init__.py +++ b/pype/maya/__init__.py @@ -229,4 +229,6 @@ def on_task_changed(*args): # Run maya.pipeline._on_task_changed() - lib.update_content_on_context_change() + with maya.suspended_refresh(): + lib.set_context_settings() + lib.update_content_on_context_change()