Page MenuHome

Add simulation node tree type
ClosedPublic

Authored by Jacques Lucke (JacquesLucke) on Mar 31 2020, 12:27 PM.

Details

Summary

This implements a new builtin node tree type called SimulationNodeTree.
It is not yet embedded in the Simulation data block.

This is part of T73324.

The WITH_NEW_SIMULATION_TYPE cmake option is used to control whether Simulation Editor is shown in the editors menu.
Disabling the rna code with this option was a bit tricky, because the node tree type stores a reference to the rna type.
I could do the #ifdef WITH_NEW_SIMULATION_TYPE everywhere, but I'm not sure if it is worth the effort.

Currently there is only the group node, which is unusable, because there are no other nodes.
I'll submit those for review separately.

Diff Detail

Repository
rB Blender
Branch
simulation-tree-arc (branched from master)
Build Status
Buildable 7399
Build 7399: arc lint + arc unit

Event Timeline

Looks good, except you need to add license headers to new files.

This revision is now accepted and ready to land.Mar 31 2020, 10:01 PM

Not sure if this fixes the diff...

  • update for latest master
  • add missing enum item
  • Merge branch 'simulation-data-block' into simulation-tree-arc