Fix T67358: Compositor Disabled Node Config -> SegFault

The issue was caused by wrong conversion happening after some of the
proxies are removed. Easiest solution is to first remove proxies and
then add required converter operations.

Thanks Jeroen for the review!
This commit is contained in:
Sergey Sharybin 2020-06-19 14:49:36 +02:00
parent 28d77f9354
commit 16d09a5864
Notes: blender-bot 2023-09-13 08:48:34 +02:00
Referenced by issue #78099, Muting pair of specific Nodes in the Compositor results in crash
Referenced by issue #77348, Blender LTS: Maintenance Task 2.83
Referenced by issue #71787, Compositor Reroute and Switch nodes use unpredictible channels when toggling the Switch
Referenced by issue #67358, Compositor Disabled Node Config -> SegFault
1 changed files with 2 additions and 2 deletions

View File

@ -98,10 +98,10 @@ void NodeOperationBuilder::convertToOperations(ExecutionSystem *system)
add_operation_input_constants();
add_datatype_conversions();
resolve_proxies();
add_datatype_conversions();
determineResolutions();
/* surround complex ops with read/write buffer */