You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
GDScript: Canonicalize script path in FQCN
This commit is contained in:
@@ -230,7 +230,10 @@ public:
|
||||
static String debug_get_script_name(const Ref<Script> &p_script);
|
||||
#endif
|
||||
|
||||
static bool is_equal_gdscript_paths(const String &p_path_a, const String &p_path_b);
|
||||
static String canonicalize_path(const String &p_path);
|
||||
_FORCE_INLINE_ static bool is_canonically_equal_paths(const String &p_path_a, const String &p_path_b) {
|
||||
return canonicalize_path(p_path_a) == canonicalize_path(p_path_b);
|
||||
}
|
||||
|
||||
_FORCE_INLINE_ StringName get_local_name() const { return local_name; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user