Skip to content

Commit 8998792

Browse files
committed
Fix reflection probe host reference in migration
1 parent cf0a6e0 commit 8998792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/io_hubs_addon/components/definitions/reflection_probe.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -882,7 +882,7 @@ def gather(self, export_settings, object):
882882
def migrate(self, migration_type, panel_type, instance_version, host, migration_report, ob=None):
883883
migration_occurred = False
884884

885-
if self.type == 'LIGHT_PROBE' and instance_version < (1, 0, 1):
885+
if host.type == 'LIGHT_PROBE' and instance_version < (1, 0, 1):
886886
self.influence_distance = self.data.influence_distance
887887
self.clipStart = self.data.clip_start
888888
self.clipEnd = self.data.clip_end

0 commit comments

Comments
 (0)