File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -808,7 +808,9 @@ class ARSCNViewDelegateImpl extends NSObject implements ARSCNViewDelegate {
808
808
} else {
809
809
// if faceMaterial is NOT set, make the faceGeometry mesh include eyes and mouth
810
810
faceGeometry = ARSCNFaceGeometry . faceGeometryWithDeviceFillMesh ( sceneViewRenderer . device , true ) ;
811
- faceGeometry . firstMaterial . colorBufferWriteMask = SCNColorMask . None ;
811
+ if ( faceGeometry ) {
812
+ faceGeometry . firstMaterial . colorBufferWriteMask = SCNColorMask . None ;
813
+ }
812
814
}
813
815
814
816
this . occlusionNode = SCNNode . nodeWithGeometry ( faceGeometry ) ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " nativescript-ar" ,
3
- "version" : " 0.7.1 " ,
3
+ "version" : " 0.7.2 " ,
4
4
"description" : " NativeScript Augmented Reality plugin. ARKit on iOS and (in the future) ARCore on Android." ,
5
5
"main" : " ar" ,
6
6
"typings" : " index.d.ts" ,
You can’t perform that action at this time.
0 commit comments