Skip to content
Snippets Groups Projects

Ra ai prompts

Merged Erix requested to merge Engineerix/fc-pregmod-contrib:Ra-Ai-Prompts into pregmod-master

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

Merged by PregmodderPregmodder 1 year ago (Mar 4, 2024 1:31am UTC)

Loading

Pipeline #76955 passed

Pipeline passed for f1258f11 on pregmod-master

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Erix marked this merge request as draft

    marked this merge request as draft

  • Erix added 1 commit

    added 1 commit

    • 659d99bb - restructured OpenPose DefaultRules processor

    Compare with previous version

  • Author Contributor

    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 Erix
  • Erix marked this merge request as ready

    marked this merge request as ready

  • merged

  • Pregmodder mentioned in commit f1258f11

    mentioned in commit f1258f11

Please register or sign in to reply
Loading