1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2025-07-03 14:34:34 +00:00

Animation editor enhancements

Bone positioning now takes into account its parent's absolute rotation,
and compensates it. That means bones with rotated parents follow exactly
the mouse when dragged, instead of going anywhere except where they should.

Repaired selecting bones with the mouse, and made that the default
(can be switched to keyboard with M key).

The timeline grid size and timestep unit size are now variable,
and can be changed with the U, I, O, P keys or the added UI buttons.

Bone borders and joint points can be displayed with B key.

Removed the ignorebone0 button and related functionality.

Minor cosmetical things.
This commit is contained in:
fgenesis 2012-01-31 18:02:18 +01:00
parent a551d70a6d
commit eeaa723cd7
6 changed files with 246 additions and 80 deletions

View file

@ -223,7 +223,7 @@ public:
void setTimeMultiplier(float t, int layer=0);
Bone* getSelectedBone(int ignoreBone=-1, bool mouseBased = true);
Bone* getSelectedBone(bool mouseBased = true);
Animation *getCurrentAnimation(int layer=0);