Skip to content
Snippets Groups Projects
  • Alexander Gavrilov's avatar
    ecf30de4
    Rigify: support executing an arbitrary script after generation. · ecf30de4
    Alexander Gavrilov authored
    Just in case the user wants to apply some custom changes to the
    generated rig, allow executing a text datablock as a python script
    after generation completes.
    
    The script is executed with the generated rig active and in object
    mode. When executed by rigify, the generator instance is available
    via `rigify.get_generator()`. Outside of Rigify generation the return
    value is None.
    ecf30de4
    History
    Rigify: support executing an arbitrary script after generation.
    Alexander Gavrilov authored
    Just in case the user wants to apply some custom changes to the
    generated rig, allow executing a text datablock as a python script
    after generation completes.
    
    The script is executed with the generated rig active and in object
    mode. When executed by rigify, the generator instance is available
    via `rigify.get_generator()`. Outside of Rigify generation the return
    value is None.