+ // If both are Linkable Value Nodes and has waypoint in its children, use the one with more waypoints
+ else if(LinkableValueNode::Handle::cast_dynamic(link_value_node) &&
+ LinkableValueNode::Handle::cast_dynamic(value_desc.get_value_node()) &&
+ LinkableValueNode::Handle::cast_dynamic(link_value_node)->get_times().size() !=
+ LinkableValueNode::Handle::cast_dynamic(value_desc.get_value_node())->get_times().size())
+ {
+ if(LinkableValueNode::Handle::cast_dynamic(link_value_node)->get_times().size() <
+ LinkableValueNode::Handle::cast_dynamic(value_desc.get_value_node())->get_times().size())
+ {
+ status_level = 4;
+ status_message = _("There's a tie for most referenced, and both are linkable value node animated; using the one with the most waypoints.");
+ link_value_node=value_desc.get_value_node();
+ }
+ else if (status_level <= 4)
+ {
+ status_level = 4;
+ status_message = _("There's a tie for most referenced, and both are linkable value node animated; using the one with the most waypoints.");
+ }
+ }