Fix T47832 - node switching did not update viewport render
This commit is contained in:
parent
bbe286a163
commit
1c9d5a8507
Notes:
blender-bot
2023-02-14 19:49:48 +01:00
Referenced by issue #48094, Node Wrangler Force Update Traceback Error Referenced by issue #47832, Cycles: switching "Mix Shader" to "Add Shader" do not update in viewport render. (Node wrangler add-on)
|
@ -1889,6 +1889,7 @@ class NWSwitchNodeType(Operator, NWBase):
|
|||
if new_node.outputs:
|
||||
links.new(new_node.outputs[0], out_src_link.to_socket)
|
||||
nodes.remove(node)
|
||||
force_update(context)
|
||||
return {'FINISHED'}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue