Minor cleanup.

This commit is contained in:
Martin Felis
2025-04-11 12:22:03 +02:00
parent c173707a18
commit 3b5537fc9d
4 changed files with 22 additions and 30 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ struct AnimGraphBlendTree : public AnimNode {
*
* @tparam T Type of the Socket.
* @param name Name of the Socket.
* @param value_ptr Pointer where the graph output output is written to at the end of evaluation.
* @param value_ptr Pointer where the graph output is written to at the end of evaluation.
*/
template <typename T>
void SetOutput(const char* name, T* value_ptr) {
-5
View File
@@ -380,11 +380,6 @@ struct NodeDescriptorBase {
*socket->m_reference.ptr_ptr = value_ptr;
}
void SetOutputUnchecked(const char* name, void* value_ptr) {
Socket* socket = FindSocket(name, m_outputs);
*socket->m_reference.ptr_ptr = value_ptr;
}
Socket* GetOutputSocket(const char* name) const {
return FindSocket(name, m_outputs);
}