Skip to content

[object Object] instead of color for topColor bottomColor a-sky created from environment component #743

Open
@vincentfretin

Description

The issue is in aframe 1.5.0, 1.6.0 and master.

image

Same when you copy the entity to clipboard:
image

It's because the environment component set directly a THREE.Color instance instead of hex color string on those properties, see
https://github.com/supermedium/aframe-environment-component/blob/b339b293139cd8c10f03d4c9a162c3b5ea55a794/index.js#L325-L326

@mrxz maybe you can take a look, that's probably a similar serialization issue than HTMLImageElement.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions