[nodes] turn several parameters into Choices

This commit is contained in:
Yann Lanthony 2017-11-17 17:56:33 +01:00
parent 6945cb7738
commit 03058f4860
3 changed files with 10 additions and 5 deletions

View file

@ -22,13 +22,14 @@ class Texturing(desc.CommandLineNode):
value='',
uid=[0],
),
desc.IntParam(
desc.ChoiceParam(
name='textureSide',
label='Texture Side',
description='''Output texture size''',
value=8192,
range=(1024, 16384, 1024),
uid=[0],
values=(1024, 2048, 4096, 8192, 16384),
exclusive=True,
uid=[],
),
desc.IntParam(
name='padding',