Minor editor fixes.

This commit is contained in:
Martin Felis 2026-02-19 19:03:56 +01:00
parent 06198d595f
commit d01c6fb474
2 changed files with 3 additions and 1 deletions

View File

@ -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()])

View File

@ -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
# #