Blender Git Loki

Git Commits -> Revision 07521b1

Revision 07521b1 by Sergey Sharybin (master)
February 5, 2021, 16:13 (GMT)
Depsgraph: Remove no-op evaluation function

Make the SHADING_PARAMETERS operation on node tree a real no-op.
The function used as a callback was only doing a debug print.

The issue with this function was that an original ID was passed
as an argument. This is a violation of design, and if anything it
should be left up to the implementation to check whether depsgraph
is active.

There are no functional changes for users in the interface. The
only difference is that the debug print will no longer happen.

Commit Details:

Full Hash: 07521b16270e5881d09216ff0606c035b1440fd0
Parent Commit: b4dca4e
Lines Changed: +1, -18

2 Modified Paths:

/source/blender/blenkernel/intern/node.cc (+0, -7) (Diff)
/source/blender/depsgraph/intern/builder/deg_builder_nodes.cc (+1, -11) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021