mirror of
https://github.com/godotengine/godot.git
synced 2026-01-06 10:11:57 +03:00
Fix compilation on Visual Studio 2013 (#10219).
This commit is contained in:
committed by
Rémi Verschelde
parent
eeacae563c
commit
3ba5ee42c3
@@ -392,7 +392,7 @@ Ref<Theme> create_editor_theme(const Ref<Theme> p_theme) {
|
||||
editor_register_and_generate_icons(theme, dark_theme, thumb_size);
|
||||
}
|
||||
// thumbnail size has changed, so we regenerate the medium sizes
|
||||
if (p_theme != NULL && fabs(p_theme->get_constant("thumb_size", "Editor") - thumb_size) > 0.00001) {
|
||||
if (p_theme != NULL && fabs((double)p_theme->get_constant("thumb_size", "Editor") - thumb_size) > 0.00001) {
|
||||
editor_register_and_generate_icons(p_theme, dark_theme, thumb_size, true);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user