You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Add inspector plugin for key time edit & Change find key argument
This commit is contained in:
@@ -483,7 +483,7 @@ void EditorPropertyOTVariation::update_property() {
|
||||
Vector3i range = supported.get_value_at_index(i);
|
||||
|
||||
EditorPropertyInteger *prop = memnew(EditorPropertyInteger);
|
||||
prop->setup(range.x, range.y, 1, false, false);
|
||||
prop->setup(range.x, range.y, false, 1, false, false);
|
||||
prop->set_object_and_property(object.ptr(), "keys/" + itos(name_tag));
|
||||
|
||||
String name = TS->tag_to_name(name_tag);
|
||||
@@ -762,7 +762,7 @@ void EditorPropertyOTFeatures::update_property() {
|
||||
} break;
|
||||
case Variant::INT: {
|
||||
EditorPropertyInteger *editor = memnew(EditorPropertyInteger);
|
||||
editor->setup(0, 255, 1, false, false);
|
||||
editor->setup(0, 255, 1, false, false, false);
|
||||
prop = editor;
|
||||
} break;
|
||||
default: {
|
||||
|
||||
Reference in New Issue
Block a user