Skip to content

Commit

Permalink
Add Documentation about identifying Transition Animation.
Browse files Browse the repository at this point in the history
  • Loading branch information
CakeVR committed Apr 10, 2024
1 parent 83875fc commit 949a567
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions addons/dialogic/Modules/Character/event_character.gd
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,10 @@ func _execute() -> void:

# TODO: Streamline the process to identify whether an animation
# is an action or transition (in/out) animation.
#
# If this is a transition animation, we want to check if its
# targeting the same portrait scene, then discard the
# animation.
if animation_name.contains(" in") or animation_name.contains(" out"):
var current_portrait: DialogicPortrait = dialogic.Portraits.get_character_portrait(character)
var current_portrait_name := current_portrait.portrait
Expand Down

0 comments on commit 949a567

Please sign in to comment.