Fix shader's step hint range for integers
This commit is contained in:
parent
5bbb057cc9
commit
924a9bfd16
1 changed files with 1 additions and 1 deletions
|
@ -2646,7 +2646,7 @@ PropertyInfo ShaderLanguage::uniform_to_property_info(const ShaderNode::Uniform
|
|||
pi.type = Variant::INT;
|
||||
if (p_uniform.hint == ShaderLanguage::ShaderNode::Uniform::HINT_RANGE) {
|
||||
pi.hint = PROPERTY_HINT_RANGE;
|
||||
pi.hint_string = rtos(p_uniform.hint_range[0]) + "," + rtos(p_uniform.hint_range[1]);
|
||||
pi.hint_string = rtos(p_uniform.hint_range[0]) + "," + rtos(p_uniform.hint_range[1]) + "," + rtos(p_uniform.hint_range[2]);
|
||||
}
|
||||
|
||||
} break;
|
||||
|
|
Loading…
Reference in a new issue