Skip to content

Commit

Permalink
🐞 fix: losed style and transparency
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangechen committed Jan 4, 2024
1 parent 6ea077e commit 98a9590
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/chili-three/src/threeVisualContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,8 @@ export class ThreeVisualContext implements IVisualContext {
let modelShape = model.shape();
if (modelShape === undefined) return;
let threeShape = new ThreeShape(modelShape);
threeShape.color = model.color;
threeShape.opacity = model.opacity;
threeShape.matrix.copy(this.convertMatrix(model.matrix));
this.visualShapes.add(threeShape);
this._shapeModelMap.set(threeShape, model);
Expand Down

0 comments on commit 98a9590

Please sign in to comment.