[2021.4 - 589] An IOBox of type Spread<MutableArray<Byte>> is not drawn properly in patch

bonsoir,

if you have a Spread<MutableArray<Byte>> and create an IOBox from it, it’s not drawn properly :

mutablearraybyte

if you connect a GetSlice to this IOBox you can correctly get the slices, it looks like they’re just not rendered.

here’s a repro snippet from above :

<?xml version="1.0" encoding="utf-16"?>
<Patch xmlns:p="property" Id="IZNR2QRCnsFNvUNJqc4yFE" MergeId="300824">
  <Canvas Id="SAdC3YPkJKsMB332qldewe" MergeId="300825" CanvasType="Group">
    <Node Bounds="1146,767,126,106" Id="DvQi8zgnWWzQa5SNdwUhPN">
      <p:NodeReference LastCategoryFullName="Primitive" LastSymbolSource="VL.CoreLib.dll">
        <Choice Kind="StatefulRegion" Name="Region (Stateful)" Fixed="true" />
        <Choice Kind="ApplicationStatefulRegion" Name="Repeat" />
        <FullNameCategoryReference ID="Primitive" />
      </p:NodeReference>
      <Pin Id="KJPhEJPz64eO3Z9yziLnnb" Name="Iteration Count" Kind="InputPin" />
      <Pin Id="PNiQXmqrvqeNXMF80brb9y" Name="Break" Kind="OutputPin" />
      <Patch Id="C2UwfwAEzP4OYGENBHrGJG" ManuallySortedPins="true">
        <Patch Id="EY8J1Uq0gOcPJK1geL4M9V" Name="Create" ManuallySortedPins="true" />
        <Patch Id="SmGZ7wACnzdMJJqrhkRwuv" Name="Update" ManuallySortedPins="true" />
        <Patch Id="Bpua1kQsYrdNdCoUI4f4rW" Name="Dispose" ManuallySortedPins="true" />
        <Slot Id="RdFt9o0gEZiMMBzUv1eGAW" Name="Result">
          <p:TypeAnnotation p:Type="TypeReference">
            <Choice Kind="TypeFlag" Name="MutableArray" />
            <p:TypeArguments>
              <TypeReference>
                <Choice Kind="TypeFlag" Name="Byte" />
              </TypeReference>
            </p:TypeArguments>
          </p:TypeAnnotation>
        </Slot>
        <Node Bounds="1196,790,64,26" Id="PRe878NTHTgNzwtbQISHRE">
          <p:NodeReference LastCategoryFullName="Collections.Mutable.MutableArray" LastSymbolSource="VL.Collections.vl">
            <Choice Kind="NodeFlag" Name="Node" Fixed="true" />
            <CategoryReference Kind="ArrayType" Name="MutableArray" />
            <Choice Kind="OperationCallFlag" Name="Create" />
          </p:NodeReference>
          <Pin Id="KMKJq9273zlOUC2AdVxv3r" Name="Length" Kind="InputPin" DefaultValue="45" />
          <Pin Id="Ki8aKGmvddsNwWaDxXhbAT" Name="Result" Kind="StateOutputPin" />
        </Node>
        <Pad Id="VI8BmgtTI9sLTr1mtN5fVv" SlotId="RdFt9o0gEZiMMBzUv1eGAW" Bounds="1198,845" />
      </Patch>
      <ControlPoint Id="ImWJIMzrM6zLo1TPH6SUbq" Bounds="1198,867" Alignment="Bottom" />
    </Node>
    <Pad Id="C1naIZPaUxWOsEy1VkNgWp" Comment="Iteration Count" Bounds="1148,742,35,15" ShowValueBox="true" isIOBox="true" Value="4">
      <p:TypeAnnotation LastCategoryFullName="Primitive" LastSymbolSource="CoreLibBasics.vl">
        <Choice Kind="TypeFlag" Name="Integer32" />
      </p:TypeAnnotation>
    </Pad>
    <Pad Id="Ox2DNMO1L8aPtpwQT2P3Qf" Comment="" Bounds="1198,897,35,34" ShowValueBox="true" isIOBox="true">
      <p:Value>
        <Item></Item>
      </p:Value>
    </Pad>
  </Canvas>
  <Link Id="EiavLErwloTPb7FYI1wWRC" Ids="Ki8aKGmvddsNwWaDxXhbAT,VI8BmgtTI9sLTr1mtN5fVv" />
  <Link Id="DD8j5DdffGmNUK5DnwF3xo" Ids="C1naIZPaUxWOsEy1VkNgWp,KJPhEJPz64eO3Z9yziLnnb" />
  <Link Id="DzbS5dLenR1OkaDLNxP8RL" Ids="VI8BmgtTI9sLTr1mtN5fVv,ImWJIMzrM6zLo1TPH6SUbq" />
  <Link Id="MsrBSONxRGKOJbpv7MvMfs" Ids="ImWJIMzrM6zLo1TPH6SUbq,Ox2DNMO1L8aPtpwQT2P3Qf" />
</Patch>

cheeeeeerz

seb

Thanks. Fixed in upcoming.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.