Skip to content
This repository has been archived by the owner on May 30, 2024. It is now read-only.

Commit

Permalink
add stubs for config file saving and loading
Browse files Browse the repository at this point in the history
Former-commit-id: 7362b8c
  • Loading branch information
you-win committed Mar 22, 2021
1 parent 43ef677 commit 391a4eb
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 6 deletions.
2 changes: 0 additions & 2 deletions screens/gui/BaseSidebar.gd
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,3 @@ func _on_reset_button_pressed() -> void:
###############################################################################
# Public functions #
###############################################################################


2 changes: 0 additions & 2 deletions screens/gui/DynamicBoneMappingSelector.gd
Original file line number Diff line number Diff line change
Expand Up @@ -225,5 +225,3 @@ static func _only_in_first_array(array_1: Array, array_2: Array) -> Array:
###############################################################################
# Public functions #
###############################################################################


2 changes: 0 additions & 2 deletions screens/gui/ModelPropertiesSelector.gd
Original file line number Diff line number Diff line change
Expand Up @@ -139,5 +139,3 @@ func _create_element(element_type: int, element_name: String, element_label_text
###############################################################################
# Public functions #
###############################################################################


11 changes: 11 additions & 0 deletions utils/AppManager.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ enum ModelType { GENERIC, VRM }

const DYNAMIC_PHYSICS_BONES: bool = false

# Face tracker
var is_face_tracker_running: bool
var face_tracker_pid: int

Expand Down Expand Up @@ -46,6 +47,16 @@ func _on_tree_exiting() -> void:
func set_file_to_load(file_path: String, file_type: int) -> void:
emit_signal("file_to_load_changed", file_path, file_type)

# TODO implement at some point
func load_or_create_model_config() -> Dictionary:
var result: Dictionary = {}

return result

# TODO implement at some point
func save_model_config(value: Dictionary) -> void:
pass

func push_log(message: String) -> void:
print(message)
emit_signal("console_log", message)

0 comments on commit 391a4eb

Please sign in to comment.