fix extra attribute range display

This commit is contained in:
m-schuetz 2020-08-24 17:43:19 +02:00
parent a41aae95d3
commit 57f71cc265

View File

@ -783,8 +783,8 @@ export class PropertiesPanel{
// currently only supporting scalar ranges.
// rgba, normals, positions, etc have vector ranges, however
let isValidRange = (typeof range[0] === "number") && (typeof range[1] !== "number");
if(isValidRange){
let isValidRange = (typeof range[0] === "number") && (typeof range[1] === "number");
if(!isValidRange){
return;
}