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

Problem of creating new node version if socket name was changed

Created by: Durman

The problem is that some minor changes in node code force us to create its new version. It's totally related with sockets. It is possible to fix node property without problems meanwhile one can't say this about sockets. There is hint of a solution in animation nodes.

This articles describes the problem: https://wiki.blender.org/wiki/Source/Nodes/NodeInterfaceFramework#Existing_Approaches

One of possible approaches is re initialize node on each tree update event as article describes. And we already have one node which share similar conception. It's SNL node.

https://github.com/nortikin/sverchok/blob/979172d84807af9cb37a48621589a8f90c2ac2a4/nodes/generator/script1_lite.py#L328-L334

This method is calling each time when process method of the node is called and it updates sockets state. It is why my last changes in initialization sockets code does not required creating new version of the node.

We could think whether it is possible to bring this logic to the reast of the nodes.

Ответственный
Назначить
Оценка трудозатрат