You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current_dialogue_sequence_label.tooltip_text="Edit the Dialogue Sequence"
34
+
no_dialogue_sequence_warning_button.tooltip_text="No Dialogue Sequence opened. Please create or open one via the Parley file menu in the top left-hand side."
push_warning(ParleyUtils.log.warn_msg("Unable to add Node of type %s to the Dialogue Sequence. Dialogue Sequence is not currently loaded into Parley. Please open one via the file menu in the top left-hand side."%ParleyDialogueSequenceAst.get_type_name(type)))
# that no weirdness is going to happen. For example
304
309
# move the group nodes after a save when refresh isn't present
305
310
awaitrefresh()
306
311
307
312
308
-
func_save_dialogue() ->void:
313
+
func_save_dialogue() ->int:
314
+
ifnotdialogue_astornotdialogue_ast.resource_path:
315
+
push_error(ParleyUtils.log.error_msg("Unable to save Dialogue Sequence. Dialogue Sequence does not exist in the file system, please create one using the file menu in the top left-hand side"))
316
+
returnERR_DOES_NOT_EXIST
309
317
varok: int=ResourceSaver.save(dialogue_ast)
310
318
ifok!=OK:
311
319
push_warning(ParleyUtils.log.warn_msg("Error saving the Dialogue AST: %d"% [ok]))
312
-
return
320
+
returnok
313
321
# This is needed to correctly reload upon file saves
0 commit comments