Skip to content

Commit

Permalink
edge.controlPoints() is undefined for edges between a parent node a…
Browse files Browse the repository at this point in the history
…nd one of its descendants. While these edges aren't strictly loops, they are displayed in a similar way to loops using two beziers.

Ref : `edge.controlPoints()` is `undefined` for loops #2139
  • Loading branch information
maxkfranz committed Jun 19, 2018
1 parent 8e9ef37 commit 5df56a2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -786,7 +786,7 @@ BRp.getControlPoints = function( edge ){
let rs = edge[0]._private.rscratch;
let type = rs.edgeType;

if( type === 'bezier' || type === 'multibezier' || type === 'self' ){
if( type === 'bezier' || type === 'multibezier' || type === 'self' || type === 'compound' ){
return getPts( rs.ctrlpts );
}
};
Expand Down

0 comments on commit 5df56a2

Please sign in to comment.