Page MenuHome

Fix T90153: Curve guides don't work on mesh-to-curve objects
Needs ReviewPublic

Authored by Christopher Burns (christopher.burns) on Jul 27 2021, 1:46 AM.
This revision needs review, but there are no reviewers specified.

Details

Summary

When a new Bezier curve is created, the "Path Animation" is checked (enabled) by default. This patch modifies "Convert to Curve" to also enable "Path Animation" by default, which ultimately fixes the crash described in T90153

Diff Detail

Event Timeline

Pratik Borhade (PratikPB2123) retitled this revision from Fix for T90153 to Fix T90153: Curve guides don't work on mesh-to-curve objects.Jul 27 2021, 2:56 AM

So the default behavior is one thing, but the more basic issue is that the app crashes in BKE_where_on_path when "Path Animation" is disabled. This update adds a check that returns false from BKE_where_on_path if anim_path_accum_length is NULL