Skip to content

Commit

Permalink
修复注册格式不正确的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Elivicti committed Jan 5, 2023
1 parent 4783ee3 commit 092fa6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion PngPortrait2DDS/PngPortrait2DDS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ void PngPortrait2DDS::onExport()
{
QString portrait_id(QString("%1_%2").arg(dds_path).arg(QString::number(i + 1), 3, QChar('0')));

QString reg("\t{ %1 = \"gfx/models/portraits/%2/%3\" }\n");
QString reg("\t%1 = { texturefile = \"gfx/models/portraits/%2/%3\" }\n");

reg_info.dds_path += reg.arg(portrait_id).arg(dds_path).arg(targetDDS.fileName());

Expand Down

0 comments on commit 092fa6f

Please sign in to comment.