01-23-2015 02:33 AM
Came across it while debugging my vision application, where I need to display different representations of various bounding rectangles cropped from a large image. So I created a TypeDef with an array of ImageDisplays along with the bounding rectangle coordinates.
While using it I noticed that the palette update (runtime menu on inmage display->palette) within the image display array didn't work. When explicitly setting the palette via property node on the array element, everything is fine. Also, when disconnecting the cluster containing the image display array and the bounding rectangle array from said TypeDef, the paletteupdate via runtime menu works again. Now, the TypeDef is non-strict. So I wonder this is intended behaviour or a bug?
I've attached an example showing the different behaviour of with and without TypeDef.
01-29-2015 07:02 AM
Hello,
I would say this is expected behaviour.
01-29-2015 07:04 AM
Is it possible to explain a bit more about why your are of this opinion? With a strict TypeDef I'd agree, but it's a non-strict one here. Therefore I'm not aware of a reason why this should be intended.