mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-02-03 12:31:15 +00:00
Merge branch 'master' into sdl3-texture
This commit is contained in:
commit
b692a04a1f
@ -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));
|
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||||
|
|
||||||
if (g_modelPresenterConfig) {
|
if (g_modelPresenterConfig) {
|
||||||
texture = new LegoTexture();
|
texture = new LegoTexture();
|
||||||
|
|||||||
@ -91,7 +91,7 @@ MxResult LegoPartPresenter::Read(MxDSChunk& p_chunk)
|
|||||||
SDL_strlwr(textureName);
|
SDL_strlwr(textureName);
|
||||||
|
|
||||||
if (textureName[0] == '^') {
|
if (textureName[0] == '^') {
|
||||||
strcpy(textureName, textureName + 1);
|
memmove(textureName, textureName + 1, strlen(textureName + 1));
|
||||||
|
|
||||||
if (g_partPresenterConfig1) {
|
if (g_partPresenterConfig1) {
|
||||||
texture = new LegoTexture();
|
texture = new LegoTexture();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user