You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-07 12:30:27 +00:00
Use Core/Scene stringnames consistently
This commit is contained in:
@@ -52,7 +52,6 @@
|
||||
#include "scene/main/window.h"
|
||||
#include "scene/resources/animation.h"
|
||||
#include "scene/resources/image_texture.h"
|
||||
#include "scene/scene_string_names.h"
|
||||
#include "servers/rendering_server.h"
|
||||
|
||||
///////////////////////////////////
|
||||
@@ -173,8 +172,8 @@ void AnimationPlayerEditor::_notification(int p_what) {
|
||||
|
||||
pin->set_icon(get_editor_theme_icon(SNAME("Pin")));
|
||||
|
||||
tool_anim->add_theme_style_override("normal", get_theme_stylebox(SNAME("normal"), SNAME("Button")));
|
||||
track_editor->get_edit_menu()->add_theme_style_override("normal", get_theme_stylebox(SNAME("normal"), SNAME("Button")));
|
||||
tool_anim->add_theme_style_override("normal", get_theme_stylebox(CoreStringName(normal), SNAME("Button")));
|
||||
track_editor->get_edit_menu()->add_theme_style_override("normal", get_theme_stylebox(CoreStringName(normal), SNAME("Button")));
|
||||
|
||||
#define ITEM_ICON(m_item, m_icon) tool_anim->get_popup()->set_item_icon(tool_anim->get_popup()->get_item_index(m_item), get_editor_theme_icon(SNAME(m_icon)))
|
||||
|
||||
@@ -2101,7 +2100,7 @@ AnimationPlayerEditor::AnimationPlayerEditor(AnimationPlayerEditorPlugin *p_plug
|
||||
|
||||
// Onion skinning.
|
||||
|
||||
track_editor->connect(SNAME("visibility_changed"), callable_mp(this, &AnimationPlayerEditor::_editor_visibility_changed));
|
||||
track_editor->connect(SceneStringName(visibility_changed), callable_mp(this, &AnimationPlayerEditor::_editor_visibility_changed));
|
||||
|
||||
onion.capture.canvas = RS::get_singleton()->canvas_create();
|
||||
onion.capture.canvas_item = RS::get_singleton()->canvas_item_create();
|
||||
|
||||
Reference in New Issue
Block a user