Skip to content

Conversation

arjxn-py
Copy link
Member

@arjxn-py arjxn-py commented Jan 1, 2025

Shall close #605

@arjxn-py arjxn-py added the bug PR that fixes a bug label Jan 1, 2025
Copy link
Contributor

github-actions bot commented Jan 1, 2025

Integration tests report: appsharing.space

Copy link
Contributor

github-actions bot commented Jan 1, 2025

Preview PR at appsharing.space

Comment on lines +1044 to +1056
if (mainMesh.material?.color) {
const originalMeshColor = new THREE.Color(
objColor || DEFAULT_MESH_COLOR
);
mainMesh.material.color = originalMeshColor;
mainMesh.userData.originalColor = originalMeshColor.clone();
}

edgesMeshes.forEach(edgeMesh => {
this._edgeMaterials.push(edgeMesh.material);
const edgeColor = new THREE.Color(objColor || DEFAULT_EDGE_COLOR);
edgeMesh.material.color = edgeColor;
});
Copy link
Member

Choose a reason for hiding this comment

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

It seems weird to me we have to do this?

Shouldn't this be done in buildShape?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug PR that fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

objToMesh should use the buildShape helper
2 participants