From 7dcf35f292b999faadae6c3451a2497a6af27b77 Mon Sep 17 00:00:00 2001 From: Jrius <2261279+Jrius@users.noreply.github.com> Date: Thu, 15 Apr 2021 21:18:10 +0200 Subject: [PATCH] Better argument names for _export_volume_event --- korman/nodes/node_conditions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/korman/nodes/node_conditions.py b/korman/nodes/node_conditions.py index 1bb8668..5ea931f 100644 --- a/korman/nodes/node_conditions.py +++ b/korman/nodes/node_conditions.py @@ -432,21 +432,21 @@ class PlasmaVolumeSensorNode(idprops.IDPropObjectMixin, PlasmaNodeBase, bpy.type member_group="kGroupDetector", report_groups=self.report_on) - def _export_volume_event(self, exporter, bo, so, parent_so, event, settings): + def _export_volume_event(self, exporter, region_bo, region_so, parent_so, event, settings): if event == plVolumeSensorConditionalObject.kTypeEnter: suffix = "Enter" else: suffix = "Exit" - logicKey = self._find_create_key(plLogicModifier, exporter, suffix=suffix, bl=bo, so=so) + logicKey = self._find_create_key(plLogicModifier, exporter, suffix=suffix, bl=region_bo, so=region_so) logicmod = logicKey.object logicmod.setLogicFlag(plLogicModifier.kMultiTrigger, True) logicmod.notify = self.generate_notify_msg(exporter, parent_so, "satisfies") # Now, the detector objects - det = self._find_create_object(plObjectInVolumeDetector, exporter, suffix=suffix, bl=bo, so=so) + det = self._find_create_object(plObjectInVolumeDetector, exporter, suffix=suffix, bl=region_bo, so=region_so) - volKey = self._find_create_key(plVolumeSensorConditionalObject, exporter, suffix=suffix, bl=bo, so=so) + volKey = self._find_create_key(plVolumeSensorConditionalObject, exporter, suffix=suffix, bl=region_bo, so=region_so) volsens = volKey.object volsens.type = event