Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VectorDataPlugValueWidget : Single value drop
Previously, we were letting `PlugValueWidget` attempt to convert dropped data into something the target plug can support. When dropping a single value such as `IntData` onto a `VectorDataPlugValueWidget`, this meant converting `IntData` to `IntVectorData`. `*VectorData` supports construction from an integer value, in which case it creates n elements in the vector. This commit instead converts a non-sequence value into a single item sequence holding that value to use as drop data.
- Loading branch information