You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-12 13:20:55 +00:00
Fix auto-translations in editor
This commit is contained in:
@@ -2073,6 +2073,11 @@ bool Node::is_property_pinned(const StringName &p_property) const {
|
||||
StringName Node::get_property_store_alias(const StringName &p_property) const {
|
||||
return p_property;
|
||||
}
|
||||
|
||||
bool Node::is_part_of_edited_scene() const {
|
||||
return Engine::get_singleton()->is_editor_hint() && is_inside_tree() && get_tree()->get_edited_scene_root() &&
|
||||
(get_tree()->get_edited_scene_root() == this || get_tree()->get_edited_scene_root()->is_ancestor_of(this));
|
||||
}
|
||||
#endif
|
||||
|
||||
void Node::get_storable_properties(HashSet<StringName> &r_storable_properties) const {
|
||||
|
||||
Reference in New Issue
Block a user