Blender Git Commit Log
Git Commits -> Revision 8294452
Revision 8294452 by Sergey Sharybin (master) November 25, 2015, 08:46 (GMT) |
Fix T46782: Updating Shaders very slow with complex nodegraph The issue was caused by not really optimal graph traversal for gathering nodes dependencies which could have exponential complexity with a long tree branches connected with multiple connections between them. Now we optimize the depth traversal and perform early output if the node was already traversed. Please note that this adds some limitations to the use of SVM compiler's find_dependencies() in the cases when skip_node is not NULL and one wants to perform dependencies find sequentially with the same set. This doesn't happen in the code, but one should be aware of this. |
Commit Details:
Full Hash: 8294452b14fac54443f31fe11950d19370e27b43
Parent Commit: 443b159
Lines Changed: +7, -3