Fix Menu Switch with same options and different outputs
Hi,
The actual use of the Menu Switch is limited to provide the same output from the same menu.
Two Menu Switch connected to a defined Menu with THE SAME options should allow different outputs.
For example, define a menu with L, R, U, D options, and be able to connect it to a two different Menu Switches that will provide 4 different vectors and 4 different floats.
The equivalent in programming would be:
angle = 20.0 switch(option): case "L": vector = [0.0, 0.0, 1.0] angle = angle case "R": vector = [0.0, 0.0, 1.0] angle = -angle case "U": vector = [0.0, 1.0, 0.0] angle = -angle case "D": vector = [0.0, 1.0, 0.0] angle = angle
Right now, two similar switches in different groups does not work. As I reported here (but was closed because it was considered an improvement):
projects.blender.org/blender/blender/issues/133644
Thanks in advance, David
0 Comments