File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -322,7 +322,7 @@ THREE.Projector = function () {
322322
323323 _face . material = material ;
324324
325- if ( material . vertexColors === THREE . FaceColors ) {
325+ if ( material . vertexColors === THREE . FaceColors || material . vertexColors === THREE . VertexColors ) {
326326
327327 _face . color . fromArray ( colors , a * 3 ) ;
328328
Original file line number Diff line number Diff line change @@ -403,7 +403,7 @@ THREE.SVGRenderer = function () {
403403
404404 _color . copy ( material . color ) ;
405405
406- if ( material . vertexColors === THREE . FaceColors ) {
406+ if ( material . vertexColors === THREE . FaceColors || material . vertexColors === THREE . VertexColors ) {
407407
408408 _color . multiply ( element . color ) ;
409409
@@ -413,7 +413,7 @@ THREE.SVGRenderer = function () {
413413
414414 _diffuseColor . copy ( material . color ) ;
415415
416- if ( material . vertexColors === THREE . FaceColors ) {
416+ if ( material . vertexColors === THREE . FaceColors || material . vertexColors === THREE . VertexColors ) {
417417
418418 _diffuseColor . multiply ( element . color ) ;
419419
You can’t perform that action at this time.
0 commit comments