Fix 31370: light falloff node linear output not working code.
Fix part of thread safety issue, there's still something else wrong.
This commit is contained in:
@@ -1731,7 +1731,6 @@ void LightFalloffNode::compile(SVMCompiler& compiler)
|
||||
compiler.stack_assign(out);
|
||||
compiler.add_node(NODE_LIGHT_FALLOFF, NODE_LIGHT_FALLOFF_LINEAR,
|
||||
compiler.encode_uchar4(strength_in->stack_offset, smooth_in->stack_offset, out->stack_offset));
|
||||
compiler.add_node(NODE_LIGHT_FALLOFF, NODE_LIGHT_FALLOFF_LINEAR, out->stack_offset);
|
||||
}
|
||||
|
||||
out = output("Constant");
|
||||
|
Reference in New Issue
Block a user