From bd609fd96ab22574cb50c89b0aef134daa5339fc Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 21 Jun 2022 17:04:09 +0200 Subject: [PATCH] Now PaintAction inherits from Resource instead of Reference. --- modules/paint/actions/paint_action.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/modules/paint/actions/paint_action.h b/modules/paint/actions/paint_action.h index 18189895c..f35343bf2 100644 --- a/modules/paint/actions/paint_action.h +++ b/modules/paint/actions/paint_action.h @@ -25,7 +25,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ -#include "core/reference.h" +#include "core/resource.h" #include "core/array.h" #include "core/dictionary.h" @@ -36,10 +36,8 @@ SOFTWARE. class PaintCanvas; class PaintCanvasLayer; -//extends Node (this should probably not be a node) -//class_name GEAction -class PaintAction : public Reference { - GDCLASS(PaintAction, Reference); +class PaintAction : public Resource { + GDCLASS(PaintAction, Resource); public: virtual void do_action(PaintCanvas *canvas, const Array &data);