forked from bartvdbraak/blender
Bugfix [#35668] Tooltip for Euler Discontinuity Filter was misleading
The tooltip seemed to hint that this tool is able to resolve all manner of gimble-lock situations by untangling the curves (i.e. performing some kind of equivalent-angles resolution, keeping in mind the nearest situations nearby). However, this tool currently only performs corrections for the most basic case when large jump+flip discontinuity artifacts appear in euler rotation curves as a result of rotation values getting clipped to +/- 180 degrees, which arises when these rotation curves are the result of baking some physics sim or so. (Also, fixed an unrelated "replace-all" typo in a comment)
This commit is contained in:
parent
0c91ebfeee
commit
2aab2d97de
@ -503,7 +503,7 @@ float nlastrip_get_frame(NlaStrip *strip, float cframe, short mode)
|
||||
|
||||
|
||||
/* Non clipped mapping for strip-time <-> global time
|
||||
* mode = eNlaTime_ConvertModesp[] -> NLATIME_CONVERT_*
|
||||
* mode = eNlaTime_ConvertModes -> NLATIME_CONVERT_*
|
||||
*
|
||||
* Public API method - perform this mapping using the given AnimData block
|
||||
* and perform any necessary sanity checks on the value
|
||||
|
@ -1745,7 +1745,9 @@ void GRAPH_OT_euler_filter(wmOperatorType *ot)
|
||||
/* identifiers */
|
||||
ot->name = "Euler Discontinuity Filter";
|
||||
ot->idname = "GRAPH_OT_euler_filter";
|
||||
ot->description = "Fixes the most common causes of gimbal lock in the selected Euler Rotation F-Curves";
|
||||
ot->description = "Fix large jumps and flips in the selected "
|
||||
"Euler Rotation F-Curves arising from rotation "
|
||||
"values being clipped when baking physics";
|
||||
|
||||
/* api callbacks */
|
||||
ot->exec = graphkeys_euler_filter_exec;
|
||||
|
Loading…
Reference in New Issue
Block a user