From adbdf31507bc4eaa5d8abfc12688f31558452e39 Mon Sep 17 00:00:00 2001 From: Darryl Pogue Date: Sat, 12 Jun 2021 21:21:23 -0700 Subject: [PATCH] Apply suggestions from code review Co-authored-by: Adam Johnson --- korman/properties/modifiers/water.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/korman/properties/modifiers/water.py b/korman/properties/modifiers/water.py index 4e2bc4f..510f131 100644 --- a/korman/properties/modifiers/water.py +++ b/korman/properties/modifiers/water.py @@ -480,10 +480,6 @@ class PlasmaBuoyObject(idprops.IDPropObjectMixin, bpy.types.PropertyGroup): type=bpy.types.Object, poll=idprops.poll_mesh_objects) - @classmethod - def _idprop_mapping(cls): - return {"buoy_object": "object_name"} - class PlasmaWaterBuoyModifier(PlasmaModifierProperties): pl_depends = {"water_basic"} @@ -502,5 +498,5 @@ class PlasmaWaterBuoyModifier(PlasmaModifierProperties): for i in self.buoys: if i.buoy_object is None: - raise ExportError("'{}': Buoy Object for '{}' is invalid".format(self.key_name, i.display_name)) + raise ExportError("'{}': Buoy Object for '{}' is invalid", self.key_name, i.display_name) waveset.addBuoy(exporter.mgr.find_create_key(plSceneObject, bl=i.buoy_object))