<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Mar 15, 2016 at 1:52 AM, Ralph Versteegen <span dir="ltr"><<a href="mailto:teeemcee@gmail.com" target="_blank">teeemcee@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 15 March 2016 at 03:30, James Paige <<a href="mailto:Bob@hamsterrepublic.com">Bob@hamsterrepublic.com</a>> wrote:<br>
><br>
><br>
> On Sat, Mar 12, 2016 at 8:05 PM, <<a href="mailto:subversion@hamsterrepublic.com">subversion@hamsterrepublic.com</a>> wrote:<br>
>><br>
>> teeemcee<br>
>> 2016-03-12 20:05:27 -0800 (Sat, 12 Mar 2016)<br>
>> 1750<br>
>> Fix Select slices updating child visibility when drawing instead of<br>
>> refreshing<br>
>><br>
>> This change affects when a script will see up-to-date visibility of select<br>
>> child slices. You still need to do something to cause the slice to be<br>
>> refreshed.<br>
>> This also affects "slice at pixel" and "find colliding slice" called with<br>
>> visibleonly=true.<br>
>><br>
>> ChildRefresh is now called even on non-visible slices by DrawSlice, but it<br>
>> takes an additional visibleonly argument to skip refreshing the size and<br>
>> position in that case. This is both to avoid unneeded processing for<br>
>> hidden<br>
>> slices and to exactly match the previous behaviour for non-select slices<br>
>> (although I really hope noone is relying on the size of hidden slices not<br>
>> being<br>
>> updated!)<br>
><br>
><br>
> I know I am not worried. All of my invisible-slice-voodoo is using container<br>
> slices, not selects.<br>
<br>
</span>It took me a moment to work out what you mean, but you must mean<br>
storing data as the width and height of a slice. I actually had not<br>
thought of that, but it is a very good reason why it wouldn't have<br>
been safe to start refreshing hidden slices that previously weren't. I<br>
see the slice system as a whole as highly delicate, where changes are<br>
likely to break backcompat, unfortunately.<br>
<span class=""></span><br></blockquote></div><br></div><div class="gmail_extra">Yeah, I phrased that really badly :)<br><br></div><div class="gmail_extra">I use width and height as data for hidden slices all the time, but never in situations where those heights would be auto-updated if the slice was visible.The hidden data slice is never set to fill, and it is only ever parented to a rect, sprite, or container, not to any of the child-shaping slice types.<br></div><div class="gmail_extra"><br></div></div>