Add a suffix when creating blend tree input or output sockets.
This commit is contained in:
		
							parent
							
								
									a2e8de0b70
								
							
						
					
					
						commit
						25776f2b2d
					
				| @ -339,7 +339,10 @@ void AnimGraphEditorRenderSidebar( | ||||
|       AnimGraphResource* current_graph_resource = | ||||
|           sEditorState.hierarchyStack[sEditorState.hierarchyStackIndex]; | ||||
|       current_graph_resource->RegisterBlendTreeOutputSocket<float>( | ||||
|           "GraphFloatOutput"); | ||||
|           "GraphFloatOutput" | ||||
|           + std::to_string(current_graph_resource->m_blend_tree_resource | ||||
|                                .GetGraphOutputNode() | ||||
|                                ->m_virtual_socket_accessor->m_inputs.size())); | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
| @ -375,7 +378,10 @@ void AnimGraphEditorRenderSidebar( | ||||
|       AnimGraphResource* current_graph_resource = | ||||
|           sEditorState.hierarchyStack[sEditorState.hierarchyStackIndex]; | ||||
|       current_graph_resource->RegisterBlendTreeInputSocket<float>( | ||||
|           "GraphFloatInput"); | ||||
|           "GraphFloatInput" | ||||
|           + std::to_string( | ||||
|               current_graph_resource->m_blend_tree_resource.GetGraphInputNode() | ||||
|                   ->m_virtual_socket_accessor->m_outputs.size())); | ||||
|     } | ||||
|   } | ||||
| } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Martin Felis
						Martin Felis