Skip to content

Commit 5d19a09

Browse files
authored
Merge pull request #1112 from AVSLab/bugfix/spritelist
Fix spriteList typo
2 parents bf881f9 + a2d1b72 commit 5d19a09

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/utilities/vizSupport.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -982,7 +982,7 @@ def enableUnityVisualization(
982982
lightList=None,
983983
genericStorageList=None,
984984
transceiverList=None,
985-
spritList=None,
985+
spriteList=None,
986986
modelDictionaryKeyList=None,
987987
logoTextureList=None,
988988
oscOrbitColorList=None,
@@ -1114,8 +1114,8 @@ def enableUnityVisualization(
11141114
transceiverList = ensure_correct_len_list(
11151115
transceiverList, scListLength, depth=2
11161116
)
1117-
if spritList is not None:
1118-
spritList = ensure_correct_len_list(spritList, scListLength)
1117+
if spriteList is not None:
1118+
spriteList = ensure_correct_len_list(spriteList, scListLength)
11191119
if modelDictionaryKeyList is not None:
11201120
modelDictionaryKeyList = ensure_correct_len_list(
11211121
modelDictionaryKeyList, scListLength
@@ -1292,9 +1292,9 @@ def enableUnityVisualization(
12921292
scData.transceiverList = vizInterface.TransceiverVector(tcList)
12931293

12941294
# process sprite information
1295-
if spritList:
1296-
if spritList[c] is not None:
1297-
scData.spacecraftSprite = spritList[c]
1295+
if spriteList:
1296+
if spriteList[c] is not None:
1297+
scData.spacecraftSprite = spriteList[c]
12981298
# process modelDictionaryKey information
12991299
if modelDictionaryKeyList:
13001300
if modelDictionaryKeyList[c] is not None:

0 commit comments

Comments
 (0)