fix extra attribute range display
This commit is contained in:
parent
a41aae95d3
commit
57f71cc265
@ -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;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user