Mask editing: remove use_parent property and use check if paren't id is set instead
[blender.git] / source / blender / editors / mask / mask_draw.c
index a26ae5ea3c0c515979059573bf03895d1d80e2e5..e1efb6d841b1b517c0f6a226dec1ec8e1c020566 100644 (file)
@@ -100,7 +100,7 @@ static void draw_spline_parents(MaskLayer *UNUSED(masklay), MaskSpline *spline)
                MaskSplinePoint *point = &points_array[i];
                BezTriple *bezt = &point->bezt;
 
-               if (point->parent.flag & MASK_PARENT_ACTIVE) {
+               if (point->parent.id) {
                        glVertex2f(bezt->vec[1][0],
                                   bezt->vec[1][1]);