I have an OP Viewer COMP displaying a CHOP. I need to override the Viewer COMP’s drag/drop behavior. I also want to keep the “Interactive” enabled for the viewer, so I can see the highlight over which channel is selected. However, if “Interactive” is On, drag/drop callbacks don’t fire.
Attached is a gif demonstrating this:
For more context on what I’m trying to do: I have a CHOP with a ton of channels. I want a UI widget I can drag/drop from which shows only a few of those at a time. If I drag/drop from an OP viewer, the dropped reference points to the OP viewer, so if the OP viewer changes what’s displayed that reference breaks. The following gif demonstrates what I ultimately want to get working.
i think currently this is more of an RFE than a bug. With Interactive enabled, the Drag/Drop of the OP Viewer COMP has the context of the referenced OP itself, for example when referencing a Button, the Drag Drop behavior would have to be scripted with the Button and not the OP Viewer.
With Interactive disabled, the Drag/Drop scripts of the OP Viewer COMP are used but you loose any info on the displayed OP.
With this, in your example the CHOP would need to be equipped with Drag/Drop callbacks or ideally the OPViewer COMPs Drag/Drop would always be executed and contain extra information on the referenced operator.
The only current workaround I can think of is to not specify a standin Select or Null CHOP in the OPViewer but the actual CHOP that you are referencing from.