Blender Git Loki

Kaikki Blender Git kommitit.

Page: 4958 / 8462

March 28, 2015, 12:39 (GMT)
Nla Strip Curves: This works with anim channel rearranging tools now
March 28, 2015, 12:39 (GMT)
Nla Strip Curves: Getting more stuff working

* Clicking anywhere on the expander collapses it (like for the gpencil one)
* Deleting these curves works now (but has the side effect of turning off
the animated influence/time options too, as it is assumed that when those
are enabled there is a corresponding fcurve)
March 28, 2015, 12:39 (GMT)
Nla Strip Controls: Added special FCurve type (in the animfiltering code)

Using the standard "FCurve" animchannel type didn't work that well for
the control FCurves on NLA Strips, as the paths would not resolve correctly,
and the indentation was wrong. Also, there would likely be issues down the
track with applying NLA mapping. Hence, it's easier to just create a separate
type for this case, and adapt the rest of the code to also consider these (todo).
March 28, 2015, 12:39 (GMT)
Nla Strip Controls: Added dedicated "Expander" channel to Action/Graph Editors

The "Nla Strip Controls" channel is used to house the per-strip
FCurves for controlling the strip_time and influence properties.
It sits above the active action's first group, at the same level
in the hierarchy as other groups.

TODO: It looks like a dedicated FCurve channel is needed for these
control FCurves, so that we won't accidentally apply NLA mapping
or have these FCurves disabled by the path lookups failing.
March 28, 2015, 12:39 (GMT)
Fix for various small issues which may cause crashes
March 28, 2015, 12:39 (GMT)
Compile fix

New parameter added by these fixes did not exist when this call got added
March 28, 2015, 12:39 (GMT)
Fix for earlier commit - Turning off "animated" influence/time didn't work

Reshuffled order that in which NLA Strip's F-Curves vs its automatic settings are
evaluated so that the automatic settings can always override the custom settings,
since it's not that easy to get things working correctly the other way around.
March 28, 2015, 12:39 (GMT)
Keyframes on NLA-Strip F-Curves are detected by RNA buttons too
March 28, 2015, 12:39 (GMT)
Code Cleanup / Preemptive Bug Fixing: "action" parameter may get set when it shouldn't be

Logically, it makes sense that this parameter only gets used to describe the action
that the F-Curve actually belongs to (if it belongs to one). Otherwise, it should not
be set at all.
March 28, 2015, 12:39 (GMT)
Fix T36385: Animated Strip-Time doesnt update

This commit implements proper evaluation + keyframing support for animating influence
and time on NLA Strips (among other properties) by resolving a few long standing issues
which prevented the original design for this from working.

The original design for animating these properties (and/or some of the other settings
on NLA Strips) is that NLA Strips actually have some of their own F-Curves that are
used for animating settings which will affect how they are evaluated. As seen in this
bug report, the alternative of having these animated as part of the stack (which the
strips work above/outside/on-top of) means that glitches can occur.

Although one of the original considerations for why this wasn't implemented earlier
was that introducing keyframes there isn't so clean cut, and causes UI design issues
for how we expose these via the animation editors for editing (NOTE: support for that
is still to come). Another concern is that this sets a precedent for how FModifiers
might get evaluated.
March 28, 2015, 10:48 (GMT)
Fix T44068: "Layered" option for auto keyframing doesn't "Insert Available Only" is enabled

The "Layered" option for auto keyframing will create a new NLA strip if playback
reaches the end of the frame range and jumps back again. The idea is that instead
of overwriting the keyframes you've already made, it will make a new animation
layer. However, this does not work with the "Insert Available Only" option
(which can either be set in the User Prefs, or in the active keyingset), as that
option needs some existing FCurves to tell what it can insert keyframes into.

The "fix" here is to simply not show the offending button in situations where it
cannot be used!
March 28, 2015, 10:23 (GMT)
Bugfix: Fix for crash when trying to create new action in Shape Key DopeSheet mode

When the active object had no shapekey data, trying to create a new action from the
Shape Keys mode of the DopeSheet would crash. The segfault here was a silly regression
caused by my earlier Action Stashing work.

However, the old (pre-Action Stashing) code here also wasn't that great either.
While it didn't crash, it would still silently create a new action, even if that
could not get assigned/used anywhere. To prevent both of these problems from
happening again, I've added additional null checks, as well as beefing up the poll
callback here to forbid keyframing
March 28, 2015, 08:33 (GMT)
new draw path for Mesh & Camera objects

Used only when �??new viewport�? pref is checked, so we can switch back &
forth for comparison.

Camera because it�??s simple �?? scoped some vars, removed an extra line
segment, touch back face cull state only when needed.

Mesh because it�??s interesting �?? very little difference, just factored
out edit mesh drawing & touch back face cull state only when needed.

Also added (temporary) call graph tracing, to help me make sense of the
object drawing logic.

More to come for these object types, will run with these and add more
object types later. Not using our new APIs yet but that is the goal.
March 27, 2015, 21:23 (GMT)
Merge branch 'master' into asset-experiments
March 27, 2015, 21:05 (GMT)
WIP cache system for filebrowser entries.

Core part seems to be working, but this is still heavy WIP, much to do
to resume complete features from existing code. Mainly:

* Previews (those should only be ran on cached items now).
* Use block-caching to load in-display entries.
* Rework things like selection (cannot store selected states in entires anymore).

Also, internal listing is stupid currently (since it still stores everything
as FileDirEntry & co), not really crucial currently, but ultimately it'll
use its own, compact struct to keep full listing!

Also did some minor cleanup/renaming.
March 27, 2015, 19:46 (GMT)
Tracking: Code cleanup, missing break statements
March 27, 2015, 19:34 (GMT)
Freestyle: Code cleanup, silence warning in release mode
March 27, 2015, 19:28 (GMT)
Cycles: Code cleanyp, sky model

For as long as code stays in official folders it should follow
our code style.
March 27, 2015, 19:15 (GMT)
Cycles: Code cleanup, spaces around keywords

This inconsistency drove me totally crazy, it's really confusing
when it's inconsistent especially when you work on both Cycles and
Blender sides.

Shouldn;t cause merge PITA, it's whitespace changes only, Git should
be able to merge it nicely.
March 27, 2015, 17:12 (GMT)
Cleanup: win32 mixed declare/statements in main()

Make it a more clear where declarations end
(ifdef's all over made it a bit confusing).
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021