Page MenuHome

Fix T84713: Implement the update function for geometry nodes
ClosedPublic

Authored by Wannes Malfait (Wannes) on Jan 15 2021, 7:03 PM.

Details

Summary

This is needed so that the reroutes get updated to the correct type.
Based on the same code in the shader and compositor node trees.

Before:

After:

Diff Detail

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

Event Timeline

Wannes Malfait (Wannes) requested review of this revision.Jan 15 2021, 7:03 PM
Wannes Malfait (Wannes) retitled this revision from Implement the update function for geometry nodes (Fixes: T84713). This is needed so that the reroutes get updated to the correct type. Based on the same code in the shader and compositor node trees. to Implement the update function for geometry nodes (fixes T84713).Jan 15 2021, 7:04 PM
Wannes Malfait (Wannes) edited the summary of this revision. (Show Details)
Wannes Malfait (Wannes) retitled this revision from Implement the update function for geometry nodes (fixes T84713) to Fix T84713: Implement the update function for geometry nodes .
Wannes Malfait (Wannes) edited the summary of this revision. (Show Details)Jan 15 2021, 7:21 PM
Hans Goudey (HooglyBoogly) requested changes to this revision.Jan 15 2021, 8:25 PM

Thanks for the patch! Looks good to me, just a few little tweaks.

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

Usually local includes go at the bottom of the list, so below "RNA_access.h"

68

geometry_node_tree_update would be more consistent with the other name in this file.

This revision now requires changes to proceed.Jan 15 2021, 8:25 PM
Wannes Malfait (Wannes) retitled this revision from Fix T84713: Implement the update function for geometry nodes to Fix T84713: Implement the update function for geometry nodes.

Rename function and reorder import for consistency with the rest of the file.

This revision was not accepted when it landed; it landed in state Needs Review.Jan 16 2021, 8:11 PM
This revision was automatically updated to reflect the committed changes.