external function support in fill

This commit is contained in:
Emmanuel Garette 2021-03-27 07:44:42 +01:00
parent 2b2cc4cf20
commit db69df3b86
1 changed files with 1 additions and 0 deletions

View File

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