You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-09 12:50:35 +00:00
Editor settings categories are now tidy and beautiful!
This commit is contained in:
@@ -1317,7 +1317,7 @@ void CanvasItemEditor::_viewport_input_event(const InputEvent& p_event) {
|
||||
{
|
||||
bone_ik_list.clear();
|
||||
float closest_dist=1e20;
|
||||
int bone_width = EditorSettings::get_singleton()->get("2d_editor/bone_width");
|
||||
int bone_width = EditorSettings::get_singleton()->get("editors/2dbone_width");
|
||||
for(Map<ObjectID,BoneList>::Element *E=bone_list.front();E;E=E->next()) {
|
||||
|
||||
if (E->get().from == E->get().to)
|
||||
@@ -2117,11 +2117,11 @@ void CanvasItemEditor::_viewport_draw() {
|
||||
}
|
||||
|
||||
if (skeleton_show_bones) {
|
||||
int bone_width = EditorSettings::get_singleton()->get("2d_editor/bone_width");
|
||||
Color bone_color1 = EditorSettings::get_singleton()->get("2d_editor/bone_color1");
|
||||
Color bone_color2 = EditorSettings::get_singleton()->get("2d_editor/bone_color2");
|
||||
Color bone_ik_color = EditorSettings::get_singleton()->get("2d_editor/bone_ik_color");
|
||||
Color bone_selected_color = EditorSettings::get_singleton()->get("2d_editor/bone_selected_color");
|
||||
int bone_width = EditorSettings::get_singleton()->get("editors/2dbone_width");
|
||||
Color bone_color1 = EditorSettings::get_singleton()->get("editors/2dbone_color1");
|
||||
Color bone_color2 = EditorSettings::get_singleton()->get("editors/2dbone_color2");
|
||||
Color bone_ik_color = EditorSettings::get_singleton()->get("editors/2dbone_ik_color");
|
||||
Color bone_selected_color = EditorSettings::get_singleton()->get("editors/2dbone_selected_color");
|
||||
|
||||
for(Map<ObjectID,BoneList>::Element*E=bone_list.front();E;E=E->next()) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user