Final merge of HEAD (bf-blender) into the orange branch.
[blender.git] / source / blender / blenkernel / intern / constraint.c
index db097b3733933e420fbc15b09acecba83f80a335..7458a0230ddeccbe5b2d1b2b96e875a33ad30173 100644 (file)
@@ -383,6 +383,9 @@ Object *get_constraint_target(bConstraint *con, char **subtarget)
                        return (data->tar);
                }
                break;
+       default:
+               *subtarget= NULL;
+               break;
        }
        
        return NULL;