Skip to content

Commit fbfc3ca

Browse files
committed
fix freezmesh
1 parent 60a85f0 commit fbfc3ca

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/ops/base/Ops.Graphics.Geometry.FreezeMeshes/Ops.Graphics.Geometry.FreezeMeshes.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ inCapture.onTriggered = () =>
3131

3232
function meshCapture()
3333
{
34-
if (!this._geom || !this._geom.copy)
34+
if (!this.geom || !this.geom.copy)
3535
{
3636
return;
3737
}
3838

39-
const g = this._geom.copy();
39+
const g = this.geom.copy();
4040
const normalMat = mat4.create();
4141
mat4.invert(normalMat, cgl.mMatrix);
4242
mat4.transpose(normalMat, normalMat);

src/ops/base/Ops.Graphics.Geometry.FreezeMeshes/Ops.Graphics.Geometry.FreezeMeshes.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@
4545
]
4646
},
4747
"summary": "capture all following meshes into one geometry",
48-
4948
"exampleProjectId": "BwxY2f",
5049
"docs": {
5150
"ports": []
52-
}
51+
},
52+
"license": "MIT"
5353
}

0 commit comments

Comments
 (0)