Created by: zeffii
This makes it possible to configure a FilePath Node as a function of the kind of FilePath socket with which it is linked.
- this introduces a new property (StringProperty) of the
SvFilePathSocket
calledfilepath_node_mode
, the FilePath Node will look at this property use the mode therein to configure theSvFilePathFinder
Operator.
SvFilePathFinder
Operator can behave according to the kind of files it's used for.
i'm not sure this approach is sufficient. While this makes some functionality easier, it may interfere with flexibility in its current state. It may still be useful to add a features to draw_buttons
function of the SvFilePathFinder Operator, which can let the user reset the mode - as a fail safe incase the automatic mode resulted in something undesirable.