Page MenuHome

Add 'foreach_nodeclass' for geometry nodetrees
ClosedPublic

Authored by Philipp Oeser (lichtwerk) on Mar 9 2021, 6:35 PM.

Details

Summary

This also changes some of the more permissive poll functions on some
nodes back to being "shading-only" (these were made permissive in
rBb78f2675d7e5 for simulation nodes, but have not found their way into
geometry nodes yet).

ref b279fef85d1a / T86416 / D10671

Diff Detail

Repository
rB Blender
Branch
T86416_c (branched from master)
Build Status
Buildable 13375
Build 13375: arc lint + arc unit

Event Timeline

Philipp Oeser (lichtwerk) requested review of this revision.Mar 9 2021, 6:35 PM
Philipp Oeser (lichtwerk) created this revision.

I'm not exactly how it relates here, but there are other categories used in geometry nodes too, right? For utility nodes, color nodes, etc.

source/blender/nodes/geometry/node_geometry_tree.cc
77

Typo

Philipp Oeser (lichtwerk) planned changes to this revision.Mar 9 2021, 8:49 PM

I'm not exactly how it relates here, but there are other categories used in geometry nodes too, right? For utility nodes, color nodes, etc.

Yes, there are a couple more, but I have to tweak the node poll functions a bit for them first (otherwise it would be possible for example to pull in a [non-functional] Combine HSV node here)

  • add more NODE_CLASS types
  • change back some node poll functions to exclude them from geometry node trees (when used in Properties Editor)
Philipp Oeser (lichtwerk) marked an inline comment as done.Mar 9 2021, 9:50 PM
Philipp Oeser (lichtwerk) edited the summary of this revision. (Show Details)
This revision is now accepted and ready to land.Mar 10 2021, 3:13 PM