Closed GoogleCodeExporter closed 9 years ago
I'll look into this. As I recall when I wrote this, there were problems with
empty arrays, which led to me not populating empty nodes. But I can see how
this would break using common gates if one file had an empty node and expected
to have sub nodes off of it (which should be empty too), and it is somewhat
un-intuitive.
Original comment by Jacob.Frelinger@gmail.com
on 4 Apr 2013 at 10:34
I'll look into this. As I recall when I wrote this, there were problems with
empty arrays, which led to me not populating empty nodes. But I can see how
this would break using common gates if one file had an empty node and expected
to have sub nodes off of it (which should be empty too), and it is somewhat
un-intuitive.
Original comment by Jacob.Frelinger@gmail.com
on 4 Apr 2013 at 10:36
okay I've got a fix that needs testing for this that now adds an optional
argument for the init method quad gates of allow_empty,defaulting to true,
setting to False preserves the old behavior. It needs some more testing but
should be pushed in shortly.
Original comment by Jacob.Frelinger@gmail.com
on 1 May 2013 at 4:01
quad gate now has signature
def __init__(self, vert, channels, name=None, allow_empty=True)
allow_empty creates empty nodes, setting to false doesn't create those nodes
within the tree.
Original comment by Jacob.Frelinger@gmail.com
on 2 Oct 2013 at 9:08
Original comment by Jacob.Frelinger@gmail.com
on 2 Oct 2013 at 9:08
Original issue reported on code.google.com by
eyurt...@gmail.com
on 4 Apr 2013 at 9:10