dx11-vvvv icon indicating copy to clipboard operation
dx11-vvvv copied to clipboard

Selected technique enum doesn't update when changing technique name

Open jhnnslmk opened this issue 7 years ago • 5 comments

Hey master vux, minor one: When changing the currently compiled technique's name it doesn't update back in vvvv. Shader stops drawing (which is fine), pin still shows old name when hovering. Turning red to prompt the user to re-select another technique would be the most intuitive solution I guess. When exposing the enum to IOBox it turns red as expected. Doesn't happen for dx9, so figured I report it here.

Thank you!

jhnnslmk avatar Mar 22 '17 10:03 jhnnslmk

Indeed, I actually noticed that, seems enum indexing in 4v is kinda broken tho.

Here is a small repro (standalone) that needs to reach forum by the look of it.

enum_index.zip

mrvux avatar May 03 '17 10:05 mrvux

On more elaboration, seems as soon as enum changes and it can't find it anymore, pin changes to index 2 (out of range). but when we change back to an existing value, pin index does not "recover"

mrvux avatar May 03 '17 10:05 mrvux

please retry with latest alpha. thanks!

gregsn avatar May 03 '17 20:05 gregsn

please check with latest alpha. index -1 should get returned. close?

gregsn avatar May 08 '17 17:05 gregsn

well. actually. now it's up. sorry

gregsn avatar May 08 '17 17:05 gregsn