Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Не изменяются параметры оператора Colorize Materials #365

Closed
PavelBlend opened this issue Jan 26, 2021 · 0 comments
Labels
bug Что-то не работает

Comments

@PavelBlend
Copy link
Owner

Параметры оператора Colorize Materials не всегда изменяются при вызове оператора. В интерфейсе параметры можно изменить, но эти параметры не всегда (через раз) срабатывают. Приходится несколько раз нажимать кнопку вызова оператора, что настройки обновились.

Это связано с тем, что параметры устанавливаются в функции draw для панели:

operator.seed = data.materials_colorize_random_seed

Нужно устанавливать параметры внутри оператора (функция execute):

seed = self.seed

@PavelBlend PavelBlend added the bug Что-то не работает label Jan 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Что-то не работает
Projects
None yet
Development

No branches or pull requests

1 participant