You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix missing autocompletion for inheriting classes
(cherry picked from commit ca2f340384)
This commit is contained in:
@@ -192,6 +192,7 @@ void Input::get_argument_options(const StringName &p_function, int p_idx, List<S
|
|||||||
r_options->push_back(name.quote());
|
r_options->push_back(name.quote());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Object::get_argument_options(p_function, p_idx, r_options);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Input::VelocityTrack::update(const Vector2 &p_delta_p) {
|
void Input::VelocityTrack::update(const Vector2 &p_delta_p) {
|
||||||
|
|||||||
@@ -570,7 +570,7 @@ void AnimatedSprite2D::get_argument_options(const StringName &p_function, int p_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Node::get_argument_options(p_function, p_idx, r_options);
|
Node2D::get_argument_options(p_function, p_idx, r_options);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DISABLE_DEPRECATED
|
#ifndef DISABLE_DEPRECATED
|
||||||
|
|||||||
@@ -1374,7 +1374,7 @@ void AnimatedSprite3D::get_argument_options(const StringName &p_function, int p_
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Node::get_argument_options(p_function, p_idx, r_options);
|
SpriteBase3D::get_argument_options(p_function, p_idx, r_options);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef DISABLE_DEPRECATED
|
#ifndef DISABLE_DEPRECATED
|
||||||
|
|||||||
@@ -670,7 +670,7 @@ void AnimationPlayer::get_argument_options(const StringName &p_function, int p_i
|
|||||||
r_options->push_back(String(name).quote());
|
r_options->push_back(String(name).quote());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Node::get_argument_options(p_function, p_idx, r_options);
|
AnimationMixer::get_argument_options(p_function, p_idx, r_options);
|
||||||
}
|
}
|
||||||
|
|
||||||
void AnimationPlayer::_animation_removed(const StringName &p_name, const StringName &p_library) {
|
void AnimationPlayer::_animation_removed(const StringName &p_name, const StringName &p_library) {
|
||||||
|
|||||||
@@ -199,7 +199,7 @@ void Control::reparent(Node *p_parent, bool p_keep_global_transform) {
|
|||||||
|
|
||||||
void Control::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const {
|
void Control::get_argument_options(const StringName &p_function, int p_idx, List<String> *r_options) const {
|
||||||
ERR_READ_THREAD_GUARD;
|
ERR_READ_THREAD_GUARD;
|
||||||
Node::get_argument_options(p_function, p_idx, r_options);
|
CanvasItem::get_argument_options(p_function, p_idx, r_options);
|
||||||
|
|
||||||
if (p_idx == 0) {
|
if (p_idx == 0) {
|
||||||
List<StringName> sn;
|
List<StringName> sn;
|
||||||
|
|||||||
@@ -1704,6 +1704,7 @@ void SceneTree::get_argument_options(const StringName &p_function, int p_idx, Li
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
MainLoop::get_argument_options(p_function, p_idx, r_options);
|
||||||
}
|
}
|
||||||
|
|
||||||
void SceneTree::set_disable_node_threading(bool p_disable) {
|
void SceneTree::set_disable_node_threading(bool p_disable) {
|
||||||
|
|||||||
@@ -468,7 +468,7 @@ void ShaderMaterial::get_argument_options(const StringName &p_function, int p_id
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Resource::get_argument_options(p_function, p_idx, r_options);
|
Material::get_argument_options(p_function, p_idx, r_options);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ShaderMaterial::_can_do_next_pass() const {
|
bool ShaderMaterial::_can_do_next_pass() const {
|
||||||
|
|||||||
Reference in New Issue
Block a user