external function support in fill

This commit is contained in:
Emmanuel Garette 2021-03-27 07:44:42 +01:00
parent 2b2cc4cf20
commit db69df3b86

View file

@ -47,6 +47,7 @@ class FillAnnotator(TargetAnnotator, ParamAnnotator):
not hasattr(self.objectspace.space.constraints, 'fill'):
return
self.functions = dir(load_modules(eosfunc_file))
self.functions.extend(self.objectspace.rougailconfig['internal_functions'])
self.target_is_uniq = True
self.only_variable = True
self.allow_function = False