-
Notifications
You must be signed in to change notification settings - Fork 119
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
The PICKER_DATA node which you can see in the pictures doesn´t return any error. However, the picker window is empty as it returns no data:

The problem seems to be two different issues:
- No token conversion is currently happening on the
path.existscheck.
https://github.com/mgear-dev/mgear4/blob/f6046994b586395c067a0dd3c6c13d31a240123f/release/scripts/mgear/anim_picker/picker_node.py#L264
As a quick test I used the protected method to add the conversion:
if not os.path.exists(file_handlers._convert_path_token(file_path)):
- The
@convert_path_tokendecorator does not seems to work if thefile_pathvariable is passed as a arg.
https://github.com/mgear-dev/mgear4/blob/f6046994b586395c067a0dd3c6c13d31a240123f/release/scripts/mgear/anim_picker/picker_node.py#L267
When I pass it as a kwarg it returns the expected result
return file_handlers.read_data_file(file_path=file_path)
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
5.0.7