Page MenuHome

Remove redundant increment node tree current socket index
AcceptedPublic

Authored by Campbell Barton (campbellbarton) on Jun 13 2021, 7:33 AM.

Details

Summary

ntree->cur_index was being incremented twice in make_socket_interface.


As the value is only used once, I can't see any reason for incrementing this twice.

Diff Detail

Repository
rB Blender
Branch
TEMP-TOUBLE-INCREMENT (branched from master)
Build Status
Buildable 15149
Build 15149: arc lint + arc unit

Event Timeline

Campbell Barton (campbellbarton) requested review of this revision.Jun 13 2021, 7:33 AM
Campbell Barton (campbellbarton) created this revision.
Campbell Barton (campbellbarton) retitled this revision from Remove extra increment to the node sockets unique number to Remove redundant increment node tree current socket index.
This revision is now accepted and ready to land.Jun 14 2021, 10:18 AM