aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/canvas_item_editor_plugin.cpp
diff options
context:
space:
mode:
authorFranklin Sobrinho2016-01-09 08:35:57 -0300
committerFranklin Sobrinho2016-01-09 08:35:57 -0300
commit7fa233cd89f0bc00b5e26ced051d12d3f73ec7e8 (patch)
tree37317da03c83ac55ce78c64798131b01a071fcf1 /tools/editor/plugins/canvas_item_editor_plugin.cpp
parent292e8bf0ab02cf37b6ee1759a3942a57a6a69062 (diff)
downloadgodot-7fa233cd89f0bc00b5e26ced051d12d3f73ec7e8.tar.gz
godot-7fa233cd89f0bc00b5e26ced051d12d3f73ec7e8.tar.zst
godot-7fa233cd89f0bc00b5e26ced051d12d3f73ec7e8.zip
Fix some error messages
Diffstat (limited to 'tools/editor/plugins/canvas_item_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/canvas_item_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/canvas_item_editor_plugin.cpp b/tools/editor/plugins/canvas_item_editor_plugin.cpp
index bdc34d472..56ed95fb1 100644
--- a/tools/editor/plugins/canvas_item_editor_plugin.cpp
+++ b/tools/editor/plugins/canvas_item_editor_plugin.cpp
@@ -405,9 +405,9 @@ void CanvasItemEditor::_node_removed(Node *p_node) {
#endif
}
-void CanvasItemEditor::_keying_changed(bool p_changed) {
+void CanvasItemEditor::_keying_changed() {
- if (p_changed)
+ if (editor->get_animation_editor()->has_keying())
animation_hb->show();
else
animation_hb->hide();