I have a simple function that I'd like to call from a driver Python expression.
I've run the script to define the function, but it doesn't seem to be accessible from the driver expression.
Error in Driver: The following Python expression failed:
'myDriverFunction()'
Traceback (most recent call last):
File "<bpy driver>", line 1, in <module>
NameError: name 'myDriverFunction' is not defined
Is it possible to modify the namespace in which drivers execute?