Browse Source

Fix anim message not picking up objects

master
Jrius 7 days ago committed by Adam Johnson
parent
commit
edf4e0e2b2
  1. 2
      korman/nodes/node_messages.py

2
korman/nodes/node_messages.py

@ -117,7 +117,7 @@ class PlasmaAnimCmdMsgNode(idprops.IDPropMixin, PlasmaMessageWithCallbacksNode,
def _poll_target_object(self, value: bpy.types.Object) -> bool:
if self.anim_type == "TEXTURE":
return idprops.poll_drawable_objects(self, value)
elif self.anim_type == "MESH":
elif self.anim_type == "OBJECT":
return idprops.poll_animated_objects(self, value)
else:
raise RuntimeError()

Loading…
Cancel
Save