Object Hide Render Clear All
Un-hide everything for render, in one breath
- BPY_OBJ
- BPY_OBJ
Object_HideRenderClearAll clears the render-hide flag on every object in the scene. In Blender, any object can be marked "hidden from render" - it still exists and shows in the viewport, but the renderer skips it. This node wipes all of those flags at once, so everything becomes renderable again. It wraps bpy.ops.object.hide_render_clear_all, and it's the "let's make sure nothing is accidentally excluded" safety net.
When you'd reach for it
It's a defensive node, and that's genuinely its value. In the avatar pipeline you may have marked objects render-hidden during development - to keep scratch geometry out of a test render, to slim down an export. The danger is leaving one of those flags set when you ship the final GLB/GLTF out of Avatar Main Output, and discovering your avatar is missing a mouth because it was render-hidden three steps ago and nobody remembered. Dropping this node near the end of the graph is the graph equivalent of checking "are we sure everything is visible?" before you render.
How it works
The simplest node in this family: a bare wrapper over the hide_render_clear_all operator, and it takes no extra parameters at all. It makes your BPY_OBJ (or the active object, if you leave the input empty) active and runs the operator, which iterates the scene and clears render-hide flags everywhere. Inputs and outputs:
BPY_OBJ(optional) - mostly irrelevant to the effect, since the operator is scene-wide; include it to anchor the node in your chain.- Output:
BPY_OBJ, the same object, passed through.
That's the whole API. No knobs, no mode, no index - because "clear all" means exactly that.
Where it fits
Use it right before your final output or render step, after all the hide/show drama of the pipeline is done. It plays nicely with the rest of the hide family: Object_HideCollection hides collections from the viewport, Object_HideViewClear un-hides viewport-hidden objects, and this node handles the render-side flag. If you're assembling a graph where visibility is being toggled for performance or composition, the render-clear node is the guard that makes sure the toggle didn't leak into your export.
Install and gotchas
Standard pack install:
cd ComfyUI/custom_nodes
git clone https://github.com/avatechai/avatar-graph-comfyui.git
cd avatar-graph-comfyui && python -m pip install -r requirements.txt
or ComfyUI Manager → "Avatar Graph". House rules: Python 3.10 for bpy==3.6.0, ~2.5GB SAM checkpoint + mediapipe models on first load, scene resets every run, live preview needs --enable-cors-header.
Worth being honest about the limits: this clears render-hide flags, not viewport hides, and it operates on the current scene - which, thanks to the per-run factory reset, is rebuilt fresh anyway. Its real job is making sure that within a run, nothing you hid for tidiness silently disappears from the render. When your avatar exports a missing layer and you've ruled out everything else, this node is the "just in case" that usually finds the culprit was a stray hide flag.
Inputs (1)
| Name | Type | Default | Description |
|---|---|---|---|
| BPY_OBJopt | BPY_OBJ | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| BPY_OBJ | BPY_OBJ | — |