I can confirm 23.4.1 broke BP behavior with multiple descriptors. This completely broke my plugin. It seems even defining synchronousExecution: true
performs commands defined in a single descriptors array asynchronously. Looks like some descriptors defined at the end finish before the ones defined at the beginning.
I have a button with basically 3 descriptors in BP:
[
{
"_obj": "select",
"_target": [
{
"_ref": "layer",
"_id": 4
}
],
"makeVisible": false
},
{
"_obj": "make",
"new": {
"_class": "channel"
},
"at": {
"_ref": "channel",
"_enum": "channel",
"_value": "mask"
},
"using": {
"_enum": "userMaskEnabled",
"_value": "revealAll"
}
},
{
"_obj": "select",
"_target": [
{
"_ref": "layer",
"_id": 4
}
],
"makeVisible": false
}
]
And it’s behavior now is completely random. Most of the time I get:
The command “Make” is not currently available.
But sometimes I get mask created. All I need to do is just keep clicking the button (maybe 1/20 times it works, maybe even less)… So in this case it looks like it tries to create a mask while layer is still not selected
IMO it’s another new bug
Ping @kerrishotts
Same happens on 23.5.0