In case script doesnt work initially

Forum Archive In case script doesnt work initially

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #19067
    Pascal Schovanez
    Participant

      Just wanted to post this here, because it happened to me.

      If your following along the tutorial at the end and are wondering why your UI doesnt show up, after making the custom property.
      This is likely because the function needed to actually tell blender to use/register the UI to the rig is missing (at least it was for me).
      You can simply add it as I have done it below.

      TLDR: Add this at the end of the script file in text editor:

      (make sure the ‘if’ doesnt have any spaces before it after pasting)

      if __name__ == "__main__":
          register()

      #90776
      Wayne Dixon
      Participant

        Thanks for the reminder, Pascal.

        I still need to update those download files.

        #90777
        Chirag Motwani
        Participant

          Thanks for this comment, Pascal!

          Just wanted to update the position of ”

          if __name__ == “__main__”:
              register()

          #90778
          Pascal Schovanez
          Participant

            Oops, didnt see that typo. Thanks for the clarification.
            Updated the OP as well so people dont have too scroll into the comments to find it.

          Viewing 4 posts - 1 through 4 (of 4 total)
          • The topic ‘In case script doesnt work initially’ is closed to new replies.