tkeskita / BVtkNodes

Create and execute VTK pipelines in Blender Node Editor
GNU General Public License v3.0
117 stars 20 forks source link

Append/Caching Bug #56

Closed thomgrand closed 3 years ago

thomgrand commented 3 years ago

This PR aims to fix the issue in #55, where creating diamond-like connection pattern results in the Cache creating multiple instances of the same filter, but only applying the input to one of them. This fix introduces a new update ID that only clears the cache for each object if the update ID does not match the last update ID. I'm not sure if this conflicts with #46

Minor fixes:

tkeskita commented 3 years ago

Thanks for the workaround and fixes! Seems to be a manifestation of one of the weaknesses of the current update process. Updating will be changed in #46 later on, meanwhile this seems good!