Blender Git Commits

Blender Git "master" branch commits.

Page: 2330 / 5574

Revision 7f03c9d by Joshua Leung
July 7, 2016, 13:49 (GMT)
Fix: Keyframe click-selection threshold in Dopesheet was still hardcoded to 7px
Revision f3b3eb7 by Joshua Leung
July 7, 2016, 13:49 (GMT)
Dopesheet: Added "Moving Hold" as a keyframe type

Currently "long keyframes" are only useful for indicating where stationary
holds occur. If however you try to create a "moving hold" (where the values
are slightly different, but in terms of overall effect, it's still a hold)
then it could get tricky to keep track of where these occur.

Now it's possible to tag such keyframes (using the keyframe types - RKEY)
as being part of a moving hold. These will not only be drawn differently
from normal keyframes, but they will also result in a "long keyframe"
being drawn between each pair of them, just like if they had been completely
stationary instead.

Currently the theming/styling of these is a bit rough. They reuse the existing
theme colours for long keyframes.
Revision 2ba2860 by Joshua Leung
July 7, 2016, 13:49 (GMT)
Transforms to Delta Transforms

* Added new operators to take the current transform value (loc/rot/scale or all 3)
and convert/apply that transform to a corresponding delta transform value. By default,
the transform value will be zeroed out again afterwards, so you don't end up with a
double transform.

* These operators can be found in the "Apply" menu (Ctrl-A)

* The "Animated Transforms to Deltas" (which does a similar job, except it adjusts all
existing animation data instead of the current transform) has also been moved to the
Apply menu (it was in the Transform menu instead)
Revision 92c9bdb by Joshua Leung
July 7, 2016, 13:49 (GMT)
Animation Editors: Object datablocks are now sorted alphabetically by default

A long requested feature has been to have objects appear in alphabetical order
in the animation editors, so that it is easier to find where they occur. This
commit implements support for this.

The main sticking point has been the performance impact of having this sorting
happening all the time (as the actual list of "bases" cannot be modified, as the
old depsgraph still needs random-looking unsorted order of objects for scheduling
updates). However, it recently occurred to me that perhaps by restricting it to
the one case where the ordering actually matters (i.e. when we're getting the channel
list for drawing all channels, vs operating on them), and adding a toggle to turn the
sorting off in heavy scenes when it might bog down things, that it will probably
be acceptable enough in general. Furthermore, if things get really bad, we can investigate
putting in place some sort of caching scheme for this too - though hopefully the
new depsgraph will make that unnecessary (i.e. it doesn't sort the bases directly anymore).
Revision 2910e28 by Joshua Leung
July 7, 2016, 13:49 (GMT)
Code Cleanup: Move out logic for checking if an object can be included in the dopesheet
Revision 095c8db by Joshua Leung
July 7, 2016, 13:49 (GMT)
Dopesheet: Keyframe size can be adjusted as part of theme settings

This commit introduces a scale factor setting for scaling all keyframe indicators
in the Dopesheet Editor up/down, in order to make them easier to select. It is perhaps
most useful for keyframe types which are usually indicated using smaller keyframes
(e.g. breakdown), which may get tricky to quickly select.
Revision fab4b90 by Joshua Leung
July 7, 2016, 13:47 (GMT)
NLA: Indicate position of action-local markers on strips

To make it easier to synchronise timing across multiple strips, if you add
markers locally to an action, these will show up in the NLA strip in the
NLA Editor. These markings can then be used to line up the start/end of
another strip, or even to make sure that the markers from two different
strips end up lining up.

By default, this is turned on, but it can be disabled (via the View menu)
if it adds too much visual noise.
July 7, 2016, 13:07 (GMT)
Fix (unreported) crash when remapping armatures.

Objects' Pose holds references to the armature bones, so we have to force POSE_RECALC in those cases...
July 7, 2016, 06:36 (GMT)
Outliner: Match search length w/ id name length
July 7, 2016, 06:27 (GMT)
writefile: call undo flush after writing the windowmanager

Data here is constantly changing, avoids outliner data being included in those changes for undo.
July 7, 2016, 06:10 (GMT)
Cleanup: move write flush into its own function

No point passing dummy args to existing function, split out logic instead.

Also add flush after writing mesh data too.
July 7, 2016, 05:48 (GMT)
Fix memory leak switching sculpt mode + dyntopo

Auto-enabling dyntopo w/ mode switching leaked memory when undo was used.
July 7, 2016, 05:24 (GMT)
Transform Snap: fix vert & edit object in ortho view

The callback used in `BLI_bvhtree_find_nearest_to_ray` was wrong and could result in crash.

Also de-duplicate vert/edge logic.
July 6, 2016, 19:57 (GMT)
Fix failing script_load_addons test after recent code cleanup.
July 6, 2016, 15:39 (GMT)
Cycles tests: Don't create fail file on idiff warning
July 6, 2016, 15:16 (GMT)
Revert rB961ebfa8c40b9909 - do not set Main's versions directly in do_versions().

This breaks any post-versionning (like IPO conversion, python handler, etc.).

rB961ebfa8c40b9909 mentions some Main being do_versionned several times (which is not desired for sure),
will try to reproduce again and find another fix.
July 6, 2016, 14:32 (GMT)
Fix Python API error message (do_unlink, instead of unlink)
July 6, 2016, 13:28 (GMT)
writefile: add flushes

Flush on grease pencil and data with image preview or packed data.
July 6, 2016, 13:07 (GMT)
writefile: avoid adding SDNA to every undo step

Since SDNA was allocated for each undo step,
the new address meant it was considered different and included again.

Add an option not to duplicate the DNA string when calling DNA_sdna_from_data,
as well as avoiding a redundant copy, it writes the same address each time.
July 6, 2016, 12:45 (GMT)
Fix memleak with recent Outliner writefile changes.
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021