Page MenuHome

Bug Fix for Curve Primitive Line - Direction Mode
ClosedPublic

Authored by Johnny Matthews (guitargeek) on Jul 9 2021, 5:15 PM.

Details

Summary

Direction mode was not taking the start point into consideration when normalizing the direction vector.

Diff Detail

Repository
rB Blender

Event Timeline

Johnny Matthews (guitargeek) requested review of this revision.Jul 9 2021, 5:15 PM
Johnny Matthews (guitargeek) created this revision.

I'd expect the direction to be relative to the start point instead of a point in 3D space it's pointing towards.
In this case a direction of (1,0,0) should always be parallel to the X axis as the start moves around.

I was confused about the proper desired function of this code. This patch makes direction a vector to angle the line rather than a target.

This revision is now accepted and ready to land.Jul 9 2021, 6:16 PM