Blender Git Loki

Kaikki Blender Git kommitit.

Page: 5578 / 8462

March 22, 2014, 09:57 (GMT)
Some function declarations which can be used outside the depsgraph code
to define relations.
March 22, 2014, 03:57 (GMT)
A few spelling fixes
March 22, 2014, 03:56 (GMT)
More driver linting messages - procedural animation and no-variables for average,etc.

Inspired by T39315, this commit adds a few more driver "linting" messages used for
providing users with tips on how to use drivers better. This time, we specifically
address 2 cases:

1) Drivers being abused for procedural animation, due to the misconception that
procedurally generating F-Curves using F-Modifiers means that drivers are needed
to wire such procedural motion-sources to properties.
2) Setting up Average/Sum/Min/Max driver types without any input variables - you can't
expect anything to happen (unless of course, your intention was to lock the property
to 0.0)
March 21, 2014, 19:34 (GMT)
Basic callback in ModifierTypeInfo for registering dependencies in the
new depsgraph.

For now this lives alongside the old callback until porting is complete
and the old callback can be removed.

The modifier cb uses a DepsNodeHandle symbolic type for representing the
current modifier node itself, so it doesn't get into conflict with the
actual DepsNode class. This will also incorporate a pointer to Depsgraph
and possibly other state info internally, so only a single handle
argument is needed.
March 21, 2014, 19:06 (GMT)
Possible fix for T39330 period key is ignored in transform operations

Not 100% certain if this fixes, I will ask the user to verify through
buildbot.
March 21, 2014, 18:37 (GMT)
Fix T39279 Vertex paint modes do not work well with mirror modifier

Issue here is that coordinates used for projection would not fit the
closest candidate. So it was possible to paint against the mirrored part
of the mesh, which would get clipped on reprojection.

Fix avoids reprojection by storing squared distance, and screen space
coordinates, which we will need again later anyway. Also we now always
paint against the closest vertex always. This is ensured because squared
distances for uninitialized vertices will be MAXFLOAT, thus failing the
strength test.
March 21, 2014, 18:21 (GMT)
Made a new public header DEG_depsgraph_build.

This will contain all necessary API for _building_ the depsgraph, such
as the main scene->depsgraph update functions and specialized functions
e.g. for modifier dependencies.
March 21, 2014, 17:49 (GMT)
Moved graphviz debugging code into a new file depsgraph_debug.cpp to
keep the query API file clean.
March 21, 2014, 17:14 (GMT)
Removed leftover next/prev pointers from disused ListBase.
March 21, 2014, 17:12 (GMT)
Removed copy function for relations.

This was not used, and it doesn't make much sense because one would
have to manually modify a copy after creating it, avoiding all the
pitfalls. Relations should just be deleted and replaced by creating a
new relation instead.
March 21, 2014, 17:09 (GMT)
Some fixes and cleanup to allocating and freeing DepsRelations.

(Un-)Registering of relations in node inlinks/outlinks now happens in
constructor/destructor. Eventually it may be preferable to manage
relations in a central mempool in the Depsgraph instead of using shared
ownership in both from and to node.
March 21, 2014, 16:46 (GMT)
Compile fix for Windows, M_PI was undefined.
March 21, 2014, 16:22 (GMT)
Cycles Standalone: Support for relative paths and string OSL parameters.

Patch by John Haddon.
Differential Revision: https://developer.blender.org/D418
March 21, 2014, 14:32 (GMT)
Forgot to remove test printf
March 21, 2014, 14:27 (GMT)
Sculpt: Fix non openMP threads not set correct and use optimal omp threadcount for OSX
- i empirically found that using HT just gives overhead, even possibly slowing things down
- i propose other OS test this too again
- switching threaded on/off did not restored single threaded case ( credits to Sergey )
March 21, 2014, 14:17 (GMT)
Fix T39323: Animation playback is not synchronized when Screen Layout changes.

Own regression in rBd2a5ea04ed84.

This commit should be included if we do a 2.70 'a' release.
March 21, 2014, 14:00 (GMT)
Patch T22084: Robert Penner Easing Equations for FCurves

This commit introduces support for a number of new interpolation types
which are useful for motion-graphics work. These define a number of
"easing equations" (basically, equations which define some preset
ways that one keyframe transitions to another) which reduce the amount
of manual work (inserting and tweaking keyframes) to achieve certain
common effects. For example, snappy movements, and fake-physics such
as bouncing/springing effects.

The additional interpolation types introduced in this commit can be found
in many packages and toolkits (notably Qt and all modern web browsers).
For more info and a few live demos, see [1] and [2].


Credits:
* Dan Eicher (dna) - Original patch
* Thomas Beck (plasmasolutions) - Porting/updating patch to 2.70 codebase
* Joshua Leung (aligorith) - Code review and a few polishing tweaks

Additional Resources:
[1] http://easings.net
[2] http://www.robertpenner.com/easing/
March 21, 2014, 13:07 (GMT)
Use the new BKE_libblock_copy_nolib function for bNodeTree datablocks
as well.

These were already doing the same thing, just not as nice. Only
difference is the do_action argument (false for BKE_libblock_copy_nolib)
but this is of no consequence because the function is only called for
trees nested inside material, scene, etc., which never have own actions.
March 21, 2014, 12:50 (GMT)
Fix T39209: Localizing materials could cause heisenbug with concurrent
depsgraph updates.

Material datablocks were localized by first making a regular datablock
copy, which always gets inserted into the bmain list, and then removing
it again from bmain.

Problem is that this localization happens in preview threads, which can
run while the depsgraph is also updating GPU materials. In case the
copying of materials takes any amount of time, this can cause the
depsgraph call to material_changed to use an invalid, localized material
and access invalid GPUMaterial lists which have already been freed for
the actual material.

Solution is to not add localized datablocks to the bmain lists in the
first place. bmain should be totally immutable during preview or render
threads.
March 21, 2014, 11:30 (GMT)
Fix T39312 Multipling two values in the Transform Tools Number Input not possible.

There was actually a few bugs in new event handling of numinput :/

In case of 2.70 'a' release, this commit should be considered imho.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021