Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Luiz Carlos L. G. de | |
Old Version | Published before Godot 3 was released. |
Hi! Whats up with the update_canvas function? It doesn’t seem to work and I got the message
SCRIPT ERROR: edit: Invalid call. Nonexistent function 'update_canvas'
in base 'EditorPlugin (plugin.gd)'.
in the console. I’m making a plugin and trying to draw properly on the editor.
Edit: link to the function EditorPlugin — Godot Engine 2.1 documentation
And I’m using the version 2.1.4
I don’t remember of anything called “update_canvas” , isupdate()
the one you want?
eons | 2017-10-19 00:54
It’s this function: EditorPlugin — Godot Engine 2.1 documentation
Luiz Carlos L. G. de | 2017-10-19 10:08
are you working with Godot 3.0 alpha?
volzhs | 2017-10-19 14:34
There is no update_canvas
on 2.1
EditorPlugin — Godot Engine (2.1) documentation in English
These docs you have posted are for version 3 (latest on official site).
eons | 2017-10-19 23:11