mirror of
https://github.com/isledecomp/isle-portable.git
synced 2025-09-23 12:03:56 -04:00
Update legomodelpresenter.cpp (#265)
* Update legomodelpresenter.cpp * Update legopartpresenter.cpp
This commit is contained in:
parent
5be9b09b40
commit
897700c19a
@ -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();
|
||||||
|
@ -91,7 +91,7 @@ MxResult LegoPartPresenter::Read(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_partPresenterConfig1) {
|
if (g_partPresenterConfig1) {
|
||||||
texture = new LegoTexture();
|
texture = new LegoTexture();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user