diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-08-12 22:33:35 +0200 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-08-12 22:33:35 +0200 |
commit | 2a02f44ad959ed3ac24a36688c74a1284c9a8a74 (patch) | |
tree | 6300f5d0dcd9b935b3ce4ec8f001f315ecd8a7a5 /thirdparty/thekla_atlas | |
parent | 15530ce2c51937da9050d6bf3dece34fc9e278cd (diff) |
Don't try to update the visual shader graph if it doesn't exist yet
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.
This PR simply changes the logic to not try to update the non-existent
graph.
This fixes #20322
Diffstat (limited to 'thirdparty/thekla_atlas')
0 files changed, 0 insertions, 0 deletions