Open Mai-Lapyst opened 2 years ago
Looks like due to how inputs are implemented it is actually not possible to plug a debug view on them. Their output is only valid for a very short time during execution of the graph but gets unbound after that (and there is no safe way to "not unbind" them), so when the preview tries to update the data is no longer available.
I'll push a fix for the editor not to crash, but will look for a way to make this case work properly later.
It should no longer crash in master
and godot3.x
branches.
Can confirm that the current godot3.x branch dosn't produce a crash anymore
When connecting an SDFPreview directly to an input node when editing an generator graph, godot crashes with following trace:
If however, you either connect the input only to the preview, or the input does not effect the output node, the editor does not crash.
Steps to reproduce:
Godot version: 3.x; commit cec7fc4ffeba4de992436ed9c7f8fe428c22a6b1 GodotVoxel commit: 07c756dbb2909c9a7db39cfd64a38f8df1cb54e2