Skip to content

Conversation

@ngokevin
Copy link
Member

@ngokevin ngokevin commented Nov 8, 2016

If we do flushToDOM, position="" should become position="0 0 0".

Object.keys(components).forEach(updateDOMAtrribute);

// Flush entity's components to DOM.
Object.keys(components).forEach(function flushComponent (componentName) {
Copy link
Member

Choose a reason for hiding this comment

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

Are component dependencies properly flashed now?

Copy link
Member Author

Choose a reason for hiding this comment

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

Should be, dependency components are part of the entity's components so it'll be picked up.

@dmarcos dmarcos merged commit fe556a8 into aframevr:master Nov 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

2 participants