Merge branch 'master' into sdl3-texture

This commit is contained in:
Anders Jenbo 2025-06-09 00:56:21 +02:00 committed by GitHub
commit b692a04a1f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -91,7 +91,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
SDL_strlwr(textureName);
if (textureName[0] == '^') {
strcpy(textureName, textureName + 1);
memmove(textureName, textureName + 1, strlen(textureName + 1));
if (g_partPresenterConfig1) {
texture = new LegoTexture();