From ea36c074a4e0c8ef37393c9001eff9058c2e1380 Mon Sep 17 00:00:00 2001 From: Relintai Date: Tue, 14 Dec 2021 01:00:30 +0100 Subject: [PATCH] Fix get_height() call. --- addons/mat_maker_gd/nodes/mm_node.gd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/mat_maker_gd/nodes/mm_node.gd b/addons/mat_maker_gd/nodes/mm_node.gd index a296825..3c6a102 100644 --- a/addons/mat_maker_gd/nodes/mm_node.gd +++ b/addons/mat_maker_gd/nodes/mm_node.gd @@ -37,7 +37,7 @@ func render_image(material) -> Image: image.lock() var w : float = image.get_width() - var h : float = image.get_width() + var h : float = image.get_height() var pseed : float = randf() + randi()