Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename all AXLOG/printf to AXLOGD (without .\core, .\3rdparty) #2020

Merged
merged 90 commits into from
Jul 11, 2024
Merged
Show file tree
Hide file tree
Changes from 83 commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
66ee110
Fix issue #1546 of UILayout(#1549) and small performance boost
aismann Dec 30, 2023
aad2280
add test
aismann Dec 30, 2023
6127ff4
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Dec 31, 2023
b5708b1
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jan 2, 2024
cc6c569
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jan 2, 2024
8650ebb
Update DrawPrimitivesTest.cpp (Smaller tester code)
aismann Jan 2, 2024
d4fead5
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jan 3, 2024
5201e4f
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jan 4, 2024
8fff9fb
Update DrawNodeEx.h
aismann Jan 4, 2024
5a65ad4
Update AXLinkHelpers.cmake
aismann Jan 4, 2024
29199fa
Merge branch 'axmolengine:dev' into dev
aismann Jan 4, 2024
93f1bfa
Merge branch 'axmolengine:dev' into dev
aismann Jan 5, 2024
d917585
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jan 21, 2024
645193e
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jan 24, 2024
9a20a39
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Feb 4, 2024
f9b4ca6
Merge remote-tracking branch 'upstream/2.1' into dev
aismann Feb 4, 2024
ad3767a
Update Console.cpp (removed the '\n' which creates an second (empty) …
aismann Mar 15, 2024
f8b772f
Merge branch 'axmolengine:dev' into dev
aismann Mar 15, 2024
03cfb8c
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Mar 15, 2024
d3573d9
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Mar 22, 2024
fa40de8
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Mar 30, 2024
14e7fb6
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Apr 4, 2024
bf54b54
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Apr 27, 2024
bfb43d9
Merge branch 'axmolengine:dev' into dev
aismann Apr 29, 2024
54249d7
Merge branch 'axmolengine:dev' into dev
aismann May 5, 2024
c0f5e8e
Merge branch 'axmolengine:dev' into dev
aismann May 7, 2024
2e78576
Merge branch 'axmolengine:dev' into dev
aismann May 13, 2024
8ab29e4
Merge branch 'axmolengine:dev' into dev
aismann May 16, 2024
ea46c35
Merge branch 'axmolengine:dev' into dev
aismann May 17, 2024
f812f8d
Merge branch 'axmolengine:dev' into dev
aismann May 21, 2024
10d7117
Merge branch 'axmolengine:dev' into dev
aismann May 21, 2024
c247206
Merge branch 'axmolengine:dev' into dev
aismann May 22, 2024
39630db
Merge branch 'axmolengine:dev' into dev
aismann May 23, 2024
4c30066
Merge branch 'axmolengine:dev' into dev
aismann May 24, 2024
af8b225
Merge branch 'axmolengine:dev' into dev
aismann May 27, 2024
01ee3fa
Merge branch 'axmolengine:dev' into dev
aismann May 28, 2024
ee75a59
Merge branch 'axmolengine:dev' into dev
aismann May 31, 2024
bd8f155
Merge branch 'axmolengine:dev' into dev
aismann Jun 2, 2024
0b7a11a
Merge branch 'axmolengine:dev' into dev
aismann Jun 3, 2024
6074c55
Update CMakeOptions.md
aismann Jun 3, 2024
988a3e0
Update CMakeLists.txt
aismann Jun 3, 2024
ebb0d2b
Merge branch 'axmolengine:dev' into dev
aismann Jun 4, 2024
ff3980c
Merge branch 'axmolengine:dev' into dev
aismann Jun 6, 2024
9cd6904
Merge branch 'axmolengine:dev' into dev
aismann Jun 7, 2024
c2f9e6a
Merge branch 'axmolengine:dev' into dev
aismann Jun 10, 2024
a2d7b76
Merge branch 'axmolengine:dev' into dev
aismann Jun 12, 2024
d829ece
Merge branch 'axmolengine:dev' into dev
aismann Jun 13, 2024
1a39fbf
Fix Z-test and Z-write being enabled by default for main queue (#1981)
smilediver Jun 14, 2024
9c229d7
Merge branch 'axmolengine:dev' into dev
aismann Jun 14, 2024
83084cb
Merge branch 'axmolengine:dev' into dev
aismann Jun 17, 2024
5d4fa9a
Merge branch 'axmolengine:dev' into dev
aismann Jun 18, 2024
75fa894
Merge branch 'axmolengine:dev' into dev
aismann Jun 19, 2024
e9b01c0
Merge branch 'axmolengine:dev' into dev
aismann Jun 23, 2024
493e742
Merge branch 'axmolengine:dev' into dev
aismann Jun 28, 2024
7c40090
Merge branch 'dev' of https://github.com/aismann/axmol into dev
aismann Jul 5, 2024
dfb7644
Rename all AXLOG to AXLOGD (there be 417 without .\core)
aismann Jul 5, 2024
302671d
.
aismann Jul 5, 2024
dc385b2
Merge branch 'axmolengine:dev' into dev
aismann Jul 5, 2024
4c4794e
Merge branch 'axmolengine:dev' into dev
aismann Jul 8, 2024
12605f6
Replace %s, %f, %p %d
aismann Jul 8, 2024
fbbc746
remove .data() and .c_str()
aismann Jul 8, 2024
87adf4b
replace %x
aismann Jul 8, 2024
04c842a
replace %g
aismann Jul 8, 2024
c313456
replace %zd
aismann Jul 8, 2024
4529490
replace %g
aismann Jul 8, 2024
50b73bb
replace %lu
aismann Jul 8, 2024
a5cbc88
remove the second %% on AXLOGD("downloading... {}%%", percent);
aismann Jul 8, 2024
469836e
Merge branch 'axmolengine:dev' into dev
aismann Jul 9, 2024
1a7cb17
add static_cast<int>(...) to GetParseError()
aismann Jul 9, 2024
3fb6c7c
replace %02.f
aismann Jul 9, 2024
724c112
replace %:.nf
aismann Jul 9, 2024
569d40b
replace AXLOGERROR, AXLOGINFO
aismann Jul 9, 2024
f5e5d25
replace AXLOGWARN, and few fixes
aismann Jul 9, 2024
8b60628
fix misssing "
aismann Jul 9, 2024
264be95
Update axlua_extension_manual.cpp
aismann Jul 9, 2024
3d017bc
replace %p => static cast
aismann Jul 9, 2024
2bb1638
using fmt::ptr
aismann Jul 9, 2024
4a37109
AXLOGI("deallocing LuaRefMap: {}", fmt::ptr(this));
aismann Jul 9, 2024
2d03ec4
replace the "last" AXLOGERROR, AXLOGWARN
aismann Jul 9, 2024
1c84c8c
replace printf on .\core .\tests
aismann Jul 10, 2024
8cbf1e9
replace printf on .\extension\Particle3D
aismann Jul 10, 2024
c0b556b
replace printf on .\extensions\scripting\lua-bindings\auto
aismann Jul 10, 2024
8bb3364
replace printf on .\extensions\scripting\lua-bindings\\manual
aismann Jul 10, 2024
ea30ffc
Apply suggestions from code review
halx99 Jul 10, 2024
e858b29
Update public_field.c [skip ci]
halx99 Jul 10, 2024
87a0996
Update public_field.c [skip ci]
halx99 Jul 10, 2024
ba8059a
Update register.c [skip ci]
halx99 Jul 10, 2024
ac53c10
Add: "Copyright (c) 2019-present Axmol Engine contributors (see AUTHO…
aismann Jul 11, 2024
88bb894
Add copyright to mesh.cpp/h
aismann Jul 11, 2024
722c85e
Merge branch 'axmolengine:dev' into dev
aismann Jul 11, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/base/ZipUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ int ZipUtils::inflateGZipFile(const char* path, unsigned char** out)
gzFile inFile = gzopen(path, "rb");
if (inFile == nullptr)
{
AXLOGW("ZipUtils: error open gzip file: %s", path);
AXLOGW("ZipUtils: error open gzip file: {}", path);
return -1;
}

Expand Down
2 changes: 1 addition & 1 deletion core/renderer/RenderCommand.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void RenderCommand::init(float globalZOrder, const ax::Mat4& transform, unsigned

void RenderCommand::printID()
{
printf("Command Depth: %f\n", _globalOrder);
AXLOGI("Command Depth: {}\n", _globalOrder);
}

NS_AX_END
4 changes: 2 additions & 2 deletions core/ui/UITextFieldEx.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ static bool _containsTouchPoint(ax::Node* target, ax::Touch* touch)

bool contains = (rc.containsPoint(pt));

// AXLOGD("check {:#x} coordinate:({}, {}), contains:%d", target, pt.x, pt.y, contains);
// AXLOGD("check {:#x} coordinate:({}, {}), contains:{}", target, pt.x, pt.y, contains);
return contains;
}

Expand All @@ -85,7 +85,7 @@ static bool engine_inj_containsPoint(ax::Node* target, const ax::Vec2& worldPoin

bool contains = (rc.containsPoint(pt));

// AXLOGD("check {:#x} coordinate:({}, {}), contains:%d", target, pt.x, pt.y, contains);
// AXLOGD("check {:#x} coordinate:({}, {}), contains:{}", target, pt.x, pt.y, contains);
return contains;
}

Expand Down
2 changes: 1 addition & 1 deletion extensions/GUI/src/GUI/ControlExtension/ControlSwitch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ bool ControlSwitchSprite::initWithMaskSprite(Sprite* maskSprite,

void ControlSwitchSprite::updateTweenAction(float value, std::string_view key)
{
AXLOGINFO("key = %s, value = %f", key.c_str(), value);
AXLOGI("key = {}, value = {}", key, value);
setSliderXPosition(value);
}

Expand Down
2 changes: 1 addition & 1 deletion extensions/GUI/src/GUI/ScrollView/ScrollView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -793,7 +793,7 @@ void ScrollView::onTouchMoved(Touch* touch, Event* /*event*/)

if (!_touchMoved && fabs(convertDistanceFromPointToInch(dis)) < MOVE_INCH)
{
// AXLOG("Invalid movement, distance = [%f, %f], disInch = %f", moveDistance.x, moveDistance.y);
// AXLOGD("Invalid movement, distance = [{}, {}], disInch = {}", moveDistance.x, moveDistance.y);
return;
}

Expand Down
6 changes: 3 additions & 3 deletions extensions/Particle3D/src/Particle3D/PU/PUMaterialManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ void PUMaterialCache::addMaterial(PUMaterial* material)
{
if (iter->name == material->name)
{
AXLOG("warning: Material has existed (FilePath: %s, MaterialName: %s)", material->fileName.c_str(),
AXLOGD("warning: Material has existed (FilePath: {}, MaterialName: {})", material->fileName,
material->name.c_str());
return;
}
Expand Down Expand Up @@ -187,7 +187,7 @@ bool PUMaterialCache::loadMaterialsFromSearchPaths(std::string_view fileFolder)

if (!(d = opendir(fileFolder.data())))
{
AXLOG("error opendir %s!!!\n", fileFolder.data());
AXLOGD("error opendir {}!!!\n", fileFolder);
return false;
}
while ((file = readdir(d)) != NULL)
Expand All @@ -201,7 +201,7 @@ bool PUMaterialCache::loadMaterialsFromSearchPaths(std::string_view fileFolder)
{
std::string fullpath{fileFolder};
fullpath.append("/"sv).append(file->d_name);
AXLOG("%s", fullpath.c_str());
AXLOGD("{}", fullpath);
loadMaterials(fullpath);
state = true;
}
Expand Down
14 changes: 7 additions & 7 deletions extensions/Particle3D/src/Particle3D/PU/PURender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ void PUParticle3DQuadRender::render(Renderer* renderer, const Mat4& transform, P
backend::BufferType::VERTEX, backend::BufferUsage::DYNAMIC);
if (_vertexBuffer == nullptr)
{
AXLOG("PUParticle3DQuadRender::render create vertex buffer failed");
AXLOGD("PUParticle3DQuadRender::render create vertex buffer failed");
return;
}
}
Expand All @@ -98,7 +98,7 @@ void PUParticle3DQuadRender::render(Renderer* renderer, const Mat4& transform, P
backend::BufferType::INDEX, backend::BufferUsage::DYNAMIC);
if (_indexBuffer == nullptr)
{
AXLOG("PUParticle3DQuadRender::render create index buffer failed");
AXLOGD("PUParticle3DQuadRender::render create index buffer failed");
return;
}
}
Expand Down Expand Up @@ -508,7 +508,7 @@ void PUParticle3DModelRender::render(Renderer* renderer, const Mat4& transform,
MeshRenderer* mesh = MeshRenderer::create(_modelFile);
if (mesh == nullptr)
{
AXLOG("failed to load file %s", _modelFile.c_str());
AXLOGD("failed to load file {}", _modelFile);
continue;
}
mesh->setTexture(_texFile);
Expand Down Expand Up @@ -704,7 +704,7 @@ void PUParticle3DBoxRender::render(Renderer* renderer, const Mat4& transform, Pa
backend::BufferType::VERTEX, backend::BufferUsage::DYNAMIC);
if (_vertexBuffer == nullptr)
{
AXLOG("PUParticle3DBoxRender::render create vertex buffer failed");
AXLOGD("PUParticle3DBoxRender::render create vertex buffer failed");
return;
}
_vertices.resize(8 * particleSystem->getParticleQuota());
Expand All @@ -714,7 +714,7 @@ void PUParticle3DBoxRender::render(Renderer* renderer, const Mat4& transform, Pa
backend::BufferType::INDEX, backend::BufferUsage::DYNAMIC);
if (_indexBuffer == nullptr)
{
AXLOG("PUParticle3DBoxRender::render create index buffer failed");
AXLOGD("PUParticle3DBoxRender::render create index buffer failed");
return;
}
_indices.resize(36 * particleSystem->getParticleQuota());
Expand Down Expand Up @@ -896,7 +896,7 @@ void PUSphereRender::render(Renderer* renderer, const Mat4& transform, ParticleS
backend::BufferType::VERTEX, backend::BufferUsage::DYNAMIC);
if (_vertexBuffer == nullptr)
{
AXLOG("PUSphereRender::render create vertex buffer failed");
AXLOGD("PUSphereRender::render create vertex buffer failed");
return;
}
_vertices.resize(vertexCount * particleSystem->getParticleQuota());
Expand All @@ -906,7 +906,7 @@ void PUSphereRender::render(Renderer* renderer, const Mat4& transform, ParticleS
backend::BufferUsage::DYNAMIC);
if (_indexBuffer == nullptr)
{
AXLOG("PUSphereRender::render create index buffer failed");
AXLOGD("PUSphereRender::render create index buffer failed");
return;
}
_indices.resize(indexCount * particleSystem->getParticleQuota());
Expand Down
3 changes: 2 additions & 1 deletion extensions/Particle3D/src/Particle3D/PU/PUScriptLexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md).

https://axmol.dev/

Expand Down Expand Up @@ -223,7 +224,7 @@ void PUScriptLexer::openLexer(std::string_view str, std::string_view source, PUS
{
if (state == QUOTE)
{
printf("Exception\n");
AXLOGD("Exception\n");

// OGRE_EXCEPT(Exception::ERR_INVALID_STATE,
// Ogre::String("no matching \" found for \" at line ") +
Expand Down
2 changes: 2 additions & 0 deletions extensions/Particle3D/src/Particle3D/PU/PUScriptLexer.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md).

https://axmol.dev/

Expand Down Expand Up @@ -30,6 +31,7 @@
#include "base/Object.h"
#include <vector>
#include <string>
#include "axmol.h"
#include "extensions/ExtensionExport.h"

NS_AX_BEGIN
Expand Down
15 changes: 8 additions & 7 deletions extensions/Particle3D/src/Particle3D/PU/PUScriptParser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md).

https://axmol.dev/

Expand Down Expand Up @@ -35,7 +36,7 @@ void traceScriptParserCell(PUConcreteNodeList& nodes, int level)
{
for (const auto& node : nodes)
{
printf("%s,##%d\n", node->token.c_str(), level);
AXLOGD("{},##{}\n", node->token, level);
if (node->children.size() != 0)
{
traceScriptParserCell(node->children, level + 1);
Expand Down Expand Up @@ -89,7 +90,7 @@ void PUScriptParser::parse(PUConcreteNodeList& nodes, const PUScriptTokenList& t
++i;
if (i == end || ((*i)->type != TID_WORD && (*i)->type != TID_QUOTE))
{
printf("Except,expected import target at line :%d,ScriptParser::parse", node->line);
AXLOGD("Except,expected import target at line :{},ScriptParser::parse", node->line);
}
PUConcreteNode* temp = new PUConcreteNode;
temp->parent = node;
Expand All @@ -107,7 +108,7 @@ void PUScriptParser::parse(PUConcreteNodeList& nodes, const PUScriptTokenList& t
++i;
if (i == end || ((*i)->type != TID_WORD && (*i)->type != TID_QUOTE))
{
printf("expected import source at line :%d,ScriptParser::parse", node->line);
AXLOGD("expected import source at line :{},ScriptParser::parse", node->line);
}
temp = new PUConcreteNode;
temp->parent = node;
Expand Down Expand Up @@ -149,7 +150,7 @@ void PUScriptParser::parse(PUConcreteNodeList& nodes, const PUScriptTokenList& t
++i;
if (i == end || (*i)->type != TID_VARIABLE)
{
printf("Exception");
AXLOGD("Exception");
}
PUConcreteNode* temp = new PUConcreteNode;
temp->parent = node;
Expand All @@ -163,7 +164,7 @@ void PUScriptParser::parse(PUConcreteNodeList& nodes, const PUScriptTokenList& t
++i;
if (i == end || ((*i)->type != TID_WORD && (*i)->type != TID_QUOTE))
{
printf("expected variable value at line %d ScriptParser::parse\n", node->line);
AXLOGD("expected variable value at line {} ScriptParser::parse\n", node->line);
}
temp = new PUConcreteNode;
temp->parent = node;
Expand Down Expand Up @@ -287,7 +288,7 @@ void PUScriptParser::parse(PUConcreteNodeList& nodes, const PUScriptTokenList& t
if (j == end || ((*j)->type != TID_WORD && (*j)->type != TID_QUOTE))
{

printf("expected object identifier at line %d ScriptParser::parse\n", node->line);
AXLOGD("expected object identifier at line {} ScriptParser::parse\n", node->line);
}

while (j != end && ((*j)->type == TID_WORD || (*j)->type == TID_QUOTE))
Expand Down Expand Up @@ -496,7 +497,7 @@ void PUScriptParser::parseChunk(PUConcreteNodeList& nodes, const PUScriptTokenLi
node->token = token->lexeme.substr(1, token->lexeme.size() - 2);
node->type = CNT_QUOTE;
default:
printf("unexpected token,%s,%d\n", token->lexeme.c_str(), token->line);
AXLOGD("unexpected token,{},{}\n", token->lexeme, token->line);
}

if (node != nullptr)
Expand Down
2 changes: 2 additions & 0 deletions extensions/Particle3D/src/Particle3D/PU/PUScriptParser.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
Copyright (C) 2013 Henry van Merode. All rights reserved.
Copyright (c) 2015-2016 Chukong Technologies Inc.
Copyright (c) 2017-2018 Xiamen Yaji Software Co., Ltd.
Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md).

https://axmol.dev/

Expand Down Expand Up @@ -32,6 +33,7 @@
#include <list>
#include <map>

#include "axmol.h"
#include "base/Object.h"
#include "Particle3D/PU/PUScriptLexer.h"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -739,7 +739,7 @@ bool PUScriptTranslator::passValidatePropertyValidQuaternion(PUScriptCompiler* /
//-------------------------------------------------------------------------
void PUScriptTranslator::errorUnexpectedToken(PUScriptCompiler* /*compiler*/, PUAbstractNode* /*token2*/)
{
// AXLOGERROR("PU Compiler: token2 is not recognized tokenFile:%s tokenLine:%s",)
// AXLOGE("PU Compiler: token2 is not recognized tokenFile:%s tokenLine:%s",)
// printf()
// compiler->addError(ScriptCompiler::CE_UNEXPECTEDTOKEN, token.getPointer()->file, token.getPointer()->line,
// );
Expand Down
6 changes: 3 additions & 3 deletions extensions/Particle3D/src/Particle3D/Particle3DRender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ void Particle3DQuadRender::render(Renderer* renderer, const Mat4& transform, Par
backend::BufferType::VERTEX, backend::BufferUsage::DYNAMIC);
if (_vertexBuffer == nullptr)
{
AXLOG("Particle3DQuadRender::render create vertex buffer failed");
AXLOGD("Particle3DQuadRender::render create vertex buffer failed");
return;
}
}
Expand All @@ -94,7 +94,7 @@ void Particle3DQuadRender::render(Renderer* renderer, const Mat4& transform, Par
backend::BufferType::INDEX, backend::BufferUsage::DYNAMIC);
if (_indexBuffer == nullptr)
{
AXLOG("Particle3DQuadRender::render create index buffer failed");
AXLOGD("Particle3DQuadRender::render create index buffer failed");
return;
}
}
Expand Down Expand Up @@ -288,7 +288,7 @@ void Particle3DModelRender::render(Renderer* renderer, const Mat4& transform, Pa
MeshRenderer* mesh = MeshRenderer::create(_modelFile);
if (mesh == nullptr)
{
AXLOG("failed to load file %s", _modelFile.c_str());
AXLOGD("failed to load file {}", _modelFile);
continue;
}
mesh->setTexture(_texFile);
Expand Down
Loading