feature/blend_tree_editor #1
@ -29,6 +29,7 @@ func edit_animation_root_node(blt_node:BLTAnimationNode):
|
|||||||
animation_graph_root_node = blt_node
|
animation_graph_root_node = blt_node
|
||||||
push_graph_stack(blt_node)
|
push_graph_stack(blt_node)
|
||||||
edit_graph(blt_node)
|
edit_graph(blt_node)
|
||||||
|
return
|
||||||
|
|
||||||
push_warning("Cannot edit node %s. Graph type %s not yet supported." % [blt_node.resource_name, blt_node.get_class()])
|
push_warning("Cannot edit node %s. Graph type %s not yet supported." % [blt_node.resource_name, blt_node.get_class()])
|
||||||
|
|
||||||
|
|||||||
@ -198,7 +198,8 @@ func _on_blend_tree_graph_edit_node_selected(graph_node: Node) -> void:
|
|||||||
|
|
||||||
|
|
||||||
func _on_blend_tree_graph_edit_scroll_offset_changed(offset: Vector2) -> void:
|
func _on_blend_tree_graph_edit_scroll_offset_changed(offset: Vector2) -> void:
|
||||||
blend_tree.graph_offset = offset
|
if is_instance_valid(blend_tree):
|
||||||
|
blend_tree.graph_offset = offset
|
||||||
|
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user