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

Tooltips of Add node operator in Blender 3.3

Created by: Durman

Problem statement

Blender 3.3 silently added description class method for AddNodeOperator - https://developer.blender.org/D14963 https://developer.blender.org/T101657

Now it overrides our approach of adding tooltips. It's a coincidence that we did not loos tooltips completely because their approach is similar, it also uses node doc strings.

Our current approach is a class factory of AddNodeOperator subclasses for each node item in the menu. https://github.com/nortikin/sverchok/blob/b5a8ebcf59d7fb667754523d1e28c9671884f56a/menu.py#L256-L264

With the new feature we have opportunity to simplify our solution and replace the factory wit single Add operator. The question is about backward compatibility. I see 3 ways to go:

  • Add description method to our current approach. It's simplest solution and backward compatible but it want make our approach simpler.
  • Rewrite our current approach. It's more complicated, backward incompatible but it will simplify the menu code. And probably it's not a big deal to drop the feature in 3.2 3.1. 3.0 and 2.93 Blender versions.
  • Add separate solution for Blender 3.3 and higer. It's most complicated but backward compatible.
Ответственный
Назначить
Оценка трудозатрат