mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 16:11:22 +00:00
Unify usage of GLOBAL/EDITOR_GET
This commit is contained in:
parent
28a4eec9a7
commit
e48c5daddf
113 changed files with 528 additions and 528 deletions
|
|
@ -1355,10 +1355,10 @@ void Skeleton3DGizmoPlugin::redraw(EditorNode3DGizmo *p_gizmo) {
|
|||
selected = se->get_selected_bone();
|
||||
}
|
||||
|
||||
Color bone_color = EditorSettings::get_singleton()->get("editors/3d_gizmos/gizmo_colors/skeleton");
|
||||
Color selected_bone_color = EditorSettings::get_singleton()->get("editors/3d_gizmos/gizmo_colors/selected_bone");
|
||||
real_t bone_axis_length = EditorSettings::get_singleton()->get("editors/3d_gizmos/gizmo_settings/bone_axis_length");
|
||||
int bone_shape = EditorSettings::get_singleton()->get("editors/3d_gizmos/gizmo_settings/bone_shape");
|
||||
Color bone_color = EDITOR_GET("editors/3d_gizmos/gizmo_colors/skeleton");
|
||||
Color selected_bone_color = EDITOR_GET("editors/3d_gizmos/gizmo_colors/selected_bone");
|
||||
real_t bone_axis_length = EDITOR_GET("editors/3d_gizmos/gizmo_settings/bone_axis_length");
|
||||
int bone_shape = EDITOR_GET("editors/3d_gizmos/gizmo_settings/bone_shape");
|
||||
|
||||
LocalVector<Color> axis_colors;
|
||||
axis_colors.push_back(Node3DEditor::get_singleton()->get_theme_color(SNAME("axis_x_color"), SNAME("Editor")));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue