Fix Cycles inserting displacement node when there is a custom node setup instead.

This commit is contained in:
Brecht Van Lommel 2018-01-24 07:08:36 +01:00
parent 1686baa7f2
commit 0ff968eaf5
1 changed files with 2 additions and 1 deletions

View File

@ -357,5 +357,6 @@ def do_versions(self):
if not cscene.is_property_set("sample_clamp_indirect"):
cscene.sample_clamp_indirect = 0.0
if bpy.data.version <= (2, 80, 3):
if bpy.data.version <= (2, 79, 1) or \
(bpy.data.version >= (2, 80, 0) and bpy.data.version <= (2, 80, 3)):
displacement_nodes_insert()