Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4941 / 8462

April 3, 2015, 12:40 (GMT)
Bugfix: Stashed actions now get added to the bottom of the NLA Stack if there weren't any stashed actions already
April 3, 2015, 12:39 (GMT)
Fix: Action/NLA Tweakmode Checks

Made all action management operators use the AnimData-local flag instead of the scene
global one. Technically, this is more accurate and results in less blocking
situations (i.e. another object may be in tweakmode, but because of that, the active
object's action couldn't be stashed).

The main impetus for this though was that the Action Up/Down feature doesn't clear
the global flag, since it is not in a position to do so (since it can't load up
everything to clear it).

TODO:
I'll need to review how this global flag works and/or potentially ditch it (or
perhaps add some better ways to ensure that it stays valid), since while thinking
this over, I've noticed a few problems here. But, for the meantime, this commit
at least makes things more usable here in the short term.
April 3, 2015, 12:39 (GMT)
Action Editor: Move up/down buttons to be before the datablock selector

It turned out that the constantly changing width of the datablock selector
made it a pain to use these to quickly toggle between different actions,
as the buttons would keep jumping around, thus leading to errors when
quickly toggling between actions. This way doesn't look quite as great,
but should be more usable.
April 3, 2015, 12:39 (GMT)
Action Layer Up/Down: Fixes for NLA Solo / NLA Muting

Now marking NLA Tracks as Solo'd and muting the NLA stack are linked together
when using the Action Layer Up/Down tools. That is, when switching from a NLA strip
to the active action, if the track was solo'd, then the NLA stack will get muted;
and when switching from the active action to a NLA track, if the stack was muted,
the track will get solo'd. This linkage means that we ensure that when moving up
and down the stack, we can continue to check the actions in isolation without things
messing up when you switch to and from the active action.

Also fixed a bug where this wasn't getting applied when going in the other direction.

TODO:
- When we get the rest/reference track support, we're going to need to insert
some calls to flush the restpose values so that values from the previously
used action do not pollute the pose for the new action (if not all the
same controls get keyed across both). For now, it's best to only do this
switching from the first frame.
April 3, 2015, 12:39 (GMT)
Code Cleanup: Deduplicate logic to switch between NLA Strips/Actions
April 3, 2015, 12:39 (GMT)
Code Cleanup: Split out duplicate code for finding an available NLA strip above/below
April 3, 2015, 12:39 (GMT)
Action Editor: Go to Next/Previous Animation Layer

With this feature, it is now possible to quickly switch between different actions
stacked/stashed on top of each other in the NLA Stack without having to go to the
NLA Editor and doing a tab-select-tab dance, thus saving quite a few clicks. It
was specifically designed with Game Animation / Action Library workflows in mind,
but also helps layered animation workflows.

Usage:
Simply click on the up/down arrow buttons (between the action datablock selector
and the pushdown/stash buttons) to go to the action in the NLA Track above/below
the NLA Strip being whose action is being tweaked in the Action Editor.

Notes:
- These still work when you're not editing the action used by a NLA Strip.
If you're just animating a new action normally, it is possible to use the "down arrow"
to temporarily jump down to the previous action without losing the new action you're
working on, and then use the "up arrow" to get back to it once you're done checking
the other action(s).

- If there are multiple actions/strips on the same layer/track, then only the one
closest to the current frame will be used.
April 3, 2015, 12:20 (GMT)
Added effector weights for cache hair simulation.
April 3, 2015, 12:18 (GMT)
RNA for modifier struct subtypes.

Also renamed StrandSimParams to HairSimParams, since strands are only
the agnostic data structure, while these parameters are specifically
used to simulate hair-like behavior. Other simulations could use strands
but implement completely different kinds of physics (e.g. grass, ropes).
April 3, 2015, 12:13 (GMT)
Smaller strips not working for files with sequencer
April 3, 2015, 11:58 (GMT)
Merge remote-tracking branch 'origin/master' into multiview
April 3, 2015, 10:38 (GMT)
Fix T44237: translation does not work for input sockets in 'Active node properties' panel.
April 3, 2015, 10:32 (GMT)
"Structural" spring forces for strands.

These connect strand points to ensure constant length and form the main
spring system in strand simulation.

Note that parameters are still hardcoded.
April 3, 2015, 10:32 (GMT)
More changes to defines, add GPUx prefix to public API
April 3, 2015, 10:26 (GMT)
Fix T44237: translation does not work in spacebar search.

Added translation there, also fixed a stupid bug which was leading most internal
operators to have 'dual' i18n_context (default NULL one and default 'Operator' one).
April 3, 2015, 10:13 (GMT)
More compilation fixes - add new files for cmake, make files conform to
old C (no declarations, use #ifdef instead or #if).
April 3, 2015, 10:04 (GMT)
Fix unfreed motion state memory when freeing strand data.
April 3, 2015, 10:00 (GMT)
Scalp animation support: copy strand root locations from the rest pose
before performing a time step.
April 3, 2015, 09:41 (GMT)
Compile fixes for strict C - no declarations allowed in for loops and in
middle of blocks.
April 3, 2015, 09:38 (GMT)
Pinning for strand roots.

Note that roots are currently not animated.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021