highfidelity/hifi — pull request #3425 by ZappoMan (2014-09-16 16:11:09+00:00)
Title: fix crash in butterflies.js

The butterflies.js script is creating "position" properties with some NAN values. The entity code wasn't handling this case correctly.

This change fixes that by ignoring any vec3 or quat properties that have NAN values.

This PR does not yet fix the problem with butterflies.js that's causing the NANs... I'll work on that next.