File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ module.exports = {
75
75
} ,
76
76
blend : {
77
77
valType : 'boolean' ,
78
- dflt : false ,
78
+ dflt : undefined ,
79
79
role : 'style' ,
80
80
description : [
81
81
'Determines if colors are blended together for a translucency effect' ,
Original file line number Diff line number Diff line change @@ -174,7 +174,12 @@ proto.updateFast = function(options) {
174
174
175
175
markerColor [ 3 ] *= opacity ;
176
176
this . pointcloudOptions . color = markerColor ;
177
- this . pointcloudOptions . blend = options . marker . blend ;
177
+
178
+ var blend = options . marker . blend ;
179
+ if ( blend == null ) {
180
+ blend = x . length < 100 || y . length < 100 ;
181
+ }
182
+ this . pointcloudOptions . blend = blend ;
178
183
179
184
borderColor [ 3 ] *= opacity ;
180
185
this . pointcloudOptions . borderColor = borderColor ;
You can’t perform that action at this time.
0 commit comments