Allow rotation on boards other than Monster M4sk
This commit is contained in:
parent
fe4718011e
commit
5a476ec202
1 changed files with 1 additions and 0 deletions
|
|
@ -217,6 +217,7 @@ void loadConfig(char *filename) {
|
||||||
// it's only the size of the filenames and only during init. NBD.
|
// it's only the size of the filenames and only during init. NBD.
|
||||||
if(iristv.is<char*>()) eye[e].iris.filename = strdup(iristv);
|
if(iristv.is<char*>()) eye[e].iris.filename = strdup(iristv);
|
||||||
if(scleratv.is<char*>()) eye[e].sclera.filename = strdup(scleratv);
|
if(scleratv.is<char*>()) eye[e].sclera.filename = strdup(scleratv);
|
||||||
|
eye[e].rotation = rotation; // Might get override in per-eye code below
|
||||||
}
|
}
|
||||||
|
|
||||||
#if NUM_EYES > 1
|
#if NUM_EYES > 1
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue