Skip to content

Commit 0420bc6

Browse files
committed
Fixed some custom textures not working
1 parent 78206be commit 0420bc6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine/source/materials/customMaterial.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ void CustomMaterial::initPersistFields()
5252
{
5353
Parent::initPersistFields();
5454

55-
addField("texture", TypeFilename, Offset(texFilename, CustomMaterial), MAX_TEX_PER_PASS);
55+
addField("texture", TypeString, Offset(texFilename, CustomMaterial), MAX_TEX_PER_PASS);
5656

5757
addField("version", TypeF32, Offset(mVersion, CustomMaterial));
5858

0 commit comments

Comments
 (0)