Page MenuHome

Replace `#ifdef COM_Debug` with constexpr function.
Confirmed, NormalPublicTO DO

Description

Currently this part of the compositor is only compiled when COM_Debug is defined. Often when we want to use it we first need to update the code to match the latest changes. When using a constexpr function this could be checked when making changes so it keeps up to date.

Goal:

  • Remove COM_Debug from COM_defines.h.
  • Add static constexr bool COM_export_graphviz() to COM_Debug.cc.

Event Timeline

Jeroen Bakker (jbakker) changed the task status from Needs Triage to Confirmed.Tue, Mar 30, 9:25 AM
Jeroen Bakker (jbakker) created this task.
Jeroen Bakker (jbakker) changed the subtype of this task from "Report" to "To Do".

Hi! I managed to build Blender and I would love to contribute in any way possible. This seems like something I could handle and I would like to give it a go.
<edit> sorry- I misunderstood scope and will try to find another contribution.