|
@ -8,9 +8,6 @@ extends Resource |
|
|
@export var parent_node_path: NodePath |
|
|
@export var parent_node_path: NodePath |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
func _load_data(_window: Window) -> void: |
|
|
|
|
|
pass |
|
|
|
|
|
|
|
|
|
|
|
func _save_data(node: Node3D) -> void: |
|
|
func _save_data(node: Node3D) -> void: |
|
|
transform = node.transform |
|
|
transform = node.transform |
|
|
node_path = node.get_path() |
|
|
node_path = node.get_path() |
|
@ -18,3 +15,6 @@ func _save_data(node: Node3D) -> void: |
|
|
var parent_node: Node3D = node.get_parent() |
|
|
var parent_node: Node3D = node.get_parent() |
|
|
if parent_node != null: |
|
|
if parent_node != null: |
|
|
parent_node_path = parent_node.get_path() |
|
|
parent_node_path = parent_node.get_path() |
|
|
|
|
|
|
|
|
|
|
|
func _load_data(_window: Window) -> void: |
|
|
|
|
|
pass |