You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-15 13:51:40 +00:00
Several performance improvements, mainly in loading and instancing scenes and resources.
A general speedup should be apparent, with even more peformance increase when compiling optimized. WARNING: Tested and it seems to work, but if something breaks, please report.
This commit is contained in:
@@ -40,8 +40,8 @@ PropertyInfo MethodBind::get_argument_info(int p_argument) const {
|
||||
PropertyInfo pi( get_argument_type(p_argument), name );
|
||||
if ((pi.type==Variant::OBJECT) && name.find(":")!=-1) {
|
||||
pi.hint=PROPERTY_HINT_RESOURCE_TYPE;
|
||||
pi.hint_string=name.get_slice(":",1);
|
||||
pi.name=name.get_slice(":",0);
|
||||
pi.hint_string=name.get_slicec(':',1);
|
||||
pi.name=name.get_slicec(':',0);
|
||||
}
|
||||
return pi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user