Skip to content

Commit

Permalink
Merge pull request #33098 from JFonS/viewport_rotation
Browse files Browse the repository at this point in the history
Add rotation widget to 3D viewport
  • Loading branch information
akien-mga committed Mar 17, 2020
2 parents cc70b2f + 5b42516 commit 69081c0
Show file tree
Hide file tree
Showing 3 changed files with 325 additions and 16 deletions.
4 changes: 4 additions & 0 deletions editor/editor_fonts.cpp
Expand Up @@ -256,6 +256,10 @@ void editor_register_fonts(Ref<Theme> p_theme) {
MAKE_DEFAULT_FONT(df_rulers, 8 * EDSCALE);
p_theme->set_font("rulers", "EditorFonts", df_rulers);

// Rotation widget font
MAKE_DEFAULT_FONT(df_rotation_control, 14 * EDSCALE);
p_theme->set_font("rotation_control", "EditorFonts", df_rotation_control);

// Code font
MAKE_SOURCE_FONT(df_code, int(EDITOR_GET("interface/editor/code_font_size")) * EDSCALE);
p_theme->set_font("source", "EditorFonts", df_code);
Expand Down

0 comments on commit 69081c0

Please sign in to comment.