Not mat maker nodes inherit fromMMNode instead of TextureRect.

This commit is contained in:
Relintai 2021-10-04 11:54:52 +02:00
parent c5621036b2
commit 1374df2b59
28 changed files with 29 additions and 27 deletions

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")
var Colors = preload("res://addons/mat_maker_gd/nodes/common/colors.gd") var Colors = preload("res://addons/mat_maker_gd/nodes/common/colors.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")
var Colors = preload("res://addons/mat_maker_gd/nodes/common/colors.gd") var Colors = preload("res://addons/mat_maker_gd/nodes/common/colors.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -3,3 +3,5 @@ class_name MMNode
extends Resource extends Resource
var texture : ImageTexture

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var NoiseFBM = preload("res://addons/mat_maker_gd/nodes/common/noise_fbm.gd") var NoiseFBM = preload("res://addons/mat_maker_gd/nodes/common/noise_fbm.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var NoiseVoronoi = preload("res://addons/mat_maker_gd/nodes/common/noise_voronoi.gd") var NoiseVoronoi = preload("res://addons/mat_maker_gd/nodes/common/noise_voronoi.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd") var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")
var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd") var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")
var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd") var NoisePerlin = preload("res://addons/mat_maker_gd/nodes/common/noise_perlin.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd") var Patterns = preload("res://addons/mat_maker_gd/nodes/common/patterns.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
const Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") const Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")
var SDF2D = preload("res://addons/mat_maker_gd/nodes/common/sdf2d.gd") var SDF2D = preload("res://addons/mat_maker_gd/nodes/common/sdf2d.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var SDF3D = preload("res://addons/mat_maker_gd/nodes/common/sdf3d.gd") var SDF3D = preload("res://addons/mat_maker_gd/nodes/common/sdf3d.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd") var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd")
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd") var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd")
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd") var Gradients = preload("res://addons/mat_maker_gd/nodes/common/gradients.gd")
var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd") var Commons = preload("res://addons/mat_maker_gd/nodes/common/commons.gd")

View File

@ -1,5 +1,5 @@
tool tool
extends TextureRect extends MMNode
var Shapes = preload("res://addons/mat_maker_gd/nodes/common/shapes.gd") var Shapes = preload("res://addons/mat_maker_gd/nodes/common/shapes.gd")