Ra ai prompts
Hello again, today I bring my take on allowing the RulesAssistant to control OpenPose (#4996). The main problem encountered with this is when removing child elements the label stays behind. Because I wanted to match the RA option to the customize slave interaction, I created two new element types (ListSelectorLabeless and StringEditorLabeless). This is entirely unnecessary if there is a way to remove the labels that I've just skipped over.
Merge request reports
Activity
added 1 commit
- 659d99bb - restructured OpenPose DefaultRules processor
I didn't love my first implementation, so I reworked the pose processing. As mentioned (#4998) OpenPose cannot load custom pose data. As the error message alludes, (URL scheme "file" is not supported), the fetch method is unable to access local files when run locally. It's out of my scope to change how that data is processed, so I just reused the old fetch method for now.
If the type isn't selected, the setting is ignored.
If a type is selected but the given name/filename is null the slave's aiPose will be nullified.
If the type is JSON/PNG and the given filename is an empty string ('') a message describing the error is shown and the slave's aiPose will be nullified.
If the type is JSON/PNG and the given filename resolves, the filename is set otherwise the slave's aiPose will be nullified and a message will be shown detailing the error.
Edited by Erixmentioned in commit f1258f11