mirror of
https://github.com/Relintai/godot_data_editor.git
synced 2024-11-13 06:27:19 +01:00
Prevent crash with invalid default types
This commit is contained in:
parent
8aa22fc04d
commit
da5f4b2ba1
21
notes.txt
21
notes.txt
@ -1,21 +0,0 @@
|
||||
Add "Notes" to each element
|
||||
Add Display Name for each
|
||||
Add Refresh
|
||||
Check how to deal with reloading the tree
|
||||
Add Sub categories
|
||||
Translate
|
||||
Add "state" handling
|
||||
Add UndoRedo
|
||||
|
||||
Move short callbacks from self to the object and call directly (e.g. popup)
|
||||
|
||||
Use EditorFileSystem class to check for changes (external ones)
|
||||
|
||||
print_progress
|
||||
|
||||
|
||||
Handle when switching from encrypted to non-encrypted and vice versa
|
||||
|
||||
# Progress?
|
||||
get_status(story_item)
|
||||
set_status(story_item, value)
|
@ -204,7 +204,7 @@ func create_string():
|
||||
for i in range(0, hint_array.size()):
|
||||
control.get_popup().add_item(hint_array[i])
|
||||
control.set_flat(false)
|
||||
control.set_text(value)
|
||||
control.set_text(str(value))
|
||||
control.get_popup().connect("item_pressed", self, "string_enum_property_value_changed", [])
|
||||
elif hint == PROPERTY_HINT_MULTILINE_TEXT:
|
||||
# RABRABRAB
|
||||
@ -356,6 +356,7 @@ func get_custom_editor_value(index):
|
||||
else: return value.origin.z
|
||||
|
||||
func create_object_or_image():
|
||||
value = str(value)
|
||||
control = HBoxContainer.new()
|
||||
object_type_line_edit = LineEdit.new()
|
||||
object_type_line_edit.set_text(str(value))
|
||||
|
Loading…
Reference in New Issue
Block a user