Skip to content
Snippets Groups Projects
  • Alexander Gavrilov's avatar
    e4d9cf84
    Rigify: clear driver errors after generation. · e4d9cf84
    Alexander Gavrilov authored
    In the process of re-generating a rig, drivers that reference it
    from other objects can temporarily become invalid. This sets an
    error flag in the driver, stopping its evaluation, so the error
    doesn't clear out even when it becomes valid again.
    
    To fix stuck drivers, loop over all objects in the file after
    generation and refresh their drivers by fake modification.
    e4d9cf84
    History
    Rigify: clear driver errors after generation.
    Alexander Gavrilov authored
    In the process of re-generating a rig, drivers that reference it
    from other objects can temporarily become invalid. This sets an
    error flag in the driver, stopping its evaluation, so the error
    doesn't clear out even when it becomes valid again.
    
    To fix stuck drivers, loop over all objects in the file after
    generation and refresh their drivers by fake modification.