You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Cleanup metadata usage
This commit is contained in:
@@ -1265,7 +1265,7 @@ void Node3DEditorViewport::_surface_focus_exit() {
|
||||
}
|
||||
|
||||
bool Node3DEditorViewport ::_is_node_locked(const Node *p_node) {
|
||||
return p_node->has_meta("_edit_lock_") && p_node->get_meta("_edit_lock_");
|
||||
return p_node->get_meta("_edit_lock_", false);
|
||||
}
|
||||
|
||||
void Node3DEditorViewport::_list_select(Ref<InputEventMouseButton> b) {
|
||||
|
||||
Reference in New Issue
Block a user