Коммит d30f2d86 создал по автору Durman's avatar Durman
Просмотр файлов

fix the problem of marking old nodes when file is opened in second time

before the fix they were not marked because all classes were already registered
владелец 027831b8
......@@ -162,9 +162,9 @@ def sv_post_load(scene):
with catch_log_error():
if any(not n.is_registered_node_type() for ng in BlTrees().sv_trees for n in ng.nodes):
old_nodes.register_all()
old_nodes.mark_all()
dummy_nodes.register_all()
dummy_nodes.mark_all()
old_nodes.mark_all()
dummy_nodes.mark_all()
with catch_log_error():
settings.apply_theme_if_necessary()
......
Поддерживает Markdown
0% или .
You are about to add 0 people to the discussion. Proceed with caution.
Сначала завершите редактирование этого сообщения!
Пожалуйста, зарегистрируйтесь или чтобы прокомментировать