Fix "Map Range" node.
This commit is contained in:
parent
19ed29e806
commit
addaf2a9e2
|
@ -1234,17 +1234,17 @@ node_functions = {
|
|||
let outn = if data_type == 10: # float
|
||||
value = ins["Value"].flt
|
||||
min0 = ins["From Min", 1].flt
|
||||
max0 = ins["From Max1", 1].flt
|
||||
max0 = ins["From Max", 1].flt
|
||||
min1 = ins["To Min", 1].flt
|
||||
max1 = ins["To Max1", 1].flt
|
||||
max1 = ins["To Max", 1].flt
|
||||
steps = ins["Steps", 1].flt
|
||||
"$0"
|
||||
elif data_type == 48: # vec3
|
||||
value = ins["Vector"].vec3
|
||||
min0 = ins["From Min", 3].vec3
|
||||
max0 = ins["From Max1", 3].vec3
|
||||
max0 = ins["From Max", 3].vec3
|
||||
min1 = ins["To Min", 3].vec3
|
||||
max1 = ins["To Max1", 3].vec3
|
||||
max1 = ins["To Max", 3].vec3
|
||||
steps = ins["Steps", 3].vec3
|
||||
"$1"
|
||||
else:
|
||||
|
|
Loading…
Reference in a new issue