History

Revert the role name filter change as it has already been added to the repo

rick@ghostpunch.com committed 9 years ago

Commit 451b7ec1 parent 2b9da2b1 file · +1 −1Browse files

Showing the changes to scripts/tutorials/entity_scripts (1 of 1 file). Show all

Unified · Split

scripts/tutorials/entity_scripts/sit.js+1−1
@@ -122,7 +122,7 @@ · 121 unmodified lines
122 122
123 this.rolesToOverride = function() {123 this.rolesToOverride = function() {
124 return MyAvatar.getAnimationRoles().filter(function(role) {124 return MyAvatar.getAnimationRoles().filter(function(role) {
125 return !(role === "right" || role.startsWith("left"));125 return role === "fly" || role.startsWith("inAir");
126 });126 });
127 }127 }
128 128