mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 15:22:09 +02:00
Corrected typo in role name search filter. Removed commented out debug print
This commit is contained in:
parent
8cf60df5b0
commit
cc0ed9ead4
1 changed files with 1 additions and 2 deletions
|
@ -122,7 +122,7 @@
|
|||
|
||||
this.rolesToOverride = function() {
|
||||
return MyAvatar.getAnimationRoles().filter(function(role) {
|
||||
return role === "right" || role.startsWith("left");
|
||||
return !(role === "right" && role.startsWith("left"));
|
||||
});
|
||||
}
|
||||
|
||||
|
@ -132,7 +132,6 @@
|
|||
print("Sitter's model has FINISHED changing. Reapply anim role overrides.");
|
||||
var roles = this.rolesToOverride();
|
||||
for (i in roles) {
|
||||
//print("Overriding role animation " + roles[i]);
|
||||
MyAvatar.overrideRoleAnimation(roles[i], ANIMATION_URL, ANIMATION_FPS, true, ANIMATION_FIRST_FRAME, ANIMATION_LAST_FRAME);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue