Refactored graph evaluations.
parent
5e7a48b2eb
commit
68331467f0
|
@ -488,7 +488,10 @@ void AnimGraphResource::connectRuntimeNodes(AnimGraph& instance) const {
|
||||||
//
|
//
|
||||||
// Wire up outputs to inputs.
|
// Wire up outputs to inputs.
|
||||||
//
|
//
|
||||||
if (target_socket->m_type != SocketType::SocketTypeAnimation) {
|
// Skip animation connections and connections to the output node as the
|
||||||
|
// pointers are already set up in AnimGraphResource::prepareGraphIOData().
|
||||||
|
if (target_socket->m_type != SocketType::SocketTypeAnimation
|
||||||
|
&& connection.target_node_index != 0) {
|
||||||
(*target_socket->m_reference.ptr_ptr) = source_socket->m_reference.ptr;
|
(*target_socket->m_reference.ptr_ptr) = source_socket->m_reference.ptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -121,8 +121,6 @@ TEST_CASE_METHOD(
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("AnimDataPlacementNew", "[AnimGraphEval]") {
|
TEST_CASE("AnimDataPlacementNew", "[AnimGraphEval]") {
|
||||||
std::cout << "blamp" << std::endl;
|
|
||||||
|
|
||||||
int anim_data_size = sizeof(AnimData);
|
int anim_data_size = sizeof(AnimData);
|
||||||
char* buf = new char[anim_data_size];
|
char* buf = new char[anim_data_size];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue