feat: skip external updates

This commit is contained in:
Swann
2021-06-03 15:43:47 +02:00
parent 07358802f7
commit 569543650f
2 changed files with 23 additions and 0 deletions

View File

@ -952,7 +952,11 @@ def depsgraph_evaluation(scene):
update_external_dependencies()
is_internal = [u for u in dependency_updates if u.is_updated_geometry or u.is_updated_shading or u.is_updated_transform]
# NOTE: maybe we don't need to check each update but only the first
if not is_internal:
return
for update in reversed(dependency_updates):
# Is the object tracked ?
if update.id.uuid: