material-maker/addons/material_maker/nodes/debug/debug_popup.gd
Hugo Locurcio fc3173b9b4
Remove trailing whitespace, add newlines at end of files
This results in less merge conflicts when using the
Text Editor > Files > Trim Trailing Whitespace editor setting.

.ptex, .mmg and .json files generated weren't modified
as these are saved by Material Maker. These files could be made
to end with a newline automatically on save in a future commit.
2019-11-10 01:21:11 +01:00

6 lines
95 B
GDScript

extends Popup
func show_code(text : String) -> void:
$TextEdit.text = text
popup_centered()