Update legomodelpresenter.cpp

This commit is contained in:
Christian Semmler 2025-06-08 17:47:16 -07:00 committed by GitHub
parent 5be9b09b40
commit f5e32f4f67
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -98,7 +98,7 @@ MxResult LegoModelPresenter::CreateROI(MxDSChunk* p_chunk)
SDL_strlwr(textureName); SDL_strlwr(textureName);
if (textureName[0] == '^') { if (textureName[0] == '^') {
memmove(textureName, textureName + 1, strlen(textureName + 1)); memmove(textureName, textureName + 1, strlen(textureName));
if (g_modelPresenterConfig) { if (g_modelPresenterConfig) {
texture = new LegoTexture(); texture = new LegoTexture();