Skip to content

Conversation

@dmarcos
Copy link
Member

@dmarcos dmarcos commented Aug 31, 2016

The tick method was returning if a mesh is not defined. tracked-controls should work with any entity with and without a mesh defined.

var mesh = this.el.getObject3D('mesh');
if (!mesh) { return; }
if (mesh.update) { mesh.update(delta / 1000); }
// Update mesh animations;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

semicolon

@ngokevin
Copy link
Member

could add a test

@dmarcos dmarcos force-pushed the meshAnimation branch 2 times, most recently from a9fb26b to 3b0a916 Compare August 31, 2016 19:03
@ngokevin ngokevin merged commit 18314bd into aframevr:master Sep 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants