mirror of
https://github.com/godotengine/godot.git
synced 2026-01-03 18:11:19 +03:00
Merge pull request #56630 from Pineapple/replace-find-last
This commit is contained in:
@@ -249,7 +249,7 @@ void EditorFolding::_do_object_unfolds(Object *p_object, Set<RES> &resources) {
|
||||
}
|
||||
}
|
||||
} else { //path
|
||||
int last = E->get().name.find_last("/");
|
||||
int last = E->get().name.rfind("/");
|
||||
if (last != -1) {
|
||||
bool can_revert = EditorPropertyRevert::can_property_revert(p_object, E->get().name);
|
||||
if (can_revert) {
|
||||
|
||||
Reference in New Issue
Block a user