Object Reset Override Library
ComfyUI Node Guide
- BPY_OBJ
- BPY_OBJ
This is one of the deepest-cut nodes in Avatar Graph, Avatech's pack for rigging character art into real-time interactive avatars inside ComfyUI. Most people browsing this pack's node list will never touch it, and honestly, that's fine - it's here because Avatar Graph auto-generates a ComfyUI node for essentially every Blender operator (the README even documents the script, generate_blender_types.py, that does this), and this one happens to belong to Blender's library-override system rather than anything specific to avatar rigging.
It wraps bpy.ops.object.reset_override_library directly. To understand what that does you need a bit of Blender context: Blender has a feature called "library overrides," which lets you link an asset from an external .blend file (say, a base rig template) and then locally tweak specific properties on your copy without breaking the link back to the source file. If you've made local edits to an override and want to discard them - snapping the object back to exactly match what the linked library defines - that's what "reset override library" does.
In the context of this pack, that matters if Avatech's own asset pipeline uses linked library templates internally (their base avatar rigs, for instance) and you've locally overridden something you want to undo. For a typical beginner workflow - segment an image, build mesh layers, wire up shape keys - you're unlikely to be touching linked libraries at all, so this node mostly exists as pipeline plumbing rather than something you'll reach for in a normal rigging session.
There's really only one input to know:
- BPY_OBJ - the object whose library override you want reset. It only does something meaningful if this object actually is a library override to begin with; run it on a normal, non-linked object and there's nothing for it to reset.
Output is the same BPY_OBJ, passed through after the reset.
Installing it: this node comes bundled with the entire Avatar Graph pack - there's no way to install just this one. The simple path is ComfyUI Manager, search "Avatar Graph" or the repo name avatar-graph-comfyui. Manual install: cd ComfyUI/custom_nodes, git clone https://github.com/avatechai/avatar-graph-comfyui, cd into the folder and run pip install -r requirements.txt, then restart ComfyUI.
The real trap during install: Avatar Graph needs Python 3.10.x, no substitutes, because its bpy dependency - Blender's Python API packaged as a standalone library - only publishes wheels for that specific version. If your ComfyUI environment is on anything newer (very likely if you set it up recently), the install fails rather than degrading gracefully. The README's own suggestion is to build a dedicated environment for it: conda create --name comfyui python=3.10, conda activate comfyui, then install ComfyUI's requirements before this pack's. If you want the live avatar preview inside Avatech's own web editor, also launch ComfyUI with --enable-cors-header (Mac adds --force-fp16); without it everything still computes, you just export .glb/.gltf and view the result in Blender or elsewhere instead of getting the live in-browser update.
One honest caveat since this node touches such a specific corner of Blender's data system: the README is upfront that the whole pack is still under active development, so don't be surprised if niche operators like this one see their behavior shift between updates.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| BPY_OBJopt | BPY_OBJ | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BPY_OBJ | BPY_OBJ | — |