refactor: removed apply from replicated datablock

This commit is contained in:
Swann 2021-05-17 10:52:28 +02:00
parent acc58a1c9f
commit f011089d82
No known key found for this signature in database
GPG Key ID: E1D3641A7C43AACB
2 changed files with 2 additions and 7 deletions

@ -1 +1 @@
Subproject commit b8b3e3d26733e47073b2d63e5ee4b8f66a339f0f
Subproject commit c8444b6b73fd76d917226a81e6602a8b674a837b

View File

@ -93,12 +93,7 @@ def initialize_session():
# Step 2: Load nodes
logging.info("Loading nodes")
for node in session.repository.list_ordered():
node_ref = session.repository.get_node(node)
if node_ref is None:
logging.error(f"Can't load node {node}")
elif node_ref.state == FETCHED:
node_ref.apply()
apply(session.repository, node)
logging.info("Registering timers")
# Step 4: Register blender timers