Cleanup: Remove old commented code

This commit is contained in:
Roy Nieterau 2023-06-30 22:54:26 +02:00
parent 0b6f9dc8f2
commit bc15989b2e

View file

@ -549,14 +549,10 @@ def on_save():
Any transform of a mesh, without an existing ID, is given one
automatically on file save.
"""
log.info("Running callback on save..")
# remove lockfile if users jumps over from one scene to another
_remove_workfile_lock()
# # Update current task for the current scene
# update_task_from_path(cmds.file(query=True, sceneName=True))
# Generate ids of the current context on nodes in the scene
nodes = lib.get_id_required_nodes(referenced_nodes=False)
for node, new_id in lib.generate_ids(nodes):
@ -577,8 +573,6 @@ def on_open():
from openpype.widgets import popup
utils.executeDeferred(_update_render_layer_observers)
# # Update current task for the current scene
# update_task_from_path(cmds.file(query=True, sceneName=True))
# Validate FPS after update_task_from_path to
# ensure it is using correct FPS for the asset