Browse Source

Fix anim message not picking up objects

pull/431/head
Jrius 4 months ago
parent
commit
529ca28b66
  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: def _poll_target_object(self, value: bpy.types.Object) -> bool:
if self.anim_type == "TEXTURE": if self.anim_type == "TEXTURE":
return idprops.poll_drawable_objects(self, value) return idprops.poll_drawable_objects(self, value)
elif self.anim_type == "MESH": elif self.anim_type == "OBJECT":
return idprops.poll_animated_objects(self, value) return idprops.poll_animated_objects(self, value)
else: else:
raise RuntimeError() raise RuntimeError()

Loading…
Cancel
Save