openvdb
openvdb copied to clipboard
Redundant call to render function in vdb viewer
https://github.com/dreamworksanimation/openvdb/blob/ffb02d5527379a08c07449e39d3324ac2e5eff28/openvdb/viewer/Viewer.cc#L1159
The mUpdates
variable is reset at every key callback. However, I believe mUpdates
should be reset only when key is pressed. Presently this variable is reset when the key is pressed as well as when it released. Due to this, the render
function is called four times instead of two.
Hello I would like to work on this. I am a little confused. What lines of code are you referring to and what is the key?
Please assign this issue to me. I have already created PR for this issue.
Can you please assign me this issue.