You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-06 12:20:30 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
@@ -127,7 +127,7 @@ void SkeletonModification2D::editor_draw_angle_constraints(Bone2D *p_operation_b
|
||||
Color bone_ik_color = Color(1.0, 0.65, 0.0, 0.4);
|
||||
#ifdef TOOLS_ENABLED
|
||||
if (Engine::get_singleton()->is_editor_hint()) {
|
||||
bone_ik_color = EditorSettings::get_singleton()->get("editors/2d/bone_ik_color");
|
||||
bone_ik_color = EDITOR_GET("editors/2d/bone_ik_color");
|
||||
}
|
||||
#endif // TOOLS_ENABLED
|
||||
|
||||
|
||||
Reference in New Issue
Block a user