• S sverchok
  • Информация о проекте
    • Информация о проекте
    • Активность
    • Метки
    • Участники
  • Репозиторий
    • Репозиторий
    • Файлы
    • Коммиты
    • Ветки
    • Теги
    • Участники
    • Диаграмма
    • Сравнение
  • Задачи 148
    • Задачи 148
    • Список
    • Доски
    • Спринты
  • Запросы на слияние 21
    • Запросы на слияние 21
  • CI/CD
    • CI/CD
    • Конвейеры
    • Задания
    • Расписания
  • Развертывания
    • Развертывания
    • Окружения
    • Релизы
  • Пакеты и реестры
    • Пакеты и реестры
    • Реестр пакетов
    • Реестр контейнеров
  • Мониторинг
    • Мониторинг
    • Инциденты
  • Аналитика
    • Аналитика
    • Поток ценности
    • CI/CD
    • Репозиторий
  • Wiki
    • Wiki
  • Сниппеты
    • Сниппеты
  • Активность
  • Диаграмма
  • Создать новую задачу
  • Задания
  • Коммиты
  • Доски с задачами
Свернуть панель
  • nikitronn
  • sverchok
  • Задачи
  • #2770
Закр.
Открыто
Задача созд. Дек 26, 2019 пользователемnikitronn@nikitronnВладелец

Update system - explanation

Created by: Durman

Will try to describe what is going on:

Blender update events:

  • depsgraph_update_pre handler
  • frame_change_post/post handler
  • node_tree.update method
  • node.update method
  • property.update method

Sverchok update events:

  • process_from_node function
  • process_from_nodes function

Triggers of depsgraph_update_pre handler:

  • swithch editor type
  • add object in scene
  • moving object in scene ❗️
  • switch edit / object modes
  • moving parts of mesh ❗️
  • select parts of mesh
  • apply mesh operators
  • change of any property
  • open close panels
  • and so on

Reaction upon manipulation in node tree:

events depsgraph_update_pre node_tree.update node.update order
Add new node ✔️ ✔️ ✔️ nodes, tree, handler
Copy node ✔️ ✔️ nodes, tree
Dellite node ✔️ ✔️ other nodes, tree
Rename tree ✔️
Add link ✔️ ✔️ nodes, tree
Remove link ✔️ ✔️ current node, nodes, tree
Add socket to a node ✔️
Remove socket ✔️
Rename socket ✔️
Rename node ✔️
Ответственный
Назначить
Оценка трудозатрат