Details
Details
- Reviewers
Jeroen Bakker (jbakker) - Maniphest Tasks
- T84815: Missing preview image in compositing file output node
Diff Detail
Diff Detail
- Repository
- rB Blender
Event Timeline
| source/blender/compositor/nodes/COM_OutputFileNode.cc | ||
|---|---|---|
| 41 | This line does nothing? | |
Comment Actions
Hi Jeroen, I've updated the diff here. I'm unsure if this is the best fix still, in the case that a new input is planned to be previewed and isn't set to the first position. Thanks in advance!
Comment Actions
- Connect to the first connected (linked) input. If no link exist do not add a preview. For readability you can add a method add_preview_to_first_linked_input.
- Remove the previewAdded from the single layer format. No need to add two previews.
- Check if you have clang installed and run make format in blender source folder. Run this to ensure our code formatting rules.
Comment Actions
Hi Jeroen, I'll get back to this as soon as I get the time.
I would like to clarify something. With the method, would adding it inside COM_CompositorContext.h be the best location or just keep everything inside COM_OutputFileNode.cc? I'm hesitant to change several files around.
Thank you for being patient.