Skip to content

Commit edf4e0e

Browse files
JriusHoikas
authored andcommitted
Fix anim message not picking up objects
1 parent 4a0bbf3 commit edf4e0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

korman/nodes/node_messages.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class PlasmaAnimCmdMsgNode(idprops.IDPropMixin, PlasmaMessageWithCallbacksNode,
117117
def _poll_target_object(self, value: bpy.types.Object) -> bool:
118118
if self.anim_type == "TEXTURE":
119119
return idprops.poll_drawable_objects(self, value)
120-
elif self.anim_type == "MESH":
120+
elif self.anim_type == "OBJECT":
121121
return idprops.poll_animated_objects(self, value)
122122
else:
123123
raise RuntimeError()

0 commit comments

Comments
 (0)