Blender Git Loki

Blender Git "depsgraph_refactor" branch commits.

Page: 13 / 59

January 7, 2015, 11:39 (GMT)
Depsgraph: WIP cleanups in preparation for reworking how geometry rels get added

* Moved geometry uberdata node creation to obdata_geom handling. It's not needed
for lamps/cameras, while geometry covers mesh/curve/lattice already.
January 7, 2015, 09:16 (GMT)
Depsgraph: Fix missing argument in debug print
January 6, 2015, 12:09 (GMT)
Fix for compiler error with mingw64 about inlining functions with variadic args

Patch by Sergey
January 5, 2015, 18:27 (GMT)
Depsgraph: Add debug print to DEG_id_tag_update_ex

Not as if it's something super-informative, but handy to have.

And allowed to know for sure if some missing updates is a result of
missing update tag or issues with partial updates.
January 5, 2015, 18:18 (GMT)
Depsgraph: Move debug prints into G_DEBUG_DEPSGRAPH check

The idea is the following:

- All debug prints in depsgraph/ now uses dag_debug_printf,
which takes care of checking debug flags.

- This function is only intended to be used for informative prints,
all the error messages (like missing node when adding relation)
are still to be done inconditionally to stderr.
January 5, 2015, 17:41 (GMT)
Depsgraph: Suppress release build warning
January 5, 2015, 17:04 (GMT)
Depsgraph: Use spin lock in DepsgraphDebug

Amount of oepration was really small so using mutex was a total overkill.

On the other hand, this code didn't really run on normal scene update
(which i understood after doing the changes..) so it's not like you can
expect any visible changes from this. More like "nice to have".
January 5, 2015, 16:15 (GMT)
Depsgraph: Get rid of some changes in old depsgraph which are no longer needed
January 5, 2015, 16:14 (GMT)
Depsgraph: Code cleanup, whitespace and wrapping
January 5, 2015, 14:36 (GMT)
Merge branch 'master' into depsgraph_refactor
January 2, 2015, 13:56 (GMT)
Depsgraph: Fill in missing updateDepsgraph() callbacks for modifiers

Doesn't mean it's 100% working, but preliminary checks for most of the modifiers
seems to be fine. More intense testing is needed tho.
January 2, 2015, 12:37 (GMT)
Depsgraph: Fix some stupid issues

- Adding empty would crash.
This is because of missing ob->data NULL check in id type tagging.

- Fixed wrong assert statements in graph rebuild.

- Silenced error about using char for array indices.
Not sure why it's needed since chars are unsigned in blender any
way. Could be some mismatch in C++/C flags, need to investigate
further.
January 2, 2015, 12:23 (GMT)
Merge branch 'master' into depsgraph_refactor
January 2, 2015, 08:05 (GMT)
Depsgraph: Pole targets for IK constraints now work
January 2, 2015, 04:13 (GMT)
Depsgraph Fix: build_animdata() for relations was already called for obdata, so no need to repeat in build_rig()
January 2, 2015, 04:09 (GMT)
Depsgraph: Drivers on armature bones now have links to pose bone eval so that they cause updates
January 2, 2015, 03:50 (GMT)
Depsgraph: Fix for memory leak with unfreed links

Now that relations are back in the base node, relations should be freed in
the destructors for DepsNode instead of OperationDepsNode.

This fixes memory leaks when using links between IDDepsNodes and also for
TimeSourceDepsNodes
January 2, 2015, 03:40 (GMT)
Depsgraph ID Users: Order was inversed for the relationships added so far

It's important to remember here that relationships here mean "B is USED by A",
so doing the intuitive "A -> B" doesn't work out correctly
January 2, 2015, 03:38 (GMT)
Added "ID Users" depsgraph builder, for setting up links between ID datablocks

This is useful for one-to-many situations when building relationships between
operations, but is likely to come in handy for other parts of Blender later
on.

For example, when constructing drivers on armature bones, we don't have any easy
way of referring back to the object (and thus the pose bones) to make those
depend on these as well.

Just a few skeleton types have been implemented now.
January 2, 2015, 01:30 (GMT)
Resolve TODO: We can check for specific components by using the type instead of using strings
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021