 
         itemType = ITEM_COMPONENT;
 
-        if (sourceNode !is null && targetComponent !is null && (targetComponent.type == STATICMODELGROUP_TYPE || targetComponent.type == CONSTRAINT_TYPE))
+        if (sourceNode !is null && targetComponent !is null && (targetComponent.type == STATICMODELGROUP_TYPE ||
+            targetComponent.type == CONSTRAINT_TYPE || targetComponent.type == SPLINEPATH_TYPE))
             return true;
         else
             return false;

                SaveEditAction(action);
                SetSceneModified();
            }
            
            // Drag a node to Constraint to make it the remote end of the constraint
            Constraint@ constraint = cast<Constraint>(targetComponent);

const ShortStringHash SCENE_TYPE("Scene");
const ShortStringHash NODE_TYPE("Node");
const ShortStringHash STATICMODELGROUP_TYPE("StaticModelGroup");
const ShortStringHash SPLINEPATH_TYPE("SplinePath");
const ShortStringHash CONSTRAINT_TYPE("Constraint");
const String NO_CHANGE(uint8(0));
const ShortStringHash TYPE_VAR("Type");
