- fbx: fix parsing of CameraSwitcher.CameraIndexName.
parent
44606a1e53
commit
6ea67963ba
|
@ -92,7 +92,7 @@ CameraSwitcher::CameraSwitcher(uint64_t id, const Element& element, const Docume
|
||||||
cameraName = GetRequiredToken(*CameraName,0).StringContents();
|
cameraName = GetRequiredToken(*CameraName,0).StringContents();
|
||||||
}
|
}
|
||||||
|
|
||||||
if(CameraIndexName) {
|
if(CameraIndexName && CameraIndexName->Tokens().size()) {
|
||||||
cameraIndexName = GetRequiredToken(*CameraIndexName,0).StringContents();
|
cameraIndexName = GetRequiredToken(*CameraIndexName,0).StringContents();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue