NatronGitHub / Natron

Open-source video compositing software. Node-graph based. Similar in functionalities to Adobe After Effects and Nuke by The Foundry.
http://NatronGitHub.github.io
GNU General Public License v2.0
4.56k stars 333 forks source link

Fix freeze in Tracker when not in viewer path #823

Closed YakoYakoYokuYoku closed 2 years ago

YakoYakoYokuYoku commented 2 years ago

PR Description

What type of PR is this? (Check one of the boxes below)

What does this pull request do?

When a tracker node outside of the viewer has one of its button clicked Natron might freeze due to some knobs request a viewport that the node doesn't have because its not connected to any. This PR fixes this by checking if an overlay is available and proceed with the knobs, ignores the action otherwise.

Show a few screenshots (if this is a visual change)

N/A.

Have you tested your changes (if applicable)? If so, how?

By adding a tracker node outside of a viewer path and

Futher details of this pull request

Fixes #299.