From 036629a84c73f90df3782960e976543889d0aced Mon Sep 17 00:00:00 2001 From: Relintai Date: Sun, 19 Jun 2022 18:30:51 +0200 Subject: [PATCH] An another small test. --- modules/material_maker/nodes/simple/shape.cpp | 5 +++++ modules/material_maker/nodes/simple/shape.h | 2 ++ 2 files changed, 7 insertions(+) diff --git a/modules/material_maker/nodes/simple/shape.cpp b/modules/material_maker/nodes/simple/shape.cpp index 00f7ca9f1..e42f2ccc8 100644 --- a/modules/material_maker/nodes/simple/shape.cpp +++ b/modules/material_maker/nodes/simple/shape.cpp @@ -5,7 +5,12 @@ #include "../../editor/mm_graph_node.h" #include "../mm_material.h" +void MMShape::test() { + print_error("test"); +} + Ref MMShape::get_image() { + test(); return image; } diff --git a/modules/material_maker/nodes/simple/shape.h b/modules/material_maker/nodes/simple/shape.h index 0b579cc78..a584fe0cc 100644 --- a/modules/material_maker/nodes/simple/shape.h +++ b/modules/material_maker/nodes/simple/shape.h @@ -31,6 +31,8 @@ public: SHAPE_TYPE_RAYS = 4, }; + void test(); + void _init_properties(); void _register_methods(MMGraphNode *mm_graph_node); void _render(const Ref &material);