mirror of
https://github.com/godotengine/godot.git
synced 2025-10-20 00:13:30 +00:00
Add ValidatedCall to MethodBind
* This should optimize GDScript function calling _enormously_. * It also should simplify the GDScript VM considerably. NOTE: GDExtension calling performance has most likely been affected until going via ptrcall is fixed.
This commit is contained in:
parent
14c582bca8
commit
1c93606e47
31 changed files with 299 additions and 84 deletions
|
@ -124,7 +124,7 @@ void ShaderFileEditor::_update_options() {
|
|||
int c = versions->get_current();
|
||||
//remember current
|
||||
versions->clear();
|
||||
Vector<StringName> version_list = shader_file->get_version_list();
|
||||
TypedArray<StringName> version_list = shader_file->get_version_list();
|
||||
|
||||
if (c >= version_list.size()) {
|
||||
c = version_list.size() - 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue