Skip to content

geometery_colors, other properties not working when passed #429

Description

@fcollman

On my installlations (and on binder right now), passing some initial settings for rendering do not work.

For example, passing geometry_colors=['g'] does not cause the Mesh example to initially render green.

viewer=view(geometries=mesh, geometry_colors=['g'] , ui_collapsed=True)

However, if you start the viewer and then display it and then set the colors as an np.array

viewer.geometry_colors = np.array([[0,1,0]], dtype=np.float32)

then the colors do change dynamically. But you can't set them to start (everything is always red)..

checking the viewer.get_state('geometry_colors') indicates that the front end did receive the correct data when passing geometry_colors to the view function, but it is not properly syncing what is rendered.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions