Skip to content

Commit

Permalink
Fixed some custom textures not working
Browse files Browse the repository at this point in the history
  • Loading branch information
HumanGamer committed Mar 31, 2024
1 parent 78206be commit 0420bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/source/materials/customMaterial.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void CustomMaterial::initPersistFields()
{
Parent::initPersistFields();

addField("texture", TypeFilename, Offset(texFilename, CustomMaterial), MAX_TEX_PER_PASS);
addField("texture", TypeString, Offset(texFilename, CustomMaterial), MAX_TEX_PER_PASS);

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

Expand Down

0 comments on commit 0420bc6

Please sign in to comment.