You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-10 13:00:37 +00:00
Refactored Variant Operators.
-Using classes to call and a table -For typed code (GDS or GDNative), can obtain functions to call prevalidated or ptr.
This commit is contained in:
@@ -4687,7 +4687,7 @@ void Node3DEditor::set_state(const Dictionary &p_state) {
|
||||
}
|
||||
int state = EditorNode3DGizmoPlugin::VISIBLE;
|
||||
for (int i = 0; i < keys.size(); i++) {
|
||||
if (gizmo_plugins_by_name.write[j]->get_name() == keys[i]) {
|
||||
if (gizmo_plugins_by_name.write[j]->get_name() == String(keys[i])) {
|
||||
state = gizmos_status[keys[i]];
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user