butterfly icon indicating copy to clipboard operation
butterfly copied to clipboard

ControlDict.functions property ALWAYS return None

Open H-Tsubota opened this issue 5 years ago • 0 comments

I use butterfly (ver 0.0.05 (JAN_12_2019)) on Rhinoceros6 Grasshopper.

I found that ControlDict class's "functions" property always return None. It may be bug.

In butterfly/controlDict.py line 118-121, ControlDict.functions is defined as following.

@property
def functions(self):
    """Function objects."""
    self.values['functions']

But I think that it should be as following. (i.e. There must be "return")

@property
def functions(self):
    """Function objects."""
    return self.values['functions']

H-Tsubota avatar Feb 20 '20 15:02 H-Tsubota