Trying to only store a single socket in AnimGraphConnection. Not sure yet where this leads.

This commit is contained in:
Martin Felis
2024-04-01 21:18:26 +02:00
parent 28eca48a61
commit 5d54b57a95
8 changed files with 92 additions and 49 deletions
+3
View File
@@ -891,6 +891,9 @@ TEST_CASE("ResourceSaveLoadMathGraphInputs", "[AnimGraphResource]") {
graph_resource_loaded.CreateBlendTreeInstance(blend_tree_node);
REQUIRE(blend_tree_node.GetInputSocket("GraphFloatInput") != nullptr);
Socket* input_socket =
blend_tree_node.GetInputSocket("GraphFloatInput");
REQUIRE(
blend_tree_node.GetInputPtr("GraphFloatInput")
== blend_tree_node.m_input_buffer);