Page MenuHome

Fix T50148: Header: Wrong rounding when moving frames
ClosedPublic

Authored by Germano Cavalcante (mano-wii) on Sun, Oct 27, 1:11 AM.

Details

Summary

As described in the report, the snap value in frames does not match the value described in the header.
The solution was to deduplicate the code and use the same logic used to calculate individual elements in t->values_final[0].

Ref T50148

Diff Detail

Repository
rB Blender

Event Timeline

Germano Cavalcante (mano-wii) retitled this revision from Fix T5014: Wrong rounding when moving frames to Fix T50148: Wrong rounding when moving frames.Sun, Oct 27, 1:12 AM
Germano Cavalcante (mano-wii) edited the summary of this revision. (Show Details)
Germano Cavalcante (mano-wii) retitled this revision from Fix T50148: Wrong rounding when moving frames to Fix T50148: Header: Wrong rounding when moving frames.Mon, Oct 28, 12:56 PM
Campbell Barton (campbellbarton) added inline comments.
source/blender/editors/transform/transform_snap.c
1350

Prefer doxy separators - see: BLI_ghash.c, they have the advantage that they group code blocks.

1598

No need for bool return value, it's ignored.

1599

autosnap can be eAnimEdit_AutoSnap

This revision is now accepted and ready to land.Mon, Oct 28, 1:08 PM